changing charm's subnet-id does not seem to take effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack Integrator Charm |
New
|
Undecided
|
Unassigned |
Bug Description
I deployed k8s 1.23 on openstack focal-ussuri without setting the floating-network-id or subnet-id values. After deployment of the charm/bundle, I updated the config with:
# Set to floating-
juju config openstack-
# Set to floating-
juju config openstack-
Then, I tried to create a k8s service of type LoadBalancer and received the following error in the service description:
Error syncing load balancer: failed to ensure load balancer: error creating LB floatingip: Resource not found: {"NeutronError": {"type": "ExternalGatewa
So to rectify the situation, I tried to update the charm's config again with:
# Set to tenant subnet
juju config openstack-
Then, I tried to create the k8s service of type LoadBalancer again and received the following error in the service description again:
Error syncing load balancer: failed to ensure load balancer: error creating LB floatingip: Resource not found: {"NeutronError": {"type": "ExternalGatewa
So it looks like changing the charm's subnet-
I was able to solve my problem by redeploying my bundle and having the floating-network-id and subnet-id preconfigured to the desired values but the charm should be able to update on demand.