Nova can't spawn new instance with "virDomain instance has no attribute 'createWithFlags'" error on RHEL6.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Andrey Brindeyev |
Bug Description
# virsh list --all
Id Name State
-------
# source novarc
# euca-run-instances ami-2a835aae --kernel aki-34cf3629 --ramdisk ari-217d77df -k rhelkey -t m1.tiny
RESERVATION r-i9nxdcy8 rhelimg default
INSTANCE i-00000001 ami-2a835aae scheduling rhelkey (rhelimg, None) 0 m1.tiny 2011-04-
2011-04-11 12:52:51,544 nova.virt.
2011-04-11 12:52:51,641 nova.utils: Attempting to grab semaphore "34cf3629" for method "call_if_
2011-04-11 12:52:51,656 nova.utils: Running cmd (subprocess): cp /var/lib/
2011-04-11 12:52:51,693 nova.utils: Attempting to grab semaphore "217d77df" for method "call_if_
2011-04-11 12:52:51,707 nova.utils: Running cmd (subprocess): cp /var/lib/
2011-04-11 12:52:51,759 nova.utils: Attempting to grab semaphore "2a835aae_sm" for method "call_if_
2011-04-11 12:52:52,024 nova.utils: Running cmd (subprocess): qemu-img create -f qcow2 -o cluster_
2011-04-11 12:52:52,064 nova.virt.
2011-04-11 12:52:52,081 nova.compute.disk: Mounting disk...
2011-04-11 12:52:56,717 nova.compute.disk: Injecting SSH key...
2011-04-11 12:52:57,474 nova.compute.disk: Deleting guestfs object...
2011-04-11 12:52:59,280 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: domain = self._create_
(nova.exception): TRACE: File "/usr/lib/
(nova.exception): TRACE: domain.
(nova.exception): TRACE: AttributeError: virDomain instance has no attribute 'createWithFlags'
(nova.exception): TRACE:
2011-04-11 12:52:59,281 nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
2011-04-11 12:53:39,710 nova.compute.
2011-04-11 12:54:39,742 nova.compute.
Changed in nova: | |
status: | New → Invalid |
Forgot to specify environment: bzr972 + patch from Bug #755666