Ask Your Question
1

How can we run OpenStack Folsom inside of an ESXi VM?

asked 2013-05-12 18:02:58 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I want to run OpenStack Folsom inside of an ESXi VM for a lab environment. Motiviation for this stems from wanting to be able to restore snapshots to a known good working state.

I get OpenStack installed and running in the VM (on ESXi). My nove-compute.conf looks like this ...

root@cloud1:~# cat /etc/nova/nova-compute.conf 
[DEFAULT]
compute_driver=libvirt.LibvirtDriver
libvirt_type=qemu

Trouble is, I can't get an image to boot.

I have tried the following two images...

cirros-0.3.0-x86_64-disk.img
cirros-0.3.0-i386-disk.img

When I try to boot a 64bit image I get this error:

This kernel requires an x86-64 CPU, but only detected an i686 CPU

When I try to boot the i386 image the log spits out some hardware messages that look like their from dmesg, but that's it... it seems to crash, but when I checked all my nova logs I couldn't figure out why.

Any help is appreciated. It seems no one has put anything up on google about how to run OpenStack inside of an ESXi VM...only VBox and Fusion. As I said this is very suprising because for a lab environment where students are able to mess up their OpenStack controller, snapshots will really come in handy.

For what it's worth I'm running ESXi 5.1 & have a cluster configured in vCenter for 2 Rackable C1001's L5520 nahalem -vt processors. I plan to run everything on one VM/node, and use the other as a compute node.

Clarifying one more time, these ESXi nodes are running only 1 VM each, cloud1, and cloud2 respectively.

edit retag flag offensive close merge delete

Comments

VirtualBox has snapshots.

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-05-14 03:43:19 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-05-14 02:13:36 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I solved this. So the problem was that inside of my ESXi VM, I was running 32bit Ubuntu (i386 image). For whatever reason that didn't work with either a 32bit cirros or 64bit cirros image. So I ended up rebuilding the VM and installing the AMD64 version of Ubuntu inside the VM. Then when I launched an openstack VM using the 64bit cirros image it worked perfectly !

edit flag offensive delete link more
0

answered 2013-05-14 01:19:31 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Did you confirm that VT-x is enabled if you have intel based server or AMD-V is enabled if you have AMD based server in host bios settings?

edit flag offensive delete link more

Comments

Hey there thanks for the reply. Just to reply to you for others who might see this -vt is enabled in the BIOS and these a intel nahalem L5520 processors.

tuxninja gravatar imagetuxninja ( 2013-05-14 02:12:13 -0500 )edit

I preassumed that you were using x64 image inside VM. Anyways, thanks!

Ankit gravatar imageAnkit ( 2013-05-14 11:56:26 -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: 2013-05-12 18:02:58 -0500

Seen: 638 times

Last updated: May 14 '13