Monday, 2022-01-31

opendevreviewSusanta gautam proposed openstack/octavia master: Add simple notifications for load balancers  https://review.opendev.org/c/openstack/octavia/+/78462805:09
opendevreviewVishal Manchanda proposed openstack/octavia-dashboard master: Updating python testing classifier as per Yoga testing runtime  https://review.opendev.org/c/openstack/octavia-dashboard/+/82698605:12
opendevreviewSusanta gautam proposed openstack/octavia master: Add simple notifications for load balancers  https://review.opendev.org/c/openstack/octavia/+/78462808:06
zigoHi there! Your thoughts about the bug I just filled ?09:22
zigohttps://storyboard.openstack.org/#!/story/200981509:22
gthiemongezigo: Hi, thanks for reporting it10:00
gthiemongezigo: AFAIK there's a kind of lock for the LBs in Octavia (PENDING_* means the LB is busy), but Octavia doesn't it when rotating the certs10:04
gthiemongezigo: one question about your story: did you run a failover from the CLI that was denied because it happens when octavia tried to rotate the certs?10:05
zigogthiemonge: The cli reported an HTTP 409: the load balancer is ummutable.10:17
gthiemongezigo: if the CLI replied with 409, it means that you didn't trigger the failover. But if the amphora was not reachable, it is possible that the health-manager service triggered it10:21
opendevreviewTom Weininger proposed openstack/octavia-tempest-plugin master: Add tests for creating a fully populated LB  https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/82499910:55
opendevreviewTom Weininger proposed openstack/octavia master: Fix member DRAIN state  https://review.opendev.org/c/openstack/octavia/+/82689711:52
opendevreviewTom Weininger proposed openstack/octavia-dashboard master: Display Draining state correctly  https://review.opendev.org/c/openstack/octavia-dashboard/+/82690512:24
opendevreviewTom Weininger proposed openstack/octavia-dashboard master: Display Draining state correctly  https://review.opendev.org/c/openstack/octavia-dashboard/+/82690512:29
gthiemongeFYI stable/train, stable/ussuri, centos-8-stream & octavia-tempest-plugin jobs are failing because of a new pip issue14:34
opendevreviewTom Weininger proposed openstack/octavia-dashboard master: Display Draining state correctly  https://review.opendev.org/c/openstack/octavia-dashboard/+/82690515:42
*** tkajinam is now known as Guest130718:43
opendevreviewGregory Thiemonge proposed openstack/octavia master: Optimize DB object to provider dict conversions  https://review.opendev.org/c/openstack/octavia/+/82716919:17
opendevreviewGregory Thiemonge proposed openstack/octavia master: Remove incorrect info message  https://review.opendev.org/c/openstack/octavia/+/82717019:26
opendevreviewMerged openstack/octavia-lib master: Add "PROMETHEUS" protocol.  https://review.opendev.org/c/openstack/octavia-lib/+/81225720:30
michchapo/ hello! I'm seeing the issue described here https://bugs.launchpad.net/octavia/+bug/1841016 after upgrading from rocky to stein. If I create a new secgroup as the octavia user and set that in amp_secgroup_list then I can make new loadbalancers, but the old ones won't failover because the ports can't be connected I think due to the same issue. Does anyone know what I'm missing?21:43
johnsommichchap What error do you get in the worker log when you attempt a failover?22:09
michchapPlugNetworkException: Error plugging amphora (compute_id: b608c4b2-3048-41bb-937f-517beca43752) into port 4b8f152b-7356-4b19-9da8-5c3624f335fd.22:10
johnsomThere are not other related error messages there?22:10
michchapa little further up I see ERROR octavia.network.drivers.neutron.allowed_address_pairs BadRequest: Port 4b8f152b-7356-4b19-9da8-5c3624f335fd not usable for instance b608c4b2-3048-41bb-937f-517beca43752. (HTTP 400) (Request-ID: req-cf7d8a5e-68e3-4de7-9388-2a0319f56ff7)22:10
michchapwas there a change between rocky and stein regarding how the users/roles needed to be set up?22:11
johnsomHmm, that is a new one.22:11
johnsomNo22:11
michchapswapping the configured secgroup is probably not the right thing to do then22:12
johnsomWhat port is 4b8f152b-7356-4b19-9da8-5c3624f335fd22:12
michchap4b8f152b-7356-4b19-9da8-5c3624f335fd | octavia-lb-vrrp-ba8e835f-23fd-4ee8-a13d-3bcd4a50f7b7 | fa:16:3e:25:bc:08 | ip_address='192.168.0.37', subnet_id='5f4e34b4-f5aa-460f-a19a-c128148ea631'   | DOWN   |22:13
johnsomHmm, do you have dns integration enabled in neutron?22:13
michchapwhat I don't understand is why when the octavia user has the admin role, it's failing to use the configured security group in that launchpad bug22:13
johnsomDoes that port have a dns_name?22:13
johnsomThat launchpad bug was marked invalid, who knows what was going on there22:14
michchapthat's the error I'm seeing after the rocky-stein upgrade22:14
michchapusing a pretty vanilla kolla-ansible deployment22:15
johnsomThis is the key error: Port 4b8f152b-7356-4b19-9da8-5c3624f335fd not usable for instance b608c4b2-3048-41bb-937f-517beca43752. 22:15
michchapI don't see any DNS names on the port22:15
johnsomI'm trying to think of why neutron/nova would reject a port22:15
michchapmy guess was the service user lacking permission22:15
michchapthe same as it seems to lack permission to use the security group22:16
michchapbut the admin role is on octavia@Default in service@Default22:17
johnsomNova - PortNotUsable - If a requested port is not owned by the same tenant that the instance is created under.22:18
johnsomYeah, so did your upgrade code somehow change the service account?22:18
michchapI'll triple check I guess, but I think it's remained octavia/service/Default22:19
johnsomCheck the project ID on the port and on the instance. With Octavia, those should always match as both are created with the octavia service account22:19
michchaplooks like that port is created as the admin user22:20
johnsomThe account that Octavia will use to create those resources is configured in the [service_auth] section of the octavia.conf.22:21
michchapYeah, I suspect kolla has changed the default. The octavia user is probably the correct way going forward but if it breaks failover I guess we'll have to recreate all the LBs after the upgrade22:23
michchapah, yep the project name is set to admin in kolla rocky -_-22:24
johnsomYeah, I don't know kolla, so can't help much there. But changing the octavia service account with existing LBs is going to be a problem.22:24
michchapif there's no migration path when doing so, we'll just have to deal with it22:25
michchapthanks for the help!22:25
johnsomSure, NP22:25

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!