When machines have no default route, Kubernetes service IPs are unreachable with "network is unreachable"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
We did the airgap deployment and deployment was fine no error in juju status and images were pulled. But none of the pods can reach to cluster API.
2021-02-11 00:32:09.266 [INFO][1] main.go 87: Loaded configuration from environment config=
I0211 00:32:09.267422 1 client.go:352] parsed scheme: ""
I0211 00:32:09.267439 1 client.go:352] scheme "" not registered, fallback to default scheme
I0211 00:32:09.267474 1 passthrough.go:48] ccResolverWrapper: sending new addresses to cc: [{10.77.
I0211 00:32:09.267547 1 asm_amd64.s:1337] balancerWrapper: got update addr from Notify: [{10.77.
W0211 00:32:09.281379 1 client_
I0211 00:32:09.281402 1 asm_amd64.s:1337] balancerWrapper: got update addr from Notify: [{10.77.195.77:2379 <nil>}]
2021-02-11 00:32:09.282 [INFO][1] main.go 108: Ensuring Calico datastore is initialized
2021-02-11 00:32:09.295 [INFO][1] watchersyncer.go 89: Start called
2021-02-11 00:32:09.296 [INFO][1] watchersyncer.go 127: Sending status update Status=
2021-02-11 00:32:09.296 [INFO][1] main.go 182: Starting status report routine
2021-02-11 00:32:09.296 [INFO][1] node_syncer.go 39: Node controller syncer status updated: wait-for-ready
2021-02-11 00:32:09.296 [INFO][1] main.go 364: Starting controller ControllerType=
2021-02-11 00:32:09.296 [INFO][1] watchersyncer.go 147: Starting main event processing loop
2021-02-11 00:32:09.296 [INFO][1] main.go 364: Starting controller ControllerType=
2021-02-11 00:32:09.296 [INFO][1] namespace_
2021-02-11 00:32:09.296 [INFO][1] main.go 364: Starting controller ControllerType=
2021-02-11 00:32:09.296 [INFO][1] main.go 364: Starting controller ControllerType=
2021-02-11 00:32:09.296 [INFO][1] policy_
2021-02-11 00:32:09.296 [INFO][1] main.go 364: Starting controller ControllerType=
2021-02-11 00:32:09.296 [INFO][1] serviceaaccount
2021-02-11 00:32:09.297 [INFO][1] pod_controller.go 196: Starting Pod/WorkloadEnd
2021-02-11 00:32:09.297 [INFO][1] node_controller.go 133: Starting Node controller
I0211 00:32:09.297561 1 client.go:352] parsed scheme: ""
E0211 00:32:09.297564 1 reflector.go:125] <email address hidden>
I0211 00:32:09.297590 1 client.go:352] scheme "" not registered, fallback to default scheme
I0211 00:32:09.297629 1 passthrough.go:48] ccResolverWrapper: sending new addresses to cc: [{10.77.
E0211 00:32:09.297734 1 reflector.go:125] <email address hidden>
I0211 00:32:09.297770 1 asm_amd64.s:1337] balancerWrapper: got update addr from Notify: [{10.77.
E0211 00:32:09.297960 1 reflector.go:125] <email address hidden>
E0211 00:32:09.298034 1 reflector.go:125] <email address hidden>
2021-02-11 00:32:09.299 [INFO][1] watchercache.go 289: Sending synced update ListRoot=
2021-02-11 00:32:09.299 [INFO][1] watchersyncer.go 127: Sending status update Status=resync
2021-02-11 00:32:09.299 [INFO][1] node_syncer.go 39: Node controller syncer status updated: resync
2021-02-11 00:32:09.299 [INFO][1] watchersyncer.go 209: Received InSync event from one of the watcher caches
2021-02-11 00:32:09.299 [INFO][1] watchersyncer.go 221: All watchers have sync'd data - sending data and final sync
2021-02-11 00:32:09.300 [INFO][1] watchersyncer.go 127: Sending status update Status=in-sync
2021-02-11 00:32:09.300 [INFO][1] node_syncer.go 39: Node controller syncer status updated: in-sync
2021-02-11 00:32:09.301 [ERROR][1] main.go 233: Failed to reach apiserver error=<nil>
E0211 00:32:09.301935 1 reflector.go:125] <email address hidden>
summary: |
- Failed to list *v1.NetworkPolicy: network is unreachable + When machines have no default route, Kubernetes service IPs are + unreachable with "network is unreachable" |
Changed in charm-kubernetes-master: | |
status: | Incomplete → New |
attaching the juju crash dump.