2023-02-21 07:50:26 |
Diko Parvanov |
bug |
|
|
added bug |
2023-02-21 07:53:38 |
Diko Parvanov |
description |
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade.
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state' |
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade.
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
|
2023-02-21 07:56:37 |
Diko Parvanov |
description |
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade.
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
|
2023-02-21 09:09:12 |
James Page |
summary |
Upgrade to wallaby/stable doesn't upgrade ovsdbapp python library |
ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state' |
|
2023-02-21 09:09:23 |
James Page |
bug task added |
|
python-ovsdbapp (Ubuntu) |
|
2023-02-21 09:09:32 |
James Page |
charm-neutron-api: status |
New |
Invalid |
|
2023-02-21 09:10:43 |
James Page |
nominated for series |
|
Ubuntu Jammy |
|
2023-02-21 09:10:43 |
James Page |
bug task added |
|
python-ovsdbapp (Ubuntu Jammy) |
|
2023-02-21 09:10:52 |
James Page |
python-ovsdbapp (Ubuntu): status |
New |
Invalid |
|
2023-02-21 09:15:49 |
James Page |
bug task added |
|
cloud-archive |
|
2023-02-21 09:16:03 |
James Page |
nominated for series |
|
cloud-archive/wallaby |
|
2023-02-21 09:16:03 |
James Page |
bug task added |
|
cloud-archive/wallaby |
|
2023-02-21 09:16:03 |
James Page |
nominated for series |
|
cloud-archive/xena |
|
2023-02-21 09:16:03 |
James Page |
bug task added |
|
cloud-archive/xena |
|
2023-02-21 09:16:03 |
James Page |
nominated for series |
|
cloud-archive/yoga |
|
2023-02-21 09:16:03 |
James Page |
bug task added |
|
cloud-archive/yoga |
|
2023-02-21 09:16:11 |
James Page |
cloud-archive: status |
New |
Invalid |
|
2023-04-07 09:13:57 |
Andrea Ieri |
tags |
|
bseng-1080 |
|
2023-07-03 15:05:17 |
Corey Bryant |
description |
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
[Original Bug Description]
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
|
2023-07-03 15:05:53 |
Corey Bryant |
summary |
ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state' |
[SRU] Stable point releases for python-ovsdbapp |
|
2023-07-03 15:06:23 |
Corey Bryant |
description |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
[Original Bug Description]
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
[Original Bug Description]
Subject: ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state'
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
|
2023-07-03 15:06:31 |
Corey Bryant |
python-ovsdbapp (Ubuntu Jammy): status |
New |
Triaged |
|
2023-07-03 15:06:33 |
Corey Bryant |
python-ovsdbapp (Ubuntu Jammy): importance |
Undecided |
High |
|
2023-07-03 15:06:40 |
Corey Bryant |
cloud-archive/yoga: status |
New |
Triaged |
|
2023-07-03 15:06:43 |
Corey Bryant |
cloud-archive/xena: status |
New |
Triaged |
|
2023-07-03 15:06:45 |
Corey Bryant |
cloud-archive/wallaby: status |
New |
Triaged |
|
2023-07-03 15:06:47 |
Corey Bryant |
cloud-archive/yoga: importance |
Undecided |
High |
|
2023-07-03 15:06:49 |
Corey Bryant |
cloud-archive/xena: importance |
Undecided |
High |
|
2023-07-03 15:06:51 |
Corey Bryant |
cloud-archive/wallaby: importance |
Undecided |
High |
|
2023-07-03 15:08:38 |
Corey Bryant |
description |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
[Original Bug Description]
Subject: ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state'
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
The recommended releases that upstream tests with are listed at:
https://github.com/openstack/requirements/blob/stable/yoga/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/wallaby/upper-constraints.txt
[Original Bug Description]
Subject: ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state'
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
|
2023-07-03 15:10:19 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~corey.bryant/ubuntu/+source/python-ovsdbapp/+git/python-ovsdbapp/+merge/445875 |
|
2023-07-03 15:52:27 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~corey.bryant/ubuntu/+source/python-ovsdbapp/+git/python-ovsdbapp/+merge/445883 |
|
2023-07-03 15:59:51 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~corey.bryant/ubuntu/+source/python-ovsdbapp/+git/python-ovsdbapp/+merge/445885 |
|
2023-07-03 16:03:42 |
Corey Bryant |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-07-03 16:08:09 |
Corey Bryant |
description |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
The recommended releases that upstream tests with are listed at:
https://github.com/openstack/requirements/blob/stable/yoga/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/wallaby/upper-constraints.txt
[Original Bug Description]
Subject: ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state'
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 2.1.1 (zed)
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 2.1.0 and 2.1.1 (zed):
- [97e738d] Fix TRY_AGAIN handling
- [bbdc14a] Don't force_reconnect() on unhandled Idl exception
- [c9e9473] Fix logging exception while handling transaction exception
- [d90358c] Update TOX_CONSTRAINTS_FILE for stable/zed
- [b58a340] Update .gitreview for stable/zed
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
The recommended releases that upstream tests with are listed at:
https://github.com/openstack/requirements/blob/stable/yoga/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/wallaby/upper-constraints.txt
[Original Bug Description]
Subject: ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state'
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
|
2023-07-03 16:09:11 |
Corey Bryant |
nominated for series |
|
cloud-archive/zed |
|
2023-07-03 16:09:11 |
Corey Bryant |
bug task added |
|
cloud-archive/zed |
|
2023-07-03 16:09:19 |
Corey Bryant |
cloud-archive/zed: status |
New |
Triaged |
|
2023-07-03 16:09:22 |
Corey Bryant |
cloud-archive/zed: importance |
Undecided |
High |
|
2023-07-03 16:13:20 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~corey.bryant/ubuntu/+source/python-ovsdbapp/+git/python-ovsdbapp/+merge/445888 |
|
2023-07-04 03:44:23 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Corey Bryant |
2023-07-24 19:57:22 |
Corey Bryant |
cloud-archive/zed: status |
Triaged |
Fix Committed |
|
2023-07-24 19:57:23 |
Corey Bryant |
tags |
bseng-1080 |
bseng-1080 verification-zed-needed |
|
2023-07-24 19:59:24 |
Corey Bryant |
cloud-archive/xena: status |
Triaged |
Fix Committed |
|
2023-07-24 19:59:25 |
Corey Bryant |
tags |
bseng-1080 verification-zed-needed |
bseng-1080 verification-xena-needed verification-zed-needed |
|
2023-07-24 20:00:28 |
Corey Bryant |
cloud-archive/wallaby: status |
Triaged |
Fix Committed |
|
2023-07-24 20:00:29 |
Corey Bryant |
tags |
bseng-1080 verification-xena-needed verification-zed-needed |
bseng-1080 verification-wallaby-needed verification-xena-needed verification-zed-needed |
|
2023-08-24 14:48:54 |
Robie Basak |
python-ovsdbapp (Ubuntu Jammy): status |
Triaged |
Incomplete |
|
2023-08-24 16:34:21 |
Corey Bryant |
description |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 2.1.1 (zed)
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 2.1.0 and 2.1.1 (zed):
- [97e738d] Fix TRY_AGAIN handling
- [bbdc14a] Don't force_reconnect() on unhandled Idl exception
- [c9e9473] Fix logging exception while handling transaction exception
- [d90358c] Update TOX_CONSTRAINTS_FILE for stable/zed
- [b58a340] Update .gitreview for stable/zed
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
The recommended releases that upstream tests with are listed at:
https://github.com/openstack/requirements/blob/stable/yoga/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/wallaby/upper-constraints.txt
[Original Bug Description]
Subject: ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state'
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
[Impact]
This release sports mostly bug-fixes and we would like to make
sure all of our supported customers have access to these
improvements. The update contains the following package updates:
python-ovsdbapp 2.1.1 (zed)
python-ovsdbapp 1.15.3 (jammy/yoga)
python-ovsdbapp 1.12.3 (xena)
python-ovsdbapp 1.9.4 (wallaby)
Delta between 2.1.0 and 2.1.1 (zed):
- [97e738d] Fix TRY_AGAIN handling
- [bbdc14a] Don't force_reconnect() on unhandled Idl exception
- [c9e9473] Fix logging exception while handling transaction exception
- [d90358c] Update TOX_CONSTRAINTS_FILE for stable/zed
- [b58a340] Update .gitreview for stable/zed
Delta between 1.15.1 and 1.15.3 (jammy/yoga):
- [ab3e0cb] Don't force_reconnect() on unhandled Idl exception
- [92cbba4] Fix logging exception while handling transaction exception
- [315c809] Fix TRY_AGAIN handling
- [a69430a] Handle OVS 2.17 change to Idl.tables
- [de473ce] Fix broken behavior after recent OVS update
- [10539ed] github no longer accepts git:// connections
- [7735d5c] Update TOX_CONSTRAINTS_FILE for stable/yoga
- [253afd4] Update .gitreview for stable/yoga
Delta between 1.12.0 and 1.12.3 (xena):
- [8202d53] Don't force_reconnect() on unhandled Idl exception
- [1b04058] Fix logging exception while handling transaction exception
- [fc62ae2] Fix TRY_AGAIN handling
- [4d4402c] Update QoS register in "QoSAddCommand" if exists
- [62ee947] Add cooperative_yield() to OvsdbIdl
- [ab571f4] Handle OVS 2.17 change to Idl.tables
- [a7a1d5c] Fix broken behavior after recent OVS update
- [a73fbf1] github no longer accepts git:// connections
- [3a0cd11] Log what exception caused abort of the transaction
- [8c09568] Update TOX_CONSTRAINTS_FILE for stable/xena
- [19a4364] Update .gitreview for stable/xena
- [49ab130] tools: run functional tests against ovn/main branch
Delta between 1.9.0 and 1.9.4 (wallaby):
- [65d02f0] Don't force_reconnect() on unhandled Idl exception
- [87dcab2] Fix logging exception while handling transaction exception
- [dd7e332] Fix TRY_AGAIN handling
- [f804411] Update QoS register in "QoSAddCommand" if exists
- [e1a0d7c] Add cooperative_yield() to OvsdbIdl
- [c6e2c43] Handle OVS 2.17 change to Idl.tables
- [9990509] Fix broken behavior after recent OVS update
- [fb5feee] github no longer accepts git:// connections
- [fa4a747] Log what exception caused abort of the transaction
- [eaa6406] tools: run functional tests against ovn/main branch
- [8304251] Actually close the connection in Connection.stop()
- [66918f9] Don't spam retries 100s of times a second
- [d0cc492] Add an active wait in the "Backend.lookup"
- [007c0f6] Fix docs job
- [f6a19a3] Update TOX_CONSTRAINTS_FILE for stable/wallaby
- [875be60] Update .gitreview for stable/wallaby
[Test Case]
The microrelease testing documentation at https://wiki.ubuntu.com/StableReleaseUpdates requests 4 points of testing, shown below, along with my comments on the coverage that we currently have in place:
* a reliable and credible test suite for assuring the quality of every commit or release,
coreycb: Upstream has unit tests and they are run during the package build.
* the tests are covering both functionality and API/ABI stability,
coreycb: This would be covered by unit tests as well as our planned functional testing described at [1].
* the tests run during package build to cover all architectures,
coreycb: Unit tests are run during package builds. Since this is a pure python package it is only built on amd64.
* the package has an autopkgtest to run the tests in an Ubuntu environment against the actual binary packages"
coreycb: The autopkgtests only test python imports. Since the regression testing described in [1] will be exercising the actual binary package functionality, I would like to see if we can get approval based on that being an adequate alternative.
[1]
The following SRU process was followed:
https://wiki.ubuntu.com/OpenStackUpdates
In order to avoid regression of existing consumers, the OpenStack team
will run their continuous integration test against the packages that
are in -proposed. A successful run of all available tests will be
required before the proposed packages can be let into -updates.
The OpenStack team will be in charge of attaching the output summary
of the executed tests. The OpenStack team members will not mark
‘verification-done’ until this has happened.
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned tests are attached to this bug.
[Discussion]
I would like to provide these new stable releases via microrelease SRU updates: https://wiki.ubuntu.com/StableReleaseUpdates#New_upstream_microreleases
The recommended releases that upstream tests with are listed at:
https://github.com/openstack/requirements/blob/stable/yoga/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/xena/upper-constraints.txt
https://github.com/openstack/requirements/blob/stable/wallaby/upper-constraints.txt
[Original Bug Description]
Subject: ovsdbapp: AttributeError: 'TableSchema' object has no attribute 'condition_state'
After upgrade from victoria to wallaby neutron-api units firing errors. Exception is related to https://bugs.launchpad.net/ovsdbapp/+bug/1972989, which is fixed in ovsdbapp 1.9.3
https://releases.openstack.org/wallaby/ states that ovsdbapp should be 1.9.4 (latest for walalby)
Installed in the unit is:
root@juju-4c2163-3-lxd-14:~# python3 -m pip list | grep ovsdbapp
ovsdbapp 1.9.0
Also:
root@juju-4c2163-3-lxd-14:~# apt-cache policy python3-ovsdbapp
python3-ovsdbapp:
Installed: 1.9.0-0ubuntu1~cloud0
Candidate: 1.9.0-0ubuntu1~cloud0
Version table:
*** 1.9.0-0ubuntu1~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/wallaby/main amd64 Packages
100 /var/lib/dpkg/status
1.1.0-0ubuntu2 500
500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
1.1.0-0ubuntu1 500
500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
So it looks like the charm doesn't upgrade ovsdbapp during openstack upgrade, because a newer version with the above fix doesn't exist in the UCA:
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby | focal-updates | all
python3-ovsdbapp | 1.9.0-0ubuntu1~cloud0 | wallaby-proposed | focal-proposed | all
Full traceback:
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovsdbapp/backend/ovs_idl/connection.py", line 81, in start
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn idlutils.wait_for_change(self.idl, self.timeout)
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/impl_idl_ovn.py", line 52, in wait_for_change
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn while idl_.change_seqno == seqno and not idl_.run():
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 541, in run
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn self.__send_monitor_request()
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn File "/usr/lib/python3/dist-packages/ovs/db/idl.py", line 850, in __send_monitor_request
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn not ConditionState.is_true(table.condition_state.acked)):
2023-02-21 07:39:19.639 431391 ERROR neutron.plugins.ml2.drivers.ovn.mech_driver.ovsdb.impl_idl_ovn AttributeError: 'TableSchema' object has no attribute 'condition_state'
Worked around by:
juju run -a neutron-api 'sudo python3 -m pip install ovsdbapp==1.9.4'
juju run -a neutron-api 'sudo service neutron-* restart' |
|
2023-08-24 16:34:47 |
Corey Bryant |
python-ovsdbapp (Ubuntu Jammy): status |
Incomplete |
New |
|
2023-10-30 15:39:59 |
Gustavo Sanchez |
bug |
|
|
added subscriber Canonical Field Critical |
2024-06-03 12:10:47 |
Launchpad Janitor |
python-ovsdbapp (Ubuntu Jammy): status |
New |
Confirmed |
|
2024-09-16 08:44:17 |
James Page |
python-ovsdbapp (Ubuntu Jammy): status |
Confirmed |
Won't Fix |
|
2024-09-16 08:44:21 |
James Page |
cloud-archive/yoga: status |
Triaged |
Won't Fix |
|
2024-09-16 08:49:01 |
James Page |
cloud-archive/wallaby: status |
Fix Committed |
Fix Released |
|