LXC instance failed to terminate
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I am using the Nova version:
ii nova-compute 2012.1~e4-1 OpenStack Compute - compute node
ii nova-compute-lxc 2012.1~e4-1 OpenStack Compute - compute node (LXC)
Sometimes, the LXC instance does not terminate, here is the trace in the log:
(nova.rpc.common): TRACE: Traceback (most recent call last):
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: rval = node_func(
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: return f(*args, **kw)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: sys.exc_info())
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self.gen.next()
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: return function(self, context, instance_uuid, *args, **kwargs)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self._delete_
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self._shutdown_
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: block_device_info)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: cleanup=True)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: self._cleanup(
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: shutil.
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: rmtree(fullname, ignore_errors, onerror)
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: onerror(os.rmdir, path, sys.exc_info())
(nova.rpc.common): TRACE: File "/usr/lib/
(nova.rpc.common): TRACE: os.rmdir(path)
(nova.rpc.common): TRACE: OSError: [Errno 16] Device or resource busy: '/var/lib/
(nova.rpc.common): TRACE:
After, it is impossible to manually remove /var/lib/
Nothing in lsof | grep 0000000f, the only way is to physically reboot the server...
Best regards.
Samuel