[1.21] Kubernetes-masters on OpenStack using the integrator charm stuck in waiting for system pods on unsupported loadbalancer type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack Integrator Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Bundle: https:/
Status: https:/
Crashdump attached below.
Using the linked bundle a 1.21 kubernetes cluster was deployed on a Bionic Ussuri OpenStack with OVS networking. The integrator charm is configured with the correct network ids (post deployment) and has trust in juju. The relations are to the k8s master and worker units as we would have used in 1.20.
In this deployment the k8s-masters are waiting on 5 cubesystem pods to start, 3 of which are in crashloop backoff:
$ kubectl get po -n kube-system
NAME READY STATUS RESTARTS AGE
calico-
coredns-
csi-cinder-
csi-cinder-
csi-cinder-
csi-cinder-
kube-state-
metrics-
openstack-
openstack-
openstack-
and checking into the openstack-
$ kubectl logs -n kube-system openstack-
...
I0429 19:09:01.931787 1 serving.go:331] Generated self-signed cert in-memory
W0429 19:09:03.021162 1 client_
W0429 19:09:03.027716 1 openstack.go:302] failed to read config: Unsupported LoadBalancer Provider: haproxy
F0429 19:09:03.027761 1 main.go:107] Cloud provider could not be initialized: could not init cloud provider "openstack": Unsupported LoadBalancer Provider: haproxy
...
My first theory was the integrator/master loadbalancer relation was missing, however upon adding it the charm goes into an error state:
$ juju status openstack-
...
openstack-
canonical-
filebeat/6 active idle 10.244.32.247 Filebeat ready.
ntp/6 active idle 10.244.32.247 123/udp chrony: Ready
telegraf/6 active idle 10.244.32.247 9103/tcp Monitoring openstack-
...
And in the charm logs:
$ less /var/log/
...
2021-04-29 19:12:02 WARNING loadbalancer-
2021-04-29 19:12:02 WARNING loadbalancer-
'Permission denied'), ('BIO routines', 'BIO_new_file', 'system lib'), ('x509 certificate routines', 'X509_load_
2021-04-29 19:12:03 DEBUG jujuc server.go:211 running hook tool "juju-log" for openstack-
2021-04-29 19:12:03 ERROR juju-log loadbalancer:93: Hook error:
Traceback (most recent call last):
File "/var/lib/
bus.
File "/var/lib/
_invoke(
File "/var/lib/
handler.
File "/var/lib/
self.
File "/var/lib/
lb = layer.openstack
File "lib/charms/
subnet = config['lb-subnet'] or _default_
File "lib/charms/
for subnet_info in _openstack(
File "lib/charms/
output = _run_with_
File "lib/charms/
result = subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
...
The charm is attempting to reach the neutron endpoint but fails.
At his point I'm stumped.
Tagging this with field-critical. We cannot validate kubernetes on openstack for either our stable testing or any kubernetes or openstack release testing without this functionality.