nova can not boot instance from image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
XCP |
New
|
Undecided
|
Unassigned |
Bug Description
I am using Debian Wheezy with xcp. I am upload image.raw into glance:
#glance add name=xen.raw disk_format=raw container_
Then try to boot:
# nova boot --flavor 1 --image e132ec71-
Last trace from nova-compute.log:
2012-07-26 13:15:04 ERROR nova.rpc.amqp [req-b2e99aed-
2012-07-26 13:15:04 TRACE nova.rpc.amqp Traceback (most recent call last):
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp rval = node_func(
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp return f(*args, **kw)
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp sys.exc_info())
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self.gen.next()
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
in decorated_function
2012-07-26 13:15:04 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs)
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
in run_instance
2012-07-26 13:15:04 TRACE nova.rpc.amqp do_run_instance()
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp retval = f(*args, **kwargs)
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
in do_run_instance
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._run_
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
in _run_instance [109/1028]
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._set_
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self.gen.next()
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
in _run_instance
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._deallocat
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self.gen.next()
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
in _run_instance
2012-07-26 13:15:04 TRACE nova.rpc.amqp injected_files, admin_password)
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
in _spawn
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._legacy_
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._vmops.
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp undo_mgr.
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._rollback()
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self.gen.next()
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp boot_instance_
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp rv = f(*args, **kwargs)
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._spawn(
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp self._start(
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp False, False)
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp return tpool.execute(f, *args)
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp rv = meth(*args,
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp return self.__
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp result = _parse_
2012-07-26 13:15:04 TRACE nova.rpc.amqp File "/usr/lib/
2012-07-26 13:15:04 TRACE nova.rpc.amqp raise Failure(
2012-07-26 13:15:04 TRACE nova.rpc.amqp Failure: ['INTERNAL_ERROR', 'device model failed to initialise: qemu-dm exit
ted unexpectedly']
2012-07-26 13:15:04 TRACE nova.rpc.amqp
Can you launch a VM without using nova?
This looks like the xcp-xapi package is not working on your system.