Created
August 17, 2012 00:05
-
-
Save jonvargas/3374691 to your computer and use it in GitHub Desktop.
OpenStack fails to launch VirtualMachine on Ubuntu 12.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
processor : 0 | |
vendor_id : AuthenticAMD | |
cpu family : 16 | |
model : 10 | |
model name : AMD Phenom(tm) II X6 1090T Processor | |
stepping : 0 | |
cpu MHz : 3197.748 | |
cache size : 512 KB | |
physical id : 0 | |
siblings : 2 | |
core id : 0 | |
cpu cores : 2 | |
apicid : 0 | |
initial apicid : 0 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 5 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni lahf_lm cmp_legacy cr8_legacy | |
bogomips : 6395.49 | |
TLB size : 1024 4K pages | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 48 bits physical, 48 bits virtual | |
power management: | |
processor : 1 | |
vendor_id : AuthenticAMD | |
cpu family : 16 | |
model : 10 | |
model name : AMD Phenom(tm) II X6 1090T Processor | |
stepping : 0 | |
cpu MHz : 3197.748 | |
cache size : 512 KB | |
physical id : 0 | |
siblings : 2 | |
core id : 1 | |
cpu cores : 2 | |
apicid : 1 | |
initial apicid : 1 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 5 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni lahf_lm cmp_legacy cr8_legacy | |
bogomips : 6330.02 | |
TLB size : 1024 4K pages | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 48 bits physical, 48 bits virtual | |
power management: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
See error "libvirtError: internal error no supported architecture for os type 'hvm'" here below: | |
2012-08-16 17:27:50 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): env LC_ALL=C LANG=C qemu-img info /var/lib/nova/instances/_base/26716ada0ecfd128463b63f0e1901b42a2 | |
8e1e5e.converted from (pid=18006) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219 | |
2012-08-16 17:27:50 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Attempting to grab semaphore "/var/lib/nova/instances/_base/26716ada0ecfd128463b63f0e1901b42a28e1e5e" for method "copy_and_extend"... from (pid=18006) inner /usr/lib/python2.7/dist-packages/nova/utils.py:927 | |
2012-08-16 17:27:50 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Got semaphore "/var/lib/nova/instances/_base/26716ada0ecfd128463b63f0e1901b42a28e1e5e" for method "copy_and_extend"... from | |
(pid=18006) inner /usr/lib/python2.7/dist-packages/nova/utils.py:931 | |
2012-08-16 17:27:50 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): qemu-img create -f qcow2 -o cluster_size=2M,backing_file=/var/lib/nova/instances/_base/26716ada0ec | |
fd128463b63f0e1901b42a28e1e5e /var/lib/nova/instances/instance-00000001/disk from (pid=18006) execute /usr/lib/python2.7/dist-packages/ | |
nova/utils.py:219 | |
2012-08-16 17:27:50 INFO nova.virt.libvirt.connection [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6 | |
cd754849e3815db441d41a3ddf] [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] Injecting key into image 94d44bb3-54f7-45a1-bf39-e52018191 | |
7d8 | |
2012-08-16 17:27:50 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap qemu-nbd -c /dev/nbd15 /var/lib/nova/instances/instance-00000001/disk from (pid | |
=18006) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219 | |
2012-08-16 17:27:51 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap mount /dev/mapper/nbd15p1 /tmp/tmpLYf8Yo from (pid=18006) execute /usr/lib/pyth | |
on2.7/dist-packages/nova/utils.py:219 | |
2012-08-16 17:27:52 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap mkdir -p /tmp/tmpLYf8Yo/root/.ssh from (pid=18006) execute /usr/lib/python2.7/d | |
ist-packages/nova/utils.py:219 | |
2012-08-16 17:27:52 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap chown root /tmp/tmpLYf8Yo/root/.ssh from (pid=18006) execute /usr/lib/python2.7 | |
/dist-packages/nova/utils.py:219 | |
2012-08-16 17:27:52 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap chmod 700 /tmp/tmpLYf8Yo/root/.ssh from (pid=18006) execute /usr/lib/python2.7/ | |
dist-packages/nova/utils.py:219 | |
2012-08-16 17:27:52 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap mkdir -p /tmp/tmpLYf8Yo/root/.ssh from (pid=18006) execute /usr/lib/python2.7/d | |
ist-packages/nova/utils.py:219 | |
2012-08-16 17:27:52 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap tee -a /tmp/tmpLYf8Yo/root/.ssh/authorized_keys from (pid=18006) execute /usr/l | |
ib/python2.7/dist-packages/nova/utils.py:219 | |
2012-08-16 17:27:52 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap umount /dev/mapper/nbd15p1 from (pid=18006) execute /usr/lib/python2.7/dist-pac | |
kages/nova/utils.py:219 | |
2012-08-16 17:27:55 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap kpartx -d /dev/nbd15 from (pid=18006) execute /usr/lib/python2.7/dist-packages/ | |
nova/utils.py:219 | |
2012-08-16 17:27:55 DEBUG nova.utils [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815db44 | |
1d41a3ddf] Running cmd (subprocess): sudo nova-rootwrap qemu-nbd -d /dev/nbd15 from (pid=18006) execute /usr/lib/python2.7/dist-package | |
s/nova/utils.py:219 | |
2012-08-16 17:27:55 ERROR nova.compute.manager [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd75484 | |
9e3815db441d41a3ddf] [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] Instance failed to spawn | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] Traceback (most recent call last): | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] File "/usr/lib/python2.7/dist-package | |
s/nova/compute/manager.py", line 598, in _spawn | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] self._legacy_nw_info(network_info), | |
block_device_info) | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] File "/usr/lib/python2.7/dist-package | |
s/nova/exception.py", line 114, in wrapped | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] return f(*args, **kw) | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] File "/usr/lib/python2.7/dist-package | |
s/nova/virt/libvirt/connection.py", line 925, in spawn | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] self._create_new_domain(xml) | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] File "/usr/lib/python2.7/dist-package | |
s/nova/virt/libvirt/connection.py", line 1587, in _create_new_domain | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] domain = self._conn.defineXML(xml) | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] File "/usr/lib/python2.7/dist-package | |
s/libvirt.py", line 2199, in defineXML | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] if ret is None:raise libvirtError(' | |
virDomainDefineXML() failed', conn=self) | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] libvirtError: internal error no support | |
ed architecture for os type 'hvm' | |
2012-08-16 17:27:55 TRACE nova.compute.manager [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] | |
2012-08-16 17:27:55 DEBUG nova.compute.manager [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd75484 | |
9e3815db441d41a3ddf] [instance: 52e28b2f-1939-4edf-b575-b099a92143f7] Deallocating network for instance from (pid=18006) _deallocate_ne | |
twork /usr/lib/python2.7/dist-packages/nova/compute/manager.py:622 | |
2012-08-16 17:27:55 DEBUG nova.rpc.amqp [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815d | |
b441d41a3ddf] Making asynchronous cast on network... from (pid=18006) cast /usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:351 | |
2012-08-16 17:27:56 ERROR nova.rpc.amqp [req-1dc6cf63-be0b-4823-925d-d41e85796b8d 8bbd6cd7bd8242e89539e680824ef0f7 e95db6cd754849e3815d | |
b441d41a3ddf] Exception during message handling | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp Traceback (most recent call last): | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 253, in _process_data | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp rval = node_func(context=ctxt, **node_args) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp return f(*args, **kw) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 183, in decorated_funct | |
ion | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp sys.exc_info()) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self.gen.next() | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_funct | |
ion | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp return function(self, context, instance_uuid, *args, **kwargs) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 657, in run_instance | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp do_run_instance() | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 945, in inner | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp retval = f(*args, **kwargs) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 656, in do_run_instance | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self._run_instance(context, instance_uuid, **kwargs) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 457, in _run_instance | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self._set_instance_error_state(context, instance_uuid) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self.gen.next() | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 438, in _run_instance | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self._deallocate_network(context, instance) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__ | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self.gen.next() | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 435, in _run_instance | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp injected_files, admin_password) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 598, in _spawn | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self._legacy_nw_info(network_info), block_device_info) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp return f(*args, **kw) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 925, in spawn | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp self._create_new_domain(xml) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 1587, in _creat | |
e_new_domain | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp domain = self._conn.defineXML(xml) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2199, in defineXML | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp libvirtError: internal error no supported architecture for os type 'hvm' | |
2012-08-16 17:27:56 TRACE nova.rpc.amqp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<capabilities> | |
<host> | |
<uuid>bf60be34-d915-45e4-9040-ed40794906a7</uuid> | |
<cpu> | |
<arch>x86_64</arch> | |
<model>Opteron_G1</model> | |
<vendor>AMD</vendor> | |
<topology sockets='1' cores='2' threads='1'/> | |
<feature name='cr8legacy'/> | |
<feature name='cmp_legacy'/> | |
<feature name='lahf_lm'/> | |
<feature name='3dnow'/> | |
<feature name='3dnowext'/> | |
<feature name='rdtscp'/> | |
<feature name='fxsr_opt'/> | |
<feature name='ht'/> | |
<feature name='vme'/> | |
</cpu> | |
<power_management/> | |
<migration_features> | |
<live/> | |
<uri_transports> | |
<uri_transport>tcp</uri_transport> | |
</uri_transports> | |
</migration_features> | |
<topology> | |
<cells num='1'> | |
<cell id='0'> | |
<cpus num='2'> | |
<cpu id='0'/> | |
<cpu id='1'/> | |
</cpus> | |
</cell> | |
</cells> | |
</topology> | |
<secmodel> | |
<model>apparmor</model> | |
<doi>0</doi> | |
</secmodel> | |
</host> | |
<guest> | |
<os_type>hvm</os_type> | |
<arch name='i686'> | |
<wordsize>32</wordsize> | |
<emulator>/usr/bin/qemu-system-x86_64</emulator> | |
<machine>pc-1.0</machine> | |
<machine canonical='pc-1.0'>pc</machine> | |
<machine>pc-0.14</machine> | |
<machine>pc-0.13</machine> | |
<machine>pc-0.12</machine> | |
<machine>pc-0.11</machine> | |
<machine>pc-0.10</machine> | |
<machine>isapc</machine> | |
<domain type='qemu'> | |
</domain> | |
</arch> | |
<features> | |
<cpuselection/> | |
<deviceboot/> | |
<pae/> | |
<nonpae/> | |
<acpi default='on' toggle='yes'/> | |
<apic default='on' toggle='no'/> | |
</features> | |
</guest> | |
<guest> | |
<os_type>hvm</os_type> | |
<arch name='x86_64'> | |
<wordsize>64</wordsize> | |
<emulator>/usr/bin/qemu-system-x86_64</emulator> | |
<machine>pc-1.0</machine> | |
<machine canonical='pc-1.0'>pc</machine> | |
<machine>pc-0.14</machine> | |
<machine>pc-0.13</machine> | |
<machine>pc-0.12</machine> | |
<machine>pc-0.11</machine> | |
<machine>pc-0.10</machine> | |
<machine>isapc</machine> | |
<domain type='qemu'> | |
</domain> | |
</arch> | |
<features> | |
<cpuselection/> | |
<deviceboot/> | |
<acpi default='on' toggle='yes'/> | |
<apic default='on' toggle='no'/> | |
</features> | |
</guest> | |
</capabilities> |
Ah I fixed it by changing /etc/nova/nova-compute.conf libvirt_type=qemu and installing nova-compute-qemu package instead of nova-compute-kvm.
libvirtError: internal error no supported architecture for os type 'hvm'
I counter the same problem, turned out I didn't enable VT on motherboard.
libvirtError: internal error no supported architecture for os type 'hvm'
I counter the same problem, turned out I didn't enable VT on motherboard.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey did you fix it? I'm encountering the same problem. Any pointers would be great! Thanks