The libvirt+xen driver has been untested for many cycles and has been
deprecated in Victoria, with an eye on removal in Wallaby or later. I
don't think warrants being fixed.

** Changed in: nova
       Status: New => Won't Fix

-- 
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/1892033

Title:
  Failed to start nova-compute with libvirt-xen

Status in OpenStack Compute (nova):
  Won't Fix

Bug description:
  Description
  ===========
  I deployed ussuri env from ubuntu-cloud:ussuri.
  Configure one compute node with xen and libvirt,
  then nova-compute serivce can not be started.
  Got error 'libvirt.libvirtError: this function is not supported by the 
connection driver: virNodeGetCPUMap'.

  Steps to reproduce
  ==================
  1. Install nova-compute
  2. Configure nova.conf as below:
  [libvirt]
  virt_type = xen
  3. Start nova-compute service

  Expected result
  ===============
  Nova-compute starts successfully

  Actual result
  =============
  Got error

  Environment
  ===========
  root@xen-cmp01:~# dpkg -l | grep nova-compute
  ii  nova-compute                         2:21.0.0-0ubuntu0.20.04.1~cloud0     
                       all          OpenStack Compute - compute node base
  ii  nova-compute-kvm                     2:21.0.0-0ubuntu0.20.04.1~cloud0     
                       all          OpenStack Compute - compute node (KVM)
  ii  nova-compute-libvirt                 2:21.0.0-0ubuntu0.20.04.1~cloud0     
                       all          OpenStack Compute - compute node libvirt 
support
  root@xen-cmp01:~# dpkg -l | grep libvirt
  ii  libvirt-clients                      6.0.0-0ubuntu8.2~cloud0              
                       amd64        Programs for the libvirt library
  ii  libvirt-daemon                       6.0.0-0ubuntu8.2~cloud0              
                       amd64        Virtualization daemon
  ii  libvirt-daemon-driver-qemu           6.0.0-0ubuntu8.2~cloud0              
                       amd64        Virtualization daemon QEMU connection driver
  ii  libvirt-daemon-driver-storage-rbd    6.0.0-0ubuntu8.2~cloud0              
                       amd64        Virtualization daemon RBD storage driver
  ii  libvirt-daemon-driver-xen            6.0.0-0ubuntu8.2~cloud0              
                       amd64        Virtualization daemon Xen connection driver
  ii  libvirt-daemon-system                6.0.0-0ubuntu8.2~cloud0              
                       amd64        Libvirt daemon configuration files
  ii  libvirt-daemon-system-systemd        6.0.0-0ubuntu8.2~cloud0              
                       amd64        Libvirt daemon configuration files (systemd)
  ii  libvirt0:amd64                       6.0.0-0ubuntu8.2~cloud0              
                       amd64        library for interfacing with different 
virtualization systems
  ii  nova-compute-libvirt                 2:21.0.0-0ubuntu0.20.04.1~cloud0     
                       all          OpenStack Compute - compute node libvirt 
support
  ii  python3-libvirt                      6.1.0-1~cloud0                       
                       amd64        libvirt Python 3 bindings
  root@xen-cmp01:~# dpkg -l | grep xen
  ii  grub-xen-bin                         2.02-2ubuntu8.17                     
                       amd64        GRand Unified Bootloader, version 2 (Xen 
binaries)
  ii  grub-xen-host                        2.02-2ubuntu8.17                     
                       amd64        GRand Unified Bootloader, version 2 (Xen 
host version)
  ii  libvirt-daemon-driver-xen            6.0.0-0ubuntu8.2~cloud0              
                       amd64        Virtualization daemon Xen connection driver
  ii  libxen-4.9:amd64                     4.9.2-0ubuntu1                       
                       amd64        Public libs for Xen
  ii  libxenstore3.0:amd64                 4.9.2-0ubuntu1                       
                       amd64        Xenstore communications library for Xen
  ii  python3-os-xenapi                    0.3.4-0ubuntu3~cloud0                
                       all          XenAPI library for OpenStack projects - 
Python 3.x
  ii  xen-hypervisor-4.9-amd64             4.9.2-0ubuntu1                       
                       amd64        Xen Hypervisor on AMD64
  ii  xen-utils-4.9                        4.9.2-0ubuntu1                       
                       amd64        XEN administrative tools
  ii  xen-utils-common                     4.9.2-0ubuntu1                       
                       all          Xen administrative tools - common files
  ii  xenstore-utils                       4.9.2-0ubuntu1                       
                       amd64        Xenstore command line utilities for Xen

  Logs & Configs
  ==============
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager 
[req-81171101-de82-430a-a8e9-32d295706cae - - - - -] Error updating resources 
for node xen-cmp01.: libvirt.libvirtError: this function is not supported by 
the connection driver: virNodeGetCPUMap
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager Traceback (most 
recent call last):
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/nova/compute/manager.py", line 9685, in 
_update_available_resource_for_node
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     startup=startup)
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/nova/compute/resource_tracker.py", line 826, in 
update_available_resource
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     resources = 
self.driver.get_available_resource(nodename)
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 8144, in 
get_available_resource
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     data["vcpus"] = 
len(self._get_vcpu_available())
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/nova/virt/libvirt/driver.py", line 6471, in 
_get_vcpu_available
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     online_cpus = 
self._host.get_online_cpus()
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/nova/virt/libvirt/host.py", line 670, in 
get_online_cpus
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     cpus, cpu_map, 
online = self.get_connection().getCPUMap()
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/eventlet/tpool.py", line 193, in doit
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     result = 
proxy_call(self._autowrap, f, *args, **kwargs)
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/eventlet/tpool.py", line 151, in proxy_call
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     rv = execute(f, 
*args, **kwargs)
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/eventlet/tpool.py", line 132, in execute
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     six.reraise(c, 
e, tb)
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/six.py", line 693, in reraise
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     raise value
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/eventlet/tpool.py", line 86, in tworker
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     rv = meth(*args, 
**kwargs)
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager   File 
"/usr/lib/python3/dist-packages/libvirt.py", line 4105, in getCPUMap
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager     if ret is None: 
raise libvirtError ('virNodeGetCPUMap() failed', conn=self)
  2020-08-18 12:23:30.739 12029 ERROR nova.compute.manager 
libvirt.libvirtError: this function is not supported by the connection driver: 
virNodeGetCPUMap

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1892033/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to