Changes to openstack cloud-config secret have no effect

Bug #1869663 reported by Stamatis Katsaounis
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Triaged
Medium
Unassigned

Bug Description

I have a deployed charmed-kubernetes cluster with openstack-integrator.

I edited floating-network-id after the deployment. The option is written successfully into cloud-config secret inside kubernetes kube-system namespace.

But the load-balancers created after my change ignore it. They try to use the first available floating network which is different than the one provided to floating-network-id.

I tried to restart kube-controller-manager services and their nova instances as well but they seem to ignore this option.

I suspect that updating the cloud-config on relation-changed hooks from openstack-integrator is not enough. Cloud config needs to be loaded again somehow.

Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

More details from chat in Slack:

Stamatis Katsaounis 11 minutes ago
the cloud-config secret is updated by the kubernetes-master, but the openstack-cloud-controller-manager pod seems to ignore it, that's why I have the error in this launchpad bug

tvansteenburgh 10 minutes ago
And you've tried restarting that pod?

Stamatis Katsaounis 9 minutes ago
I did that kind of trials with tenant-domain-name today. I found out that to make it work I have to edit the deployment to add something arbitrary to make the pods become recreated

tvansteenburgh 8 minutes ago
So just deleting the pod and letting it be recreated doesn't work?

Stamatis Katsaounis 8 minutes ago
and this one worked. Before that, I deleted a pod without changing the deployment but the subtitution did not have the new cloud-config secret.

Changed in charm-kubernetes-master:
status: New → Triaged
importance: Undecided → Medium
summary: - kube scheduler ignores changes to cloud-config secret
+ Changes to openstack cloud-config secret have no effect
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.