test_status_messages fails waiting for one system pod however all pods are up/healthy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charmed Kubernetes Testing |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In this [0] test run (crashdump [1]) we see the test_status_
...
===Flaky Test Report===
test_status_
<class 'AssertionError'>
assert 'Waiting for ... pod to start' == 'Kubernetes master running.'
- Kubernetes master running.
+ Waiting for 1 kube-system pod to start
[<TracebackEntry /home/ubuntu/
...
However those pods are alive according to one k8s-master:
ubernetes-master/0* waiting idle 12 52.5.182.211 6443/tcp Waiting for 1 kube-system pod to start
...
kubernetes-master/1 active idle 13 3.80.166.226 6443/tcp Kubernetes master running.
...
K8s master-1 has the right info:
2021-05-13 06:59:25 INFO juju-log Checking system pods status: calico-
where as k8s-master-0 thinks it is still pending:
2021-05-13 06:59:37 INFO juju-log Checking system pods status: calico-
In the pod-logs there are no failures, so this looks like k8s-master-0 just has stale data.
0. https:/
1. https:/
Duplicate of LP:1923041