[Yoga] Octavia's LB VIPs not working with allow-address-pairs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Invalid
|
Undecided
|
Unassigned | ||
charm-ovn-central |
Invalid
|
Undecided
|
Unassigned | ||
charm-ovn-chassis |
Invalid
|
Undecided
|
Unassigned | ||
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
Hi team,
I am currently deploying with:
juju 2.9.31
MAAS 3.1
openstack/yoga, bundle: https:/
Octavia: standalone setup
When I create a LB for my kubernetes cluster, I've noticed the LB is unresponsive if I try to reach out from one of my VMs.
I can access the LB and confirm the amphora-haproxy namespace exists, with the network interface attached and it has both LB IP and VIP configured to it
Trying to reach out to the LB from one of the k8s vms results in timeout.
I can see the behavior changes according to which IP I try to connect to on the LB.
In scenario (1): from the client VM > LB IP (not the VIP):
I can see the connection works, this is the ovs-ofctl on the hypervisor of the sending machine shows: https:/
Traffic gets correctly routed to one of the GENEVE tunnels, given the VM and the LB front end IP are placed in the same tenant subnet
In scenario (2): from the client VM > LB VIP (the address-pair):
I can see the connection does not work.
ovs-ofctl from the sending hypervisor shows: https:/
Traffic gets dropped from the sending hypervisor.
**** DETAILS OF MY CURRENT YOGA DEPLOYMENT ****
network openstack: https:/
server and LB list: https:/
port list: https:/
ovn-nbctl show: https:/
ovn-nbctl details of the VIP: https:/
*******
**** STEPS TO REPRODUCE ****
1) Deploy Openstack/Yoga with the bundle above
2) Create 2x backend nodes on a tenant network
3) Create an LB on the same tenant network
4) Access one of the backend nodes (or create a client VM for this test)
5) Try to reach to the LB: connection times out
*******
I can also confirm Octavia Amphora LB doesn't work as expected somehow only with Yoga deployment, but works with Xena or older deployments.
I'm following the OpenStack integration for k8s API endpoint. /ubuntu. com/kubernetes/ docs/openstack- integration# api-server- load-balancer
https:/
For both releases (Yoga and Xena), Octavia Apmhora LB gets ACTIVE and ONLINE.
$ openstack loadbalancer list --format yaml 216d-4ed2- a285-dd1c73e799 d1 integrator- dfb7e924f5f7- kubernetes- control- plane ea7aafa6cd59488 59 status: ACTIVE
- id: e6277cf5-
name: openstack-
operating_status: ONLINE
project_id: 8d38f13076ff4c6
provider: amphora
provisioning_
vip_address: 10.5.5.216
However, access to k8s API through Amphora works only with Xena deployment, but with Yoga deployment the connection times out.
### 192.168.151.52 is a FIP assigned to the LB /192.168. 151.52: 443/ 151.52: 443...
$ curl -vm 5 https:/
* Trying 192.168.
* TCP_NODELAY set
* Connection timed out after 5000 milliseconds
* Closing connection 0
curl: (28) Connection timed out after 5000 milliseconds
My test deployment is based on openstack-base + octavia overlay: /github. com/nobuto- m/quick- maas/blob/ 1a2f307c0c1efcc a88f0e8988f4696 7be5e024d0/ user-script. sh#L150
https:/