[Bug 842845] Re: problems starting multiple lxc instances concurrently

Serge Hallyn 842845 at bugs.launchpad.net
Tue Sep 27 21:19:58 UTC 2011


I'm able to reproduce this with 'euca-run-instances -n 4'.  But the
libvirt instances do in fact start.

virsh -c lxc:/// list shows the, but euca-describe-instances shows them
pending.

nova-compute.log shows:

2011-09-27 16:06:23,110 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 98, in wrapped
(nova.exception): TRACE:     return f(*args, **kw)
(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 454, in run_instance
(nova.exception): TRACE:     self._run_instance(context, instance_id, **kwargs)
(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 432, in _run_instance
(nova.exception): TRACE:     current_power_state = self._get_power_state(context, instance)
(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 190, in _get_power_state
(nova.exception): TRACE:     return self.driver.get_info(instance['name'])["state"]
(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 1196, in get_info
(nova.exception): TRACE:     (state, max_mem, mem, num_cpu, cpu_time) = virt_dom.info()
(nova.exception): TRACE:   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1059, in info
(nova.exception): TRACE:     if ret is None: raise libvirtError ('virDomainGetInfo() failed', dom=self)
(nova.exception): TRACE: libvirtError: internal error Unable to get cgroup for instance-00000008
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 620, in _process_data
(nova.rpc): TRACE:     rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 129, in wrapped
(nova.rpc): TRACE:     raise Error(str(e))
(nova.rpc): TRACE: Error: internal error Unable to get cgroup for instance-00000008
(nova.rpc): TRACE: 
2011-09-27 16:06:23,220 INFO nova.virt.libvirt_conn [-] Instance instance-00000008 spawned successfully.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/842845

Title:
  problems starting multiple lxc instances concurrently

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/842845/+subscriptions



More information about the Ubuntu-server-bugs mailing list