-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened:
errros when deploy broker using subctl (version: 0.10.1)
E1119 01:53:34.223223 1 controller.go:267] controller-runtime/manager/controller/broker "msg"="Reconciler error" "error"="invalid GlobalnetCidrRange: invalid CIDR address: " "name"="submariner-broker" "namespace"="submariner-operator" "reconciler group"="submariner.io" "reconciler kind"="Broker"
when globalnet is desabled, globalnetInfo.GlobalnetCidrRange is empty,
when check net.parse(), it reports an error
if globalnetInfo != nil {
if err = IsValidCIDR(globalnetInfo.GlobalnetCidrRange); err != nil {
return fmt.Errorf("invalid GlobalnetCidrRange: %s", err)
}
}
What you expected to happen:
the error not occurs again.
How to reproduce it (as minimally and precisely as possible):
subctl deploy-broker
Anything else we need to know?:
Environment:
- Diagnose information (use
subctl diagnose all): - Gather information (use
subctl gather) - Cloud provider or hardware configuration:
- Install tools:
- Others:
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working