Update in openstack-integrator charm options do not rollout openstack-cloud-controller-manager pods
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kubernetes Control Plane Charm |
Triaged
|
Medium
|
Cory Johns |
Bug Description
Modifying openstack-
Steps to reproduce:
1. Deploy k8s using Charmed kubernetes
By default, openstack-
2. Update the manage-
juju config openstack-
3. Wait for the juju units to be back to idle
4. Check the k8s secret cloud-config is updated with the new option
kubectl -n kube-system get secret cloud-config -o json | jq .data[] | tr -d '"' | base64 -d
5. Check if the openstack-
kubectl -n kube-system get po | grep openstack-
So the configuration is set to the necessary secret file but as the pod is not restarted the modified configuration is not effective.
Verified this with deploying a Loadbalancer service, security groups to allow traffic between LB Amphora VM and k8s worker nodes are not created.
Manually rolling out the openstack-
kubectl -n kube-system rollout restart ds/openstack-
tags: | added: seg |
description: | updated |
Changed in charm-kubernetes-master: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in charm-kubernetes-master: | |
assignee: | nobody → Cory Johns (johnsca) |
summary: |
- Update in openstack-integrator charm option manage-security-group does - not rollout openstack-cloud-controller-manager pods + Update in openstack-integrator charm options do not rollout openstack- + cloud-controller-manager pods |
I should note that the documentation for manage- security- groups [1] states that it is ignored for Octavia so it doesn't seem like this is actually an issue with the configuration not being applied. In a related bug [2], the thinking was that the integrator charm would specifically need to create SG rules to allow NodePort ingress from within the subnet but this seems to indicate that simply restarting the openstack- cloud-controlle r-manager services might fix it, and another issue that's been opened [3] seems to indicate that perhaps the SG rules out to be unnecessary regardless.
[1]: https:/ /github. com/kubernetes/ cloud-provider- openstack/ blob/master/ docs/using- openstack- cloud-controlle r-manager. md#load- balancer /bugs.launchpad .net/charm- kubernetes- master/ +bug/1884995 /bugs.launchpad .net/charm- openstack- integrator/ +bug/1893512
[2]: https:/
[3]: https:/