f0o_ | noonedeadpunk: that's not something I tried, only tried disassociating and reassociating | 06:48 |
---|---|---|
*** f0o_ is now known as f0o | 06:48 | |
f0o | I guess the correct way of migrating this would be to recreate the networks entirely along with all fips etc? :/ | 06:49 |
noonedeadpunk | f0o: well, I'm still somehow thinking about running neutron-ovn-db-sync-util once you make changes in mappings/enable distributed fips | 07:56 |
noonedeadpunk | as that will sync state of ovn dbs with intended states from neutron mysql db | 07:56 |
noonedeadpunk | and ovn should rebuild flows and all required stuff once proper data is put to nb/sb dbs | 07:57 |
f0o | ok | 07:57 |
f0o | have no issue with trying it | 07:58 |
f0o | I'd run this on the northd container? | 07:58 |
f0o | or where? | 07:58 |
noonedeadpunk | on neutron-server | 07:58 |
f0o | okidoki | 07:58 |
noonedeadpunk | but don't forget to pass it config files explicitly | 07:59 |
noonedeadpunk | ml2_conf.ini and neutron.conf are of main interest to the tool | 07:59 |
f0o | neutron-ovn-db-sync-util --help is a wall of text of parameters wow | 08:00 |
f0o | neutron-ovn-db-sync-util --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini | 08:02 |
f0o | this should be it right? | 08:02 |
noonedeadpunk | we have example here :https://docs.openstack.org/openstack-ansible-os_neutron/latest/app-ovn.html#ovn-database-population | 08:05 |
f0o | and here I want repair or migrate? | 08:08 |
f0o | or both? :D | 08:09 |
f0o | since I know that I'll lose connectivity on this shell I rather ask all the stupid Qs now\ | 08:09 |
noonedeadpunk | um, don't know really... I guess I'd do migrate? | 08:11 |
noonedeadpunk | just to rebuild them from scratch... | 08:11 |
f0o | alrighty | 08:11 |
noonedeadpunk | sec | 08:12 |
noonedeadpunk | do you do ocvtavia ovn lb? | 08:12 |
f0o | nop | 08:12 |
noonedeadpunk | as these are not populted with this command | 08:12 |
noonedeadpunk | ok | 08:12 |
f0o | so my plan now: Set network_geneve_ranges to vlan:100:3000; network_mappings becomes a host_var, being vlan:br-ext for compute and vlan:br-fip for gateway nodes; network_interface_mappings becomes a hostvar for gateway nodes which set br-fip:mlag123 instead of the previous br-ext:mlag123; update the networksegments table in neutron to make the networks 'vlan' where they | 08:14 |
f0o | were 'fip'; run ansible & get downtime; run neutron-ovn-db-sync-util with migrate; hopes&payers | 08:14 |
f0o | am I missing anything? | 08:14 |
noonedeadpunk | eh, probably not... mpore hopes... | 08:20 |
noonedeadpunk | sry, I need to run away now so will likely be afk for the day... | 08:20 |
f0o | no worries I really appreciate all the pointers and worst case I just do a full revert like yesterday haha | 08:22 |
f0o | gonna make another coffee and then just yolo this | 08:22 |
noonedeadpunk | keep us updated about theresult) | 08:41 |
f0o | noonedeadpunk: no change | 10:09 |
f0o | I tried just doing the mapping change and not going full distributed fip yet; that also didnt work | 10:10 |
f0o | migrate didnt seem to do anything at all | 10:10 |
f0o | it flagged the same ports/networks as needing update no matter how often I ran it | 10:10 |
f0o | (I also ran repair, same no-change) | 10:15 |
f0o | does distributed fip require all compute nodes to become gateway nodes? | 10:37 |
f0o | I'm just trying to understand whether I'm barking at the wrong tree here or not | 10:38 |
f0o | but I think the main issue is that I cant seem to be able to move the networksegments from fip->vlan provider | 10:40 |
f0o | the values in networksegments db seem to be entirely ignored even with the migrate config | 10:41 |
f0o | which leads me to belive that I will have to change the SB DB manually | 10:41 |
f0o | but that really sounds like HereBeDragons | 10:41 |
f0o | I know I can do a backup of the SB DB, sed s/fip/vlan/g the json dump and restore it... but I've no idea what harm that would o | 10:44 |
noonedeadpunk | > does distributed fip require all compute nodes to become gateway nodes? | 15:29 |
noonedeadpunk | no, they do not afaik | 15:29 |
mgariepy | no | 17:45 |
mgariepy | you need to add ovn_gateway group to the nodes you want to be serving gw | 17:46 |
mgariepy | neutron_ovn_gateway group. | 17:46 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!