Calico fails with "cni-relation-changed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calico Charm |
New
|
Undecided
|
Unassigned |
Bug Description
In testrun https:/
```
kubernetes-worker/1 active idle 1 10.244.8.132 80/tcp,443/tcp Kubernetes worker running (without gpu support).
calico/2 error idle 10.244.8.132 hook failed: "cni-relation-
containerd/2 active idle 10.244.8.132 Container runtime available
nrpe/7 blocked idle 10.244.8.132 Nagios server not configured or related
kubernetes-worker/2 active idle 2 10.244.8.129 80/tcp,443/tcp Kubernetes worker running.
calico/3 waiting idle 10.244.8.129 Waiting to retry disabling VXLAN TX checksumming
containerd/3 active idle 10.244.8.129 Container runtime available
nrpe/10 blocked idle 10.244.8.129 Nagios server not configured or related
```
In the calico logs we see:
```
unit-calico-2: 20:06:32 DEBUG unit.calico/
unit-calico-2: 20:06:32 WARNING unit.calico/
unit-calico-2: 20:06:33 DEBUG unit.calico/
unit-calico-2: 20:06:33 DEBUG unit.calico/
tracer: set flag calico.
tracer: ++ queue handler reactive/
tracer: ++ queue handler reactive/
tracer: -- dequeue handler reactive/
unit-calico-2: 20:06:33 INFO unit.calico/
unit-calico-2: 20:06:33 INFO unit.calico/
unit-calico-2: 20:06:41 ERROR unit.calico/
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
node = calicoctl_
File "/var/lib/
result = yaml.safe_
File "/var/lib/
return load(stream, SafeLoader)
File "/var/lib/
return loader.
File "/var/lib/
node = self.get_
File "/var/lib/
if not self.check_
File "/var/lib/
self.
File "/var/lib/
raise ParserError(None, None,
yaml.parser.
in "<byte string>", line 2, column 1:
apiVersion: projectcalico.
^
```
It looks like the calico get node output is different than expected, I'm not sure why this is happening.
Crashdumps and configs can be found here:
https:/
Looks like the same issue as https:/ /bugs.launchpad .net/charm- calico/ +bug/1990672. I've marked this as a duplicate.