setting floating-network-id has no impact on the subnet used for loadbalancer VIPs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openstack Integrator Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Using latest openstack-
I set the floating-network-id to our external network ID:
ubuntu@
c9f28ce7-
ubuntu@
+------
| ID | Name | Subnets |
+------
| c9f28ce7-
| ed4f3272-
| f7b047fa-
+------
ubuntu@
+------
| Field | Value |
+------
| admin_state_up | UP |
| availability_
| availability_zones | |
| created_at | 2021-03-
| description | |
| dns_domain | |
| id | c9f28ce7-
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | False |
| is_vlan_transparent | None |
| mtu | 1500 |
| name | provider-2734-net |
| port_security_
| project_id | 678e60a33ad14f3
| provider:
| provider:
| provider:
| qos_policy_id | None |
| revision_number | 2 |
| router:external | External |
| segments | None |
| shared | False |
| status | ACTIVE |
| subnets | e5b1a0b3-
| tags | |
| updated_at | 2021-03-
+------
ubuntu@
+------
| Field | Value |
+------
| allocation_pools | 10.244.
| cidr | 10.244.32.0/21 |
| created_at | 2021-03-
| description | |
| dns_nameservers | |
| dns_publish_
| enable_dhcp | False |
| gateway_ip | 10.244.32.1 |
| host_routes | |
| id | e5b1a0b3-
| ip_version | 4 |
| ipv6_address_mode | None |
| ipv6_ra_mode | None |
| name | provider-
| network_id | c9f28ce7-
| prefix_length | None |
| project_id | 678e60a33ad14f3
| revision_number | 0 |
| segment_id | None |
| service_types | |
| subnetpool_id | None |
| tags | |
| updated_at | 2021-03-
+------
However when I try to bootstrap into kubernetes using juju I get an address outside of that network (on the ubuntu-net in this case) and the bootstrap fails:
ubuntu@
+------
| id | name | project_id | vip_address | provisioning_status | operating_status | provider |
+------
| 594afb97-
+------
Further, setting both the floating-network-id and subnet-id to appropriate values doesn't have seem to have changed the result:
ubuntu@ production- cpe-21921d77- 8c0c-444a- a37a-3998839499 ee:~/project$ juju config -m foundation- openstack: kubernetes openstack- integrator subnet-id c34a-425e- a5be-e46dbe60e5 12
e5b1a0b3-
ubuntu@ production- cpe-21921d77- 8c0c-444a- a37a-3998839499 ee:~/project$ openstack loadbalancer list ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- ------+ ------- ------- ----+-- ------- -+ ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- ------+ ------- ------- ----+-- ------- -+ 5c8e-4e3d- bbf4-93c71dff91 0b | kube_service_ kubernetes- pbpdwh0lgfgtsv2 cu7fvvzwn7tk1fj fq_controller- foundations- k8s_controller- service | 678e60a33ad14f3 4811b287825ac40 16 | 172.16.0.210 | PENDING_CREATE | OFFLINE | amphora | ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----+-- ------- ------- ------- ------- ----+-- ------- -----+- ------- ------- ------+ ------- ------- ----+-- ------- -+
+------
| id | name | project_id | vip_address | provisioning_status | operating_status | provider |
+------
| 9f322137-
+------