Hi Team,
I have deployed the Ubuntu OpenStack Yoga version with the Octavia load balancer. By default, the LB management network is IPv6. LB provisioning status is Error
due to the below error. Is it a bug or have I missed some configuration?
Error from /var/log/octavia/octavia-worker.log
2023-09-07 13:50:10.835 187596 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to instance. Retrying.: requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='fc00:158f:84b2:5bb9:f816:3eff:fec2:f536', port=9443): Max retries exceeded with url: // (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7feeac481400>, 'Connection to fc00:158f:84b2:5bb9:f816:3eff:fec2:f536 timed out. (connect timeout=10.0)'))
2023-09-07 13:50:15.865 187596 WARNING octavia.controller.worker.v2.controller_worker [-] Task 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-amp-compute-connectivity-wait' (8d2f480a-8e8e-4992-b5ca-648615dd7104) transitioned into state 'REVERTED' from state 'REVERTING'
2023-09-07 13:50:25.924 187596 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to instance. Retrying.: requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='fc00:158f:84b2:5bb9:f816:3eff:fec2:f536', port=9443): Max retries exceeded with url: // (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7feeac3bc310>, 'Connection to fc00:158f:84b2:5bb9:f816:3eff:fec2:f536 timed out. (connect timeout=10.0)'))
2023-09-07 13:50:30.956 187596 WARNING octavia.controller.worker.v2.controller_worker [-] Task 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-amp-compute-connectivity-wait' (8d2f480a-8e8e-4992-b5ca-648615dd7104) transitioned into state 'REVERTED' from state 'REVERTING'
2023-09-07 13:50:41.009 187596 WARNING octavia.amphorae.drivers.haproxy.rest_api_driver [-] Could not connect to instance. Retrying.: requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='fc00:158f:84b2:5bb9:f816:3eff:fec2:f536', port=9443): Max retries exceeded with url: // (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7feeac3bcaf0>, 'Connection to fc00:158f:84b2:5bb9:f816:3eff:fec2:f536 timed out. (connect timeout=10.0)'))
2023-09-07 13:50:46.039 187596 WARNING octavia.controller.worker.v2.controller_worker [-] Task 'STANDALONE-octavia-create-amp-for-lb-subflow-octavia-amp-compute-connectivity-wait' (8d2f480a-8e8e-4992-b5ca-648615dd7104) transitioned into state 'REVERTED' from state 'REVERTING'
Octavia unit status:
root@staging-maas:~# juju status octavia/0
Model Controller Cloud/Region Version SLA Timestamp
openstack-staging maas-controller maas-one/default 2.9.44 unsupported 19:39:18+05:30
App Version Status Scale Charm Channel Rev Exposed Message
octavia 10.0.0 active 1 octavia yoga/stable 191 no Unit is ready
octavia-mysql-router 8.0.34 active 1 mysql-router 8.0/stable 90 no Unit is ready
octavia-ovn-chassis 22.03.2 active 1 ovn-chassis 22.03/stable 143 no Unit is ready
Unit Workload Agent Machine Public address Ports Message
octavia/0* active idle 1/lxd/9 10.90.5.100 9876/tcp Unit is ready
octavia-mysql-router/0* active idle 10.90.5.100 Unit is ready
octavia-ovn-chassis/0* active idle 10.90.5.100 Unit is ready
Machine State Address Inst id Series AZ Message
1 started 10.90.2.97 staging-controller-1 focal default Deployed
1/lxd/9 started 10.90.5.100 juju-c43860-1-lxd-9 focal default Container started
OpenStack network list:
[root@runner OPENSTACK]# openstack network list --insecure
+--------------------------------------+---------------+--------------------------------------+
| ID | Name | Subnets |
+--------------------------------------+---------------+--------------------------------------+
| 1b38fc28-d56c-49d8-97d3-27ad0f0ddedf | admin-private | 879ea6c2-d552-4d76-8b75-7de95da69f63 |
| 81ff05f8-6867-4295-bcde-66b7e6e7f4b8 | External | f500464a-401e-4a9a-8851-ba368a9e2abd |
| db6b82b0-ea1d-4c3d-b3c1-158f84b25bb9 | lb-mgmt-net | 2d73ea3a-e834-4774-9ea1-2d75ef890615 |
+--------------------------------------+---------------+--------------------------------------+
OpenStack LB management network info:
[root@runner OPENSTACK]# openstack network show db6b82b0-ea1d-4c3d-b3c1-158f84b25bb9 --insecure
+---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2023-09-07T08:44:29Z |
| description | |
| dns_domain | None |
| id | db6b82b0-ea1d-4c3d-b3c1-158f84b25bb9 |
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | None |
| is_vlan_transparent | None |
| location | cloud='', project.domain_id=, project.domain_name=, project.id='52c108594f7d40928a9263a411175123', project.name=, region_name='RegionOne', zone= |
| mtu | 1442 |
| name | lb-mgmt-net |
| port_security_enabled | True |
| project_id | 52c108594f7d40928a9263a411175123 |
| provider:network_type | geneve |
| provider:physical_network | None |
| provider:segmentation_id | 1391 |
| qos_policy_id | None |
| revision_number | 4 |
| router:external | Internal |
| segments | None |
| shared | True |
| status | ACTIVE |
| subnets | 2d73ea3a-e834-4774-9ea1-2d75ef890615 |
| tags | charm-octavia |
| updated_at | 2023-09-07T13:38:47Z |
+---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
OpenStack LB status:
[root@runner OPENSTACK]# openstack loadbalancer show 0f6958d0-82da-4772-8f7d-9d293818a787 --insecure
+---------------------+--------------------------------------+
| Field | Value |
+---------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone | None |
| created_at | 2023-09-07T13:20:21 |
| description | |
| flavor_id | None |
| id | 0f6958d0-82da-4772-8f7d-9d293818a787 |
| listeners | |
| name | raja123 |
| operating_status | OFFLINE |
| pools | |
| project_id | 722a251f2d024bb9af27cd462c91ac12 |
| provider | amphora |
| provisioning_status | ERROR |
| updated_at | 2023-09-07T13:51:17 |
| vip_address | 192.168.1.152 |
| vip_network_id | 1b38fc28-d56c-49d8-97d3-27ad0f0ddedf |
| vip_port_id | da1e840b-9349-4dad-8a05-910cd0e17f84 |
| vip_qos_policy_id | None |
| vip_subnet_id | 879ea6c2-d552-4d76-8b75-7de95da69f63 |
+---------------------+--------------------------------------+