[Bug 2059721] Re: ovn db upgrade

2024-03-29 Thread Vadim Kuznetsov
Here is my explanation: 1. According to ovn docs https://docs.ovn.org/en/latest/intro/install/ovn-upgrades.html "The only step required after upgrading the packages is to restart ovn-northd, which automatically restarts the databases and upgrades the database schema, as well. if you’re using a

[Bug 2059721] Re: ovn db upgrade

2024-03-29 Thread Vadim Kuznetsov
Im not sure what it means, but northd_internal_version has changed in nb db, but not in sb db: ovn-nbctl get nb-global . options {mac_prefix="a6:00:79", max_tunid="16711680", northd_internal_version="23.03.1-20.27.0-70.6", svc_monitor_mac="ea:c9:fc:91:88:7c"} ovn-sbctl get sb-global . options

[Bug 2059721] Re: ovn db upgrade

2024-03-29 Thread Vadim Kuznetsov
I reinstalled host OS and rebuild it from scratch including all containers. I reinstalled compute nodes one by one, not to overload OpenStack Infrastructure. I'm using venv_wheel_build_enable=False to get around. Alternative can be to reinstall and rebuild only infra (repo, galera, rabbitmq) one

[Bug 2059721] Re: ovn db upgrade

2024-03-29 Thread Vadim Kuznetsov
I upgraded compute nodes first (rebuild the from scratch with new OS one by one with VM live migrations) and controller second. (I tried upgrading controller first and compute second before you updated distro upgrade guide. It resulted in longer outage.) When I upgraded 2 mgmt nodes and shutdown

[Bug 2059721] [NEW] ovn db upgrade

2024-03-28 Thread Vadim Kuznetsov
Public bug reported: After distro upgrade of the openstack-ansible 2023.1 site from Ubuntu 20.04 to Ubuntu 22.04 OVN cluster DB was not upgraded. root@b-mgmt-neutron-ovn-northd-container-cb715707:/var/log/ovn# ovn-nbctl --version ovn-nbctl 23.03.1 Open vSwitch Library 3.1.2 DB Schema 7.0.0

[Bug 2059721] Re: ovn db upgrade

2024-03-28 Thread Vadim Kuznetsov
and tons of these every 5 sec ovn-northd.log: 2024-03-28T18:13:16.208Z|00511|ovn_northd|INFO|OVNSB commit failed, force recompute next time. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2059721