In ACOS 5.2.1-p2, ACOS provide VCS handshaking status information in vcs summary. Therefore, a10-octavia can use this to check if VCS handshaking is ready. And following a10-octavia operations on vThunders will not be overwrite or removed by VCS reload or configuration merging.
Description
a10-octavia side changes: https://github.com/a10networks/a10-octavia/pull/466
Jira Ticket
https://a10networks.atlassian.net/browse/STACK-2322 https://a10networks.atlassian.net/browse/STACK-2609
Technical Approach
In ACOS 5.2.1-p2, ACOS provide VCS handshaking status information in vcs summary. Therefore, a10-octavia can use this to check if VCS handshaking is ready. And following a10-octavia operations on vThunders will not be overwrite or removed by VCS reload or configuration merging.
Config Changes
Test Cases
stack@openstack-4:~/source/a10-octavia/vThunder$ openstack loadbalancer list +--------------------------------------+------+----------------------------------+----------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------+----------------------------------+----------------+---------------------+----------+ | 1cdc1d6d-ddcf-4943-a742-ebe41778bd04 | vip1 | 99c9c2304f114685a32db30769c8a7e2 | 192.168.91.179 | ACTIVE | a10 | | f244c6ee-fa84-4c73-812d-283a7b5944ed | vip2 | 99c9c2304f114685a32db30769c8a7e2 | 192.168.91.65 | ACTIVE | a10 | +--------------------------------------+------+----------------------------------+----------------+---------------------+----------+
vThunder-Active-vMaster1/1#show running-config !Current configuration: 744 bytes !Configuration last updated at 10:03:03 IST Thu Jul 8 2021 !Configuration last saved at 10:03:07 IST Thu Jul 8 2021 !64-bit Advanced Core OS (ACOS) version 5.2.1-p2, build 112 (Jul-06-2021,22:29) ! vrrp-a common device-id 1 set-id 1 enable ! device-context 1 vcs enable ! device-context 2 vcs enable ! vcs floating-ip 192.168.0.100 255.255.255.0 vcs failure-retry-count forever ! vcs device 1 priority 200 interfaces management enable ! vcs device 2 priority 100 interfaces management enable ! ! device-context 1 interface management ip address dhcp ! device-context 2 interface management ip address dhcp ! interface ethernet 1/1 name DataPort enable ip address dhcp ! interface ethernet 2/1 name DataPort enable ip address dhcp ! vrrp-a vrid 0 floating-ip 192.168.91.59 ! health monitor octavia_health_monitor retry 5 override-ipv4 10.64.28.68 override-port 5550 interval 5 timeout 3 method udp port 5550 ! slb server octavia_health_manager_controller 10.64.28.68 health-check octavia_health_monitor ! slb virtual-server 1cdc1d6d-ddcf-4943-a742-ebe41778bd04 192.168.91.179 ! slb virtual-server f244c6ee-fa84-4c73-812d-283a7b5944ed 192.168.91.65 ! ! cloud-services meta-data enable provider openstack ! end !Current config commit point for partition 0 is 0 & config mode is classical-mode
vThunder-Standby-vBlade1/2#show running-config !Current configuration: 744 bytes !Configuration last updated at 10:03:03 IST Thu Jul 8 2021 !Configuration last saved at 09:56:45 IST Thu Jul 8 2021 !64-bit Advanced Core OS (ACOS) version 5.2.1-p2, build 112 (Jul-06-2021,22:29) ! vrrp-a common device-id 2 set-id 1 enable ! device-context 1 vcs enable ! device-context 2 vcs enable ! vcs floating-ip 192.168.0.100 255.255.255.0 vcs failure-retry-count forever ! vcs device 1 priority 200 interfaces management enable ! vcs device 2 priority 100 interfaces management enable ! ! device-context 1 interface management ip address dhcp ! device-context 2 interface management ip address dhcp ! interface ethernet 1/1 name DataPort enable ip address dhcp ! interface ethernet 2/1 name DataPort enable ip address dhcp ! vrrp-a vrid 0 floating-ip 192.168.91.59 ! health monitor octavia_health_monitor retry 5 override-ipv4 10.64.28.68 override-port 5550 interval 5 timeout 3 method udp port 5550 ! slb server octavia_health_manager_controller 10.64.28.68 health-check octavia_health_monitor ! slb virtual-server 1cdc1d6d-ddcf-4943-a742-ebe41778bd04 192.168.91.179 ! slb virtual-server f244c6ee-fa84-4c73-812d-283a7b5944ed 192.168.91.65 ! ! cloud-services meta-data enable provider openstack ! end !Current config commit point for partition 0 is 0 & config mode is classical-mode