Ask Your Question
0

Icehouse, Ubuntu Precise "Image" == VM deployment failing

asked 2014-05-14 13:28:20 -0500

Sean gravatar image

updated 2014-05-14 13:37:09 -0500

I'm trying out Icehouse ... well, Openstack in general .. for the first time.

I've got Icehouse installed on 3 VMs [controller, network, and compute1] inside our ESX environment. Using the Cirrus image, I can deploy VMs without any issues.

Using the directions in the Openstack Image UG, I created a Ubuntu 12.04 image. Using virt-manager I was able to get into the QCOW2 image and make modifications. However, when I try provisioning from the Openstack image created from the QCOW2 image I built (and ingested into Openstack), the VM's console very sadly shows the below.

So sorta scratching my head at the moment. Any ideas what this could be ?

[    4.012826] Registering the dns_resolver key type
[    4.016206] registered taskstats version 1
[    4.075962] modprobe[47] trap invalid opcode ip:7fc5825f8a0b sp:7fffdbac27b8 error:0 in libc.so.6[7fc5825d7000+1b5000]
[    4.103531] modprobe[49] trap invalid opcode ip:7f1588818a0b sp:7fff133ab858 error:0 in libc.so.6[7f15887f7000+1b5000]
[    4.129462] modprobe[53] trap invalid opcode ip:7ff4e1c74a0b sp:7fff048eb078 error:0 in libc.so.6[7ff4e1c53000+1b5000]
[    4.147338] modprobe[55] trap invalid opcode ip:7f393dba3a0b sp:7fff36e94a68 error:0 in libc.so.6[7f393db82000+1b5000]
[    4.163874] modprobe[59] trap invalid opcode ip:7fafa84c0a0b sp:7fff5d081948 error:0 in libc.so.6[7fafa849f000+1b5000]
[    4.184892] modprobe[61] trap invalid opcode ip:7f0c30d44a0b sp:7fff009c95d8 error:0 in libc.so.6[7f0c30d23000+1b5000]
[    4.193160]   Magic number: 14:673:291
[    4.193622] tty tty24: hash matches
[    4.194455] rtc_cmos 00:01: setting system clock to 2014-05-14 18:16:00 UTC (1400091360)
[    4.196614] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[    4.196926] EDD information not available.
[    4.258631] Freeing unused kernel memory: 924k freed
[    4.283481] Write protecting the kernel read-only data: 12288k
[    4.288887] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    4.400730] Freeing unused kernel memory: 1584k freed
[    4.485724] Freeing unused kernel memory: 1188k freed
[    4.503391] init[1] trap invalid opcode ip:7f932839ca0b sp:7fffb7cdf368 error:0 in libc.so.6[7f932837b000+1b5000]
[    4.508878] Kernel panic - not syncing: Attempted to kill init!
[    4.509382] Pid: 1, comm: init Not tainted 3.2.0-61-generic #93-Ubuntu
[    4.509738] Call Trace:
[    4.510227]  [<ffffffff816492f5>] panic+0x91/0x1a4
[    4.510596]  [<ffffffff813be6ab>] ? free_tty_struct+0x3b/0x50
[    4.510981]  [<ffffffff8106c495>] forget_original_parent+0x245/0x250
[    4.511317]  [<ffffffff8106c4b7>] exit_notify+0x17/0x110
[    4.511584]  [<ffffffff8106cd42>] do_exit+0x1f2/0x450
[    4.511831]  [<ffffffff8106d144>] do_group_exit+0x44/0xa0
[    4.512167]  [<ffffffff8107e01c>] get_signal_to_deliver+0x21c/0x420
[    4.512490]  [<ffffffff81014855>] do_signal+0x45/0x130
[    4.512759]  [<ffffffff81014f55>] ? do_invalid_op+0x95/0xb0
[    4.513005]  [<ffffffff811463a5>] ? sys_mmap_pgoff+0x155/0x230
[    4.513310]  [<ffffffff81014b05>] do_notify_resume+0x65/0x80
[    4.513585]  [<ffffffff816622fc>] retint_signal+0x48/0x8c
edit retag flag offensive close merge delete

Comments

Something I didn't add to this question I now see I should have added. This is Openstack running on ESX v5.5. Also the ESX host this is on doesn't have that hpv.enable or maybe it's vpv.enable turned on so basically KVM isn't enabled. This is truly QEMU-only mode.

Related maybe ?

Sean gravatar imageSean ( 2014-05-29 16:00:28 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-06-05 13:56:22 -0500

Sean gravatar image

Got the answer - from this web page: https://communities.vmware.com/docs/D...

We're running ESX 5.5 so nested hypervisor support is enabled by default on the ESX hosts. So I shut down my Openstack Compute1 VM, Settings -> CPU -> Checked "Expose hardware assisted virtualization to the guest OS".

Restarted the VM, changed virt_type in /etc/nova/nova.conf like so:

[libvirt]
#virt_type = qemu
virt_type = kvm

Restarted the VM and confirmed KVM was enabled .. indeed it was.

Deployed an instance using the Ubuntu 12.04 Precise image, waited a bit, and POOF ... got a working console :)

edit flag offensive delete link more
1

answered 2014-05-22 13:44:53 -0500

SGPJ gravatar image

Have you tried with default cirros image and got any error. Then check with this image.

edit flag offensive delete link more

Comments

Yes, the default cirros image works just fine.

The above is my first attempt at making a Ubuntu 12.04 image for Openstack to deploy. The buildout of the image worked fine as per the Openstack Image User Guide.

Provisioning from it is what you see above.

Sean gravatar imageSean ( 2014-05-29 15:58:24 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-05-14 13:28:20 -0500

Seen: 454 times

Last updated: Jun 05 '14