yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86470
[Bug 1933096] Re: nova fail to start because of 'libvirt' has no attribute 'VIR_CONNECT_LIST_NODE_DEVICES_CAP_VDPA'
Moving to valid as we are now seeing this in our own upstream CI:
https://zuul.opendev.org/t/openstack/build/68e59744ef7444a5ae108118983c9353/log
/job-output.txt
2021-06-27 04:37:51.638267 | controller | Collecting libvirt-python===7.4.0
2021-06-27 04:37:51.647585 | controller | Downloading https://mirror.mtl01.inap.opendev.org/wheel/centos-8-x86_64/libvirt-python/libvirt_python-7.4.0-cp36-cp36m-linux_x86_64.whl (554 kB)
2021-06-27 04:37:53.675754 | controller | Installing collected packages: libvirt-python
2021-06-27 04:37:53.831073 | controller | Successfully installed libvirt-python-7.4.0
https://zuul.opendev.org/t/openstack/build/68e59744ef7444a5ae108118983c9353/log/controller/logs/screen-n-cpu.txt#1525
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager [None req-d06862c3-c4b9-4f25-b7e7-e8a4bc48a71e None None] Error updating resources for node centos-8-stream-inap-mtl01-0025287196.: AttributeError: module 'libvirt' has no attribute 'VIR_CONNECT_LIST_NODE_DEVICES_CAP_VDPA'
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager Traceback (most recent call last):
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 9939, in _update_available_resource_for_node
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager startup=startup)
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager File "/opt/stack/nova/nova/compute/resource_tracker.py", line 879, in update_available_resource
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager resources = self.driver.get_available_resource(nodename)
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 8922, in get_available_resource
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager data['pci_passthrough_devices'] = self._get_pci_passthrough_devices()
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 7641, in _get_pci_passthrough_devices
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager dev_flags |= libvirt.VIR_CONNECT_LIST_NODE_DEVICES_CAP_VDPA
Jun 27 05:03:22.685506 centos-8-stream-inap-mtl01-0025287196 nova-compute[112332]: ERROR nova.compute.manager AttributeError: module 'libvirt' has no attribute 'VIR_CONNECT_LIST_NODE_DEVICES_CAP_VDPA'
** Changed in: nova
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1933096
Title:
nova fail to start because of 'libvirt' has no attribute
'VIR_CONNECT_LIST_NODE_DEVICES_CAP_VDPA'
Status in OpenStack Compute (nova):
Confirmed
Bug description:
Since june 11, CI on centos stream started to fail because of error:
AttributeError: module 'libvirt' has no attribute 'VIR_CONNECT_LIST_NODE_DEVICES_CAP_VDPA'
By comparing the environment with the last successful build of the CI,
it seems the difference is the distro libvirt version. The CI started
to fail since libvirt-7.0.0-14.1.el8.x86_64 was installed on the
centos stream setup.
Logs to the failed build can be found at [1]
Logs to the last successful built can be found at [2]
[1] http://13.74.249.42/550/OpenVswitch-HW-Offload-os-vif-Daily/
[2] http://13.74.249.42/549/OpenVswitch-HW-Offload-os-vif-Daily/
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1933096/+subscriptions
References