euca-run-instances fails to run VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Hisaki Ohara |
Bug Description
I tried to run VM with the docs,
http://
and
http://
the docs say using screen tools, but I tried with nohup and saved all the logs to files for error tracking.
anyway, failed when runnig euca-run-instances.
The nova-compute log messages is as follows:
=======
libvir: QEMU error : internal error process exited while connecting to monitor: chardev: opening backend "file" failed
ERROR:root:instance i-wt4mcqm1: Failed to spawn
Traceback (most recent call last):
File "/root/
yield self.driver.
File "/usr/lib/
result = g.send(result)
File "/root/
yield self._conn.
File "/usr/lib/
if ret is None:raise libvirtError(
libvirtError: internal error process exited while connecting to monitor: chardev: opening backend "file" failed
2010-10-06 00:13:04+0900 [-] (root): ERROR instance i-wt4mcqm1: Failed to spawn
2010-10-06 00:13:04+0900 [-] Traceback (most recent call last):
2010-10-06 00:13:04+0900 [-] File "/root/
2010-10-06 00:13:04+0900 [-] yield self.driver.
2010-10-06 00:13:04+0900 [-] File "/usr/lib/
2010-10-06 00:13:04+0900 [-] result = g.send(result)
2010-10-06 00:13:04+0900 [-] File "/root/
2010-10-06 00:13:04+0900 [-] yield self._conn.
2010-10-06 00:13:04+0900 [-] File "/usr/lib/
2010-10-06 00:13:04+0900 [-] if ret is None:raise libvirtError(
2010-10-06 00:13:04+0900 [-] libvirtError: internal error process exited while connecting to monitor: chardev: opening backend "file" failed
2010-10-06 00:13:04+0900 [-]
libvir: QEMU error : Domain not found: no domain with matching name 'i-wt4mcqm1'
2010-10-06 00:13:04+0900 [-] Unhandled error in Deferred:
2010-10-06 00:13:04+0900 [-] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/root/
File "/root/
state = self.driver.
File "/root/
File "/usr/lib/
if ret is None:raise libvirtError(
=======
and.. libvirt log is like this.
=======
root@gagamels2:
LC_ALL=C PATH=/usr/
chardev: opening backend "file" failed
=======
so I tried to run the kvm command directly in command line..
but errors like this.. and kvm didn't run.
=======
TUNGETIFF ioctl() failed: Bad file descriptor
TUNSETOFFLOAD ioctl() failed: Bad file descriptor
qemu: could not open disk image console=ttyS0: No such file or directory
=======
so I changed -append option
from -append root=/dev/vda1 console=ttyS0
to -append 'root=/dev/vda1 console=ttyS0'
and tried again...
so the messages "qemu: could not open disk image console=ttyS0: No such file or directory" disappeared...
(but TUNGETIFF and TUNSETOFFLOAD related messages was still there..
I guess it is relaged with -net tap blabla option. am I wrong?)
and It seemed that kvm was running..
So, I updated append option from $NOVA_DIR/
and restart all the nova modules..
but same errors again...
I did search the bugs list about euca-run-instances problems, but my situation wasn't there..
What's wrong with my test and machine ?
QEMU or KVM env?
Related branches
- Jay Pipes (community): Approve
-
Diff: 11 lines (+1/-0)1 file modifiednova/virt/images.py (+1/-0)
Changed in nova: | |
status: | Triaged → Fix Released |
Hi Hisaki! Assigning this bug to you since you graciously supplied a hopeful fix! :) We'll review the merge proposal shortly. Thanks!