k8s workers are failling to connect to k8s master during kube-api-endpoint-changed hook
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Worker Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Deploying a bare metal k8s with ha cluster for kubernets master. The deployment sets the vip for k8s master, and the kubernetes-
The error came to light when the test_dns_provider also got an unauthorized trying to connect to the loadbalancer-ip.
Is it possible that the ip moved hosts, and the generated certificate from vault was no longer valid?
The logs for the run can be found:
https:/
and the crashdump at:
https:/
Some snippets from the k8s worker logs:
2021-06-21 10:18:20 WARNING unit.kubernetes
2021-06-21 10:18:21 WARNING unit.kubernetes
2021-06-21 10:12:26 WARNING unit.kubernetes
2021-06-21 10:12:27 WARNING unit.kubernetes
and test_dns_provider with:
ERROR failed to open kubernetes client: unable to determine legacy status for namespace kubernetes-k8s: Get "https:/