← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1303834] [NEW] using LXC as a libvirt type fails with libvirt error

 

Public bug reported:

With RC1 using lxc throwing the below error

2014-04-07 07:04:30.349 30728 ERROR nova.openstack.common.threadgroup [-] this function is not supported by the connection driver: virConnectBaselineCPU
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 117, in wait
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     x.wait()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 49, in wait
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return self.thread.wait()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return self._exit_event.wait()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return hubs.get_hub().switch()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return self.greenlet.switch()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     result = function(*args, **kwargs)
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/service.py", line 480, in run_service
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     service.start()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 163, in start
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     self.manager.init_host()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1010, in init_host
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     self.driver.init_host(host=self.host)
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 648, in init_host
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     self._do_quality_warnings()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 636, in _do_quality_warnings
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     caps = self.get_host_capabilities()
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2841, in get_host_capabilities
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     libvirt.VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES)
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     result = proxy_call(self._autowrap, f, *args, **kwargs)
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     rv = execute(f,*args,**kwargs)
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     rv = meth(*args,**kwargs)
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3127, in baselineCPU
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     if ret is None: raise libvirtError ('virConnectBaselineCPU() failed', conn=self)
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup libvirtError: this function is not supported by the connection driver: virConnectBaselineCPU
2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  using LXC as a libvirt type fails with libvirt error

Status in OpenStack Compute (Nova):
  New

Bug description:
  With RC1 using lxc throwing the below error

  2014-04-07 07:04:30.349 30728 ERROR nova.openstack.common.threadgroup [-] this function is not supported by the connection driver: virConnectBaselineCPU
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup Traceback (most recent call last):
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 117, in wait
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     x.wait()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/threadgroup.py", line 49, in wait
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return self.thread.wait()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return self._exit_event.wait()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return hubs.get_hub().switch()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     return self.greenlet.switch()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     result = function(*args, **kwargs)
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/service.py", line 480, in run_service
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     service.start()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 163, in start
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     self.manager.init_host()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1010, in init_host
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     self.driver.init_host(host=self.host)
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 648, in init_host
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     self._do_quality_warnings()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 636, in _do_quality_warnings
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     caps = self.get_host_capabilities()
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2841, in get_host_capabilities
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     libvirt.VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES)
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 179, in doit
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     result = proxy_call(self._autowrap, f, *args, **kwargs)
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 139, in proxy_call
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     rv = execute(f,*args,**kwargs)
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/eventlet/tpool.py", line 77, in tworker
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     rv = meth(*args,**kwargs)
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3127, in baselineCPU
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup     if ret is None: raise libvirtError ('virConnectBaselineCPU() failed', conn=self)
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup libvirtError: this function is not supported by the connection driver: virConnectBaselineCPU
  2014-04-07 07:04:30.349 30728 TRACE nova.openstack.common.threadgroup

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


Follow ups

References