I saw this once before when I was less confident I knew how to run nova. I cannot reliably reproduce this problem. Here is the contents of the directory supposedly containng the missing file:
root@xg11eth0:~# ls -l /var/lib/nova/instances/instance-00000001/
total 82492
prw-rw---- 1 root root 0 2011-10-21 16:21 console.fifo.in
prw-rw---- 1 root root 0 2011-10-21 16:22 console.fifo.out
-rw-rw-r-- 1 nova nova 65545 2011-10-21 16:22 console.ring
-rw-r--r-- 1 root root 75497472 2011-10-21 16:26 disk
-rw-r--r-- 1 root root 12582912 2011-10-21 16:22 disk.local
-rw-rw-r-- 1 root root 4732048 2011-10-21 16:21 kernel
-rw-rw-r-- 1 nova nova 1750 2011-10-21 16:31 libvirt.xml
This was running from packages using oneiric-proposed
2011-10-21 16:31:54,147 DEBUG nova.utils [-] Running cmd (subprocess): mkdir -p /var/lib/nova/instances/instance-00000001/ from (pid=1185) execute /usr/lib/python2.7/dist-package\
s/nova/utils.py:168
2011-10-21 16:31:54,153 INFO nova.virt.libvirt_conn [-] instance instance-00000001: Creating image
2011-10-21 16:31:54,153 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo from (pid=1185) execute /usr/lib/pyth\
on2.7/dist-packages/nova/utils.py:168
2011-10-21 16:31:54,173 DEBUG nova.utils [-] Result was 1 from (pid=1185) execute /usr/lib/python2.7/dist-packages/nova/utils.py:183
2011-10-21 16:31:54,174 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/virt/libvirt/connection.py", line 676, in spawn
(nova.exception): TRACE: block_device_info=block_device_info)
(nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 928, in _create_image
(nova.exception): TRACE: run_as_root=True)
(nova.exception): TRACE: File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 191, in execute
(nova.exception): TRACE: cmd=' '.join(cmd))
(nova.exception): TRACE: ProcessExecutionError: Unexpected error while running command.
(nova.exception): TRACE: Command: sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo
(nova.exception): TRACE: Exit code: 1
(nova.exception): TRACE: Stdout: ''
(nova.exception): TRACE: Stderr: "chown: cannot access `/var/lib/nova/instances/instance-00000001/console.fifo': No such file or directory\n"
(nova.exception): TRACE:
2011-10-21 16:31:54,192 ERROR nova.compute.manager [-] Instance '1' failed to spawn. Is virtualization enabled in the BIOS? Details: Unexpected error while running command.
Command: sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo
Exit code: 1
Stdout: ''
Stderr: "chown: cannot access `/var/lib/nova/instances/instance-00000001/console.fifo': No such file or directory\n"
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 424, in _run_instance
(nova.compute.manager): TRACE: network_info, block_device_info)
(nova.compute.manager): TRACE: File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 129, in wrapped
(nova.compute.manager): TRACE: raise Error(str(e))
(nova.compute.manager): TRACE: Error: Unexpected error while running command.
(nova.compute.manager): TRACE: Command: sudo chown 107 /var/lib/nova/instances/instance-00000001/console.fifo
(nova.compute.manager): TRACE: Exit code: 1
(nova.compute.manager): TRACE: Stdout: ''
(nova.compute.manager): TRACE: Stderr: "chown: cannot access `/var/lib/nova/instances/instance-00000001/console.fifo': No such file or directory\n"
(nova.compute.manager): TRACE:
2011-10-21 16:32:43,346 INFO nova.compute.manager [-] Updating host status
2011-10-21 16:32:44,184 INFO nova.compute.manager [-] Found 1 in the database and 0 on the hypervisor.
2011-10-21 16:33:45,087 INFO nova.compute.manager [-] Found 1 in the database and 0 on the hypervisor.
I saw this once before when I was less confident I knew how to run nova. I cannot reliably reproduce this problem. Here is the contents of the directory supposedly containng the missing file:
root@xg11eth0:~# ls -l /var/lib/ nova/instances/ instance- 00000001/
total 82492
prw-rw---- 1 root root 0 2011-10-21 16:21 console.fifo.in
prw-rw---- 1 root root 0 2011-10-21 16:22 console.fifo.out
-rw-rw-r-- 1 nova nova 65545 2011-10-21 16:22 console.ring
-rw-r--r-- 1 root root 75497472 2011-10-21 16:26 disk
-rw-r--r-- 1 root root 12582912 2011-10-21 16:22 disk.local
-rw-rw-r-- 1 root root 4732048 2011-10-21 16:21 kernel
-rw-rw-r-- 1 nova nova 1750 2011-10-21 16:31 libvirt.xml
This was running from packages using oneiric-proposed
2011-10-21 16:31:54,147 DEBUG nova.utils [-] Running cmd (subprocess): mkdir -p /var/lib/ nova/instances/ instance- 00000001/ from (pid=1185) execute /usr/lib/ python2. 7/dist- package\ libvirt_ conn [-] instance instance-00000001: Creating image nova/instances/ instance- 00000001/ console. fifo from (pid=1185) execute /usr/lib/pyth\ packages/ nova/utils. py:168 python2. 7/dist- packages/ nova/utils. py:183 python2. 7/dist- packages/ nova/exception. py", line 98, in wrapped python2. 7/dist- packages/ nova/virt/ libvirt/ connection. py", line 676, in spawn info=block_ device_ info) python2. 7/dist- packages/ nova/virt/ libvirt/ connection. py", line 928, in _create_image python2. 7/dist- packages/ nova/utils. py", line 191, in execute nError: Unexpected error while running command. nova/instances/ instance- 00000001/ console. fifo nova/instances/ instance- 00000001/ console. fifo': No such file or directory\n" manager [-] Instance '1' failed to spawn. Is virtualization enabled in the BIOS? Details: Unexpected error while running command. nova/instances/ instance- 00000001/ console. fifo nova/instances/ instance- 00000001/ console. fifo': No such file or directory\n" manager) : TRACE: Traceback (most recent call last): manager) : TRACE: File "/usr/lib/ python2. 7/dist- packages/ nova/compute/ manager. py", line 424, in _run_instance manager) : TRACE: network_info, block_device_info) manager) : TRACE: File "/usr/lib/ python2. 7/dist- packages/ nova/exception. py", line 129, in wrapped manager) : TRACE: raise Error(str(e)) manager) : TRACE: Error: Unexpected error while running command. manager) : TRACE: Command: sudo chown 107 /var/lib/ nova/instances/ instance- 00000001/ console. fifo manager) : TRACE: Exit code: 1 manager) : TRACE: Stdout: '' manager) : TRACE: Stderr: "chown: cannot access `/var/lib/ nova/instances/ instance- 00000001/ console. fifo': No such file or directory\n" manager) : TRACE: manager [-] Updating host status manager [-] Found 1 in the database and 0 on the hypervisor. manager [-] Found 1 in the database and 0 on the hypervisor.
s/nova/utils.py:168
2011-10-21 16:31:54,153 INFO nova.virt.
2011-10-21 16:31:54,153 DEBUG nova.utils [-] Running cmd (subprocess): sudo chown 107 /var/lib/
on2.7/dist-
2011-10-21 16:31:54,173 DEBUG nova.utils [-] Result was 1 from (pid=1185) execute /usr/lib/
2011-10-21 16:31:54,174 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: return f(*args, **kw)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: block_device_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: run_as_root=True)
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: cmd=' '.join(cmd))
(nova.exception): TRACE: ProcessExecutio
(nova.exception): TRACE: Command: sudo chown 107 /var/lib/
(nova.exception): TRACE: Exit code: 1
(nova.exception): TRACE: Stdout: ''
(nova.exception): TRACE: Stderr: "chown: cannot access `/var/lib/
(nova.exception): TRACE:
2011-10-21 16:31:54,192 ERROR nova.compute.
Command: sudo chown 107 /var/lib/
Exit code: 1
Stdout: ''
Stderr: "chown: cannot access `/var/lib/
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
2011-10-21 16:32:43,346 INFO nova.compute.
2011-10-21 16:32:44,184 INFO nova.compute.
2011-10-21 16:33:45,087 INFO nova.compute.