2012-03-08 14:46:58 DEBUG nova.utils [-] Attempting to grab semaphore "252f77f9ae919d0e87c7bf2c73772e0cd8f74e04" for method "call_if_not_exists"... from (pid=1567) inner /data/stack/nova/nova/utils.py:834<br>
2012-03-08 14:46:58 DEBUG nova.utils [-] Got semaphore "252f77f9ae919d0e87c7bf2c73772e0cd8f74e04" for method "call_if_not_exists"... from (pid=1567) inner /data/stack/nova/nova/utils.py:838<br>2012-03-08 14:46:58 DEBUG nova.utils [-] Running cmd (subprocess): cp /data/openstack/nova/instances/_base/252f77f9ae919d0e87c7bf2c73772e0cd8f74e04 /data/openstack/nova/instances/_base/252f77f9ae919d0e87c7bf2c73772e0cd8f74e04_40 from (pid=1567) execute /data/stack/nova/nova/utils.py:213<br>
2012-03-08 14:47:07 DEBUG nova.utils [-] Running cmd (subprocess): qemu-img resize /data/openstack/nova/instances/_base/252f77f9ae919d0e87c7bf2c73772e0cd8f74e04_40 42949672960 from (pid=1567) execute /data/stack/nova/nova/utils.py:213<br>
2012-03-08 14:47:07 DEBUG nova.utils [-] Running cmd (subprocess): e2fsck -fp /data/openstack/nova/instances/_base/252f77f9ae919d0e87c7bf2c73772e0cd8f74e04_40 from (pid=1567) execute /data/stack/nova/nova/utils.py:213<br>
2012-03-08 14:47:07 ERROR nova.compute.manager [-] [instance: 0887841c-8ceb-42d8-ba6f-14fa546264ed] Instance failed to spawn<br>(nova.compute.manager): TRACE: Traceback (most recent call last):<br>(nova.compute.manager): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 590, in _spawn<br>
(nova.compute.manager): TRACE: self._legacy_nw_info(network_info), block_device_info)<br>(nova.compute.manager): TRACE: File "/data/stack/nova/nova/exception.py", line 114, in wrapped<br>(nova.compute.manager): TRACE: return f(*args, **kw)<br>
(nova.compute.manager): TRACE: File "/data/stack/nova/nova/virt/libvirt/connection.py", line 859, in spawn<br>(nova.compute.manager): TRACE: block_device_info=block_device_info)<br>(nova.compute.manager): TRACE: File "/data/stack/nova/nova/virt/libvirt/connection.py", line 1101, in _create_image<br>
(nova.compute.manager): TRACE: size=size)<br>(nova.compute.manager): TRACE: File "/data/stack/nova/nova/virt/libvirt/connection.py", line 1001, in _cache_image<br>(nova.compute.manager): TRACE: disk.extend(cow_base, size)<br>
(nova.compute.manager): TRACE: File "/data/stack/nova/nova/virt/disk/api.py", line 107, in extend<br>(nova.compute.manager): TRACE: utils.execute('e2fsck', '-fp', image, check_exit_code=False)<br>
(nova.compute.manager): TRACE: File "/data/stack/nova/nova/utils.py", line 220, in execute<br>(nova.compute.manager): TRACE: shell=shell)<br>(nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/green/subprocess.py", line 25, in __init__<br>
(nova.compute.manager): TRACE: subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)<br>(nova.compute.manager): TRACE: File "/usr/lib/python2.7/subprocess.py", line 679, in __init__<br>(nova.compute.manager): TRACE: errread, errwrite)<br>
(nova.compute.manager): TRACE: File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child<br>(nova.compute.manager): TRACE: raise child_exception<br>(nova.compute.manager): TRACE: OSError: [Errno 2] No such file or directory<br>
(nova.compute.manager): TRACE:<br>2012-03-08 14:47:07 DEBUG nova.compute.manager [-] [instance: 0887841c-8ceb-42d8-ba6f-14fa546264ed] Deallocating network for instance from (pid=1567) _deallocate_network /data/stack/nova/nova/compute/manager.py:614<br>
2012-03-08 14:47:07 DEBUG nova.rpc.common [-] Making asynchronous cast on network... from (pid=1567) cast /data/stack/nova/nova/rpc/amqp.py:344<br>2012-03-08 14:47:07 ERROR nova.rpc.common [-] Exception during message handling<br>
(nova.rpc.common): TRACE: Traceback (most recent call last):<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/rpc/amqp.py", line 250, in _process_data<br>(nova.rpc.common): TRACE: rval = node_func(context=ctxt, **node_args)<br>
(nova.rpc.common): TRACE: File "/data/stack/nova/nova/exception.py", line 114, in wrapped<br>(nova.rpc.common): TRACE: return f(*args, **kw)<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 177, in decorated_function<br>
(nova.rpc.common): TRACE: sys.exc_info())<br>(nova.rpc.common): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>(nova.rpc.common): TRACE: self.gen.next()<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 171, in decorated_function<br>
(nova.rpc.common): TRACE: return function(self, context, instance_uuid, *args, **kwargs)<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 646, in run_instance<br>(nova.rpc.common): TRACE: self._run_instance(context, instance_uuid, **kwargs)<br>
(nova.rpc.common): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 449, in _run_instance<br>(nova.rpc.common): TRACE: self._set_instance_error_state(context, instance_uuid)<br>(nova.rpc.common): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>
(nova.rpc.common): TRACE: self.gen.next()<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 430, in _run_instance<br>(nova.rpc.common): TRACE: self._deallocate_network(context, instance)<br>
(nova.rpc.common): TRACE: File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__<br>(nova.rpc.common): TRACE: self.gen.next()<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 427, in _run_instance<br>
(nova.rpc.common): TRACE: injected_files, admin_password)<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/compute/manager.py", line 590, in _spawn<br>(nova.rpc.common): TRACE: self._legacy_nw_info(network_info), block_device_info)<br>
(nova.rpc.common): TRACE: File "/data/stack/nova/nova/exception.py", line 114, in wrapped<br>(nova.rpc.common): TRACE: return f(*args, **kw)<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/virt/libvirt/connection.py", line 859, in spawn<br>
(nova.rpc.common): TRACE: block_device_info=block_device_info)<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/virt/libvirt/connection.py", line 1101, in _create_image<br>(nova.rpc.common): TRACE: size=size)<br>
(nova.rpc.common): TRACE: File "/data/stack/nova/nova/virt/libvirt/connection.py", line 1001, in _cache_image<br>(nova.rpc.common): TRACE: disk.extend(cow_base, size)<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/virt/disk/api.py", line 107, in extend<br>
(nova.rpc.common): TRACE: utils.execute('e2fsck', '-fp', image, check_exit_code=False)<br>(nova.rpc.common): TRACE: File "/data/stack/nova/nova/utils.py", line 220, in execute<br>(nova.rpc.common): TRACE: shell=shell)<br>
(nova.rpc.common): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/green/subprocess.py", line 25, in __init__<br>(nova.rpc.common): TRACE: subprocess_orig.Popen.__init__(self, args, 0, *argss, **kwds)<br>
(nova.rpc.common): TRACE: File "/usr/lib/python2.7/subprocess.py", line 679, in __init__<br>(nova.rpc.common): TRACE: errread, errwrite)<br>(nova.rpc.common): TRACE: File "/usr/lib/python2.7/subprocess.py", line 1239, in _execute_child<br>
(nova.rpc.common): TRACE: raise child_exception<br>(nova.rpc.common): TRACE: OSError: [Errno 2] No such file or directory<br>(nova.rpc.common): TRACE:<br><br clear="all"><br>-- <br>非淡薄无以明志,非宁静无以致远<br>