<div dir="ltr"><div>Hello, </div><div><br></div><div>I have some issues with file injection in Windows instances, i am running OpenStack grizzly deployed with packstack on CentOS 6.4<br></div><div><br></div><div>When launching an instance with the following command:</div>
<div>nova boot --image 7a5a741c-73ac-4061-8c10-254a77b96c9e --availability_zone nova:<a href="http://beijing.sics.se">beijing.sics.se</a> --flavor 3 --file injectedFile.txt=injectedFile.txt VMi<br></div><div><br></div><div>
the instance fails to launch with the following output (LOG1)</div><div><br></div><div>Launching the instance without the --file option results in a successful launch (LOG2)</div><div>nova boot --image 7a5a741c-73ac-4061-8c10-254a77b96c9e --availability_zone nova:<a href="http://beijing.sics.se">beijing.sics.se</a> --flavor 3 VM<br>
</div><div><br></div><div><br></div><div>There has been an earlier question on this topic (<a href="https://lists.launchpad.net/openstack/msg22969.html">https://lists.launchpad.net/openstack/msg22969.html</a>), but the problem seems to be different.</div>
<div><br></div><div>The log outputs follow below</div><div><br></div><div>Thank you!</div><div><br></div><div>/Nicolae</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>LOG1:</div><div><div>
2013-12-06 18:04:02.810 AUDIT nova.compute.manager [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Starting instance...</div>
<div>2013-12-06 18:04:04.119 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Attempting claim: memory 4096 MB, disk 40 GB, VCPUs 2</div>
<div>2013-12-06 18:04:04.120 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Total Memory: 64378 MB, used: 37376 MB</div>
<div>2013-12-06 18:04:04.120 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Memory limit: 96567 MB, free: 59191 MB</div>
<div>2013-12-06 18:04:04.121 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Total Disk: 886 GB, used: 360 GB</div>
<div>2013-12-06 18:04:04.121 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Disk limit not specified, defaulting to unlimited</div>
<div>2013-12-06 18:04:04.122 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Total CPU: 12 VCPUs, used: 18 VCPUs</div>
<div>2013-12-06 18:04:04.122 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] CPU limit: 192 VCPUs, free: 174 VCPUs</div>
<div>2013-12-06 18:04:04.122 AUDIT nova.compute.claims [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Claim successful</div>
<div>2013-12-06 18:04:07.350 INFO nova.virt.libvirt.driver [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Creating image</div>
<div>2013-12-06 18:04:07.443 INFO nova.virt.libvirt.driver [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Injecting files into image 702b3e56-8d05-4f58-ac9d-8fdbf77ba31a</div>
<div>2013-12-06 18:04:11.890 ERROR nova.virt.libvirt.driver [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Error injecting data into image 702b3e56-8d05-4f58-ac9d-8fdbf77ba31a (No operating system found in /var/lib/nova/instances/70145a30-5602-4b66-b41b-d9737f737ce8/disk)</div>
<div>2013-12-06 18:04:11.892 ERROR nova.compute.manager [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Instance failed to spawn</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Traceback (most recent call last):</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1120, in _spawn</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] block_device_info)</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1524, in spawn</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] admin_pass=admin_password)</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1922, in _create_image</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] instance=instance)</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] self.gen.next()</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1917, in _create_image</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] mandatory=('files',))</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 291, in inject_data</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] fs.setup()</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py", line 106, in setup</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] self.setup_os()</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py", line 50, in setup_os</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] self.setup_os_inspect()</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py", line 69, in setup_os_inspect</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] % self.imgfile)</div><div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] NovaException: No operating system found in /var/lib/nova/instances/70145a30-5602-4b66-b41b-d9737f737ce8/disk</div>
<div>2013-12-06 18:04:11.892 8751 TRACE nova.compute.manager [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] </div><div>2013-12-06 18:04:12.092 AUDIT nova.compute.manager [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Terminating instance</div>
<div>2013-12-06 18:04:13.405 8751 ERROR nova.virt.libvirt.driver [-] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] During wait destroy, instance disappeared.</div><div>2013-12-06 18:04:13.601 ERROR nova.virt.libvirt.vif [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Failed while unplugging vif</div>
<div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Traceback (most recent call last):</div><div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 456, in unplug_ovs_hybrid</div>
<div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] utils.execute('brctl', 'delif', br_name, v1_name, run_as_root=True)</div><div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/utils.py", line 239, in execute</div>
<div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] cmd=' '.join(cmd))</div><div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] ProcessExecutionError: Unexpected error while running command.</div>
<div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl delif qbr93cb730b-39 qvb93cb730b-39</div><div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Exit code: 1</div>
<div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stdout: ''</div><div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stderr: 'interface qvb93cb730b-39 does not exist!\n'</div>
<div>2013-12-06 18:04:13.601 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] </div><div>2013-12-06 18:04:13.754 ERROR nova.virt.libvirt.vif [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Failed while unplugging vif</div>
<div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Traceback (most recent call last):</div><div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 456, in unplug_ovs_hybrid</div>
<div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] utils.execute('brctl', 'delif', br_name, v1_name, run_as_root=True)</div><div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/utils.py", line 239, in execute</div>
<div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] cmd=' '.join(cmd))</div><div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] ProcessExecutionError: Unexpected error while running command.</div>
<div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl delif qbr69aa7db1-df qvb69aa7db1-df</div><div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Exit code: 1</div>
<div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stdout: ''</div><div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stderr: 'interface qvb69aa7db1-df does not exist!\n'</div>
<div>2013-12-06 18:04:13.754 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] </div><div>2013-12-06 18:04:13.909 ERROR nova.virt.libvirt.vif [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Failed while unplugging vif</div>
<div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Traceback (most recent call last):</div><div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 456, in unplug_ovs_hybrid</div>
<div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] utils.execute('brctl', 'delif', br_name, v1_name, run_as_root=True)</div><div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/utils.py", line 239, in execute</div>
<div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] cmd=' '.join(cmd))</div><div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] ProcessExecutionError: Unexpected error while running command.</div>
<div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl delif qbr556e0c0a-7b qvb556e0c0a-7b</div><div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Exit code: 1</div>
<div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stdout: ''</div><div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stderr: 'interface qvb556e0c0a-7b does not exist!\n'</div>
<div>2013-12-06 18:04:13.909 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] </div><div>2013-12-06 18:04:14.057 ERROR nova.virt.libvirt.vif [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Failed while unplugging vif</div>
<div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Traceback (most recent call last):</div><div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 456, in unplug_ovs_hybrid</div>
<div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] utils.execute('brctl', 'delif', br_name, v1_name, run_as_root=True)</div><div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] File "/usr/lib/python2.6/site-packages/nova/utils.py", line 239, in execute</div>
<div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] cmd=' '.join(cmd))</div><div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] ProcessExecutionError: Unexpected error while running command.</div>
<div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Command: sudo nova-rootwrap /etc/nova/rootwrap.conf brctl delif qbr186fa478-3a qvb186fa478-3a</div><div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Exit code: 1</div>
<div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stdout: ''</div><div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Stderr: 'interface qvb186fa478-3a does not exist!\n'</div>
<div>2013-12-06 18:04:14.057 8751 TRACE nova.virt.libvirt.vif [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] </div><div>2013-12-06 18:04:14.059 INFO nova.virt.libvirt.driver [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Deleting instance files /var/lib/nova/instances/70145a30-5602-4b66-b41b-d9737f737ce8</div>
<div>2013-12-06 18:04:15.011 ERROR nova.compute.manager [req-63f3917c-592f-4bc2-ab21-ad73f85c4f4c 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: 70145a30-5602-4b66-b41b-d9737f737ce8] Error: ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 865, in _run_instance\n set_access_ip=set_access_ip)\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1124, in _spawn\n LOG.exception(_(\'Instance failed to spawn\'), instance=instance)\n', ' File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__\n self.gen.next()\n', ' File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1120, in _spawn\n block_device_info)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1524, in spawn\n admin_pass=admin_password)\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1922, in _create_image\n instance=instance)\n', ' File "/usr/lib64/python2.6/contextlib.py", line 23, in __exit__\n self.gen.next()\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 1917, in _create_image\n mandatory=(\'files\',))\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 291, in inject_data\n fs.setup()\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py", line 106, in setup\n self.setup_os()\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py", line 50, in setup_os\n self.setup_os_inspect()\n', ' File "/usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py", line 69, in setup_os_inspect\n % self.imgfile)\n', 'NovaException: No operating system found in /var/lib/nova/instances/70145a30-5602-4b66-b41b-d9737f737ce8/disk\n']</div>
</div><div><br></div><div><br></div><div><br></div><div>LOG2:</div><div><br></div><div>2013-12-06 18:00:46.219 AUDIT nova.compute.manager [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Starting instance...</div>
<div>2013-12-06 18:00:47.090 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Attempting claim: memory 4096 MB, disk 40 GB, VCPUs 2</div>
<div>2013-12-06 18:00:47.091 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Total Memory: 64378 MB, used: 33280 MB</div>
<div>2013-12-06 18:00:47.091 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Memory limit: 96567 MB, free: 63287 MB</div>
<div>2013-12-06 18:00:47.091 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Total Disk: 886 GB, used: 320 GB</div>
<div>2013-12-06 18:00:47.092 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Disk limit not specified, defaulting to unlimited</div>
<div>2013-12-06 18:00:47.092 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Total CPU: 12 VCPUs, used: 16 VCPUs</div>
<div>2013-12-06 18:00:47.093 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] CPU limit: 192 VCPUs, free: 176 VCPUs</div>
<div>2013-12-06 18:00:47.093 AUDIT nova.compute.claims [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Claim successful</div>
<div>2013-12-06 18:00:50.362 INFO nova.virt.libvirt.driver [req-e0ba84f2-e9c9-4f00-8769-62ec9181ae1b 77aabd14a2e1453489dec37d7b174e58 fa47eeb8b84a4b6d87ef3332604894b0] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Creating image</div>
<div>2013-12-06 18:01:00.685 8751 INFO nova.compute.manager [-] Lifecycle event 0 on VM e93734fb-7956-4fa3-9bb6-7c8ff470c374</div><div>2013-12-06 18:01:00.887 8751 INFO nova.compute.manager [-] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] During sync_power_state the instance has a pending task. Skip.</div>
<div>2013-12-06 18:01:01.307 8751 INFO nova.virt.libvirt.driver [-] [instance: e93734fb-7956-4fa3-9bb6-7c8ff470c374] Instance spawned successfully.</div></div>