[Openstack] OpenStack in OpenStack Without a 'VT-x' CPU

Dugger, Donald D donald.d.dugger at intel.com
Wed May 1 15:20:53 UTC 2013


Oh, my bad.  I interpreted the original question as being about OpenStack on OpenStack which is the bare metal use case I was talking about.

I see the real question is OpenStack `in` OpenStack, which I guess would be a nested virtualization case.  The points about nested virt for VTx in KVM still apply, there is some support in the upstream KVM tree but it's still a work in progress

Conceptually, you shouldn't need nested virt support for OS in OS, just run KVM on the bare metal and then `qemu' inside the virtualized guest.  Or, you wouldn't need VTx at all, just run `qemu' everywhere.  Performance would be a concern and I have my doubts about getting the networking to work properly but, in theory, it should work.

Maybe a bigger question is why do this at all?  If you just want to gain experience working with OpenStack why not just run a single node cloud.  You don't get experience controlling 100s of compute nodes but you're not going to be able to run that many nested instances anyway.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Ph: 303/443-3786


-----Original Message-----
From: Lloyd Dewolf [mailto:lloydostack at gmail.com] 
Sent: Wednesday, May 01, 2013 5:14 AM
To: Dugger, Donald D; chris at christopherbartels.com
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] OpenStack in OpenStack Without a 'VT-x' CPU

On Tue, Apr 30, 2013 at 2:14 PM, Dugger, Donald D
<donald.d.dugger at intel.com> wrote:
> I don't claim to be an expert on OpenStack on OpenStack but I don't believe
> you need VTx at all.  IPMI, yes you need that, but not VTx.

How would (physical) IPMI come in to this equation? If I understand
here we are talking about using virtualization on a single server to
gain experience with configuring and operating OpenStack clusters.


On Tue, Apr 30, 2013 at 1:12 PM, Chris Bartels
<chris at christopherbartels.com> wrote:
>
> tl;dr-
>
> 1.       Does the nested KVM running inside the OpenStack that runs inside
> another OpenStack get to take advantage of the VT-x of the host CPU?

AFAIR, there has been nested guest support in kvm_amd for a while, and
more recently kvm_intel also has support...
These blog posts from a year ago seem relevant:
http://kashyapc.wordpress.com/2012/01/14/nested-virtualization-with-kvm-intel/
http://kashyapc.wordpress.com/2012/01/18/nested-virtualization-with-kvm-and-amd/



> 2.       Does OpenStack on OpenStack running KVM in each need VT-x on the
> host CPU at all to run properly?

Sort of, hardware support is required to truly use KVM, but when we
say KVM we're lumping in QEMU. KVM fails back to QEMU.

AFAIK, other virtualization technologies like vmware and virtualbox
require VT-x/amd-v for 64-bit guest virtualization, and I think some
Windows guests require tech like Extended Page Table (EPT). I've
previously played with https://github.com/lorin/openstack-ansible


If it was me, I would be concerned that without hardware
virtualization the performance would be so poor that OpenStack on
OpenStack would be too frustrating to use -- though you might find
some interesting bugs related to race conditions and timeouts :p


Hope that helps,
--
@lloyddewolf
http://www.pistoncloud.com/




More information about the Openstack mailing list