Saturday, 2024-03-23

opendevreviewMerged openstack/openstack-ansible-haproxy_server master: Do not resolve all host_vars when haproxy_backend_node is a mapping  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/91392713:05
f0oNoticed a weird gotcha... in OVN sometimes my br-int becomes corrupted. It looks fine via ovs-vsctl show and geneve partner's show state-up bfd responses but onv-controller keeps reporting 00020|rconn(ovn_statctrl2)|WARN|unix:/var/run/openvswitch/br-int.mgmt: connection dropped (Broken pipe)13:40
f0osolution was to ovs-vsctl del-br br-int and ovn recreated it and all was fine and dandy13:40
f0oidk if this was some dirty state from a prior deployment but everything was basically fine until I rebooted the host13:41
f0ook just rebooted the router again and it seems that every boot br-int is corrupted14:15
noonedeadpunkhuh15:16
noonedeadpunkthat's weird for sure.15:16
noonedeadpunkdon't you happen to have it defined somewhere in netplan or smth?15:16
f0onot br-int16:39
f0oI do have br-ext defined there tho16:39
f0oprobbaly shouldnt I guess?16:39
f0onetplan does create something called netplan-ovs-cleanup.service17:44
f0owhich seems to be removing bridges defined in netplan17:44
f0ochecked the logs and no mention of br-int17:44
f0obut maybe that could be a solution17:44
f0oit happened again18:52
f0oout of nowhere18:52
f0obut I think I'm onto something18:52
f0oI have neutron-openvswitch-agent.service and neutron-ovn-metadata-agent.service18:53
f0othey seem to conflict and I entirely blame ubuntu for installing and auto-enabling them18:54
f0ofrom what I saw in the ansible role, neutron-ovn-metadata-agent.service is the correct one for OVN setups18:54
f0oso I'm going to mask neutron-openvswitch-agent.service and hopefully this resolves the issue18:55
f0oI understand that distro isnt the preferred installation method but honestly I was tired of patching the upper_constraint file every time I had to resetup to get the unbugged ovs package as well as the requirement of having a patched openvswitch-host package - so this is not on OSA but as a Quality of Life enhacement you could make sure that the conflicting systemd-services18:58
f0oget masked because they're automatically installed by apt-get18:58
jrosserf0o: putting your openstack_deploy directory into git would mean you don’t have to constantly patch that19:19
jrosseryou can override the default constraints file completely to point to your modified version19:19
jrosserexperience from my deployments is that the number of patches I need to locally apply to openstack services is *always* > 0, and often you find corner cases or newly broken things just after upgrades19:24
jrosserso for me it’s source install every time19:25

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