I believe that Nova Compute itself prefers to deploy its units as KVM. (So when a user connects to your Openstack deployment and asks for a VM, they will get a KVM backed machine). IIRC, you *cannot* create a KVM container inside an LXC container. So you wouldn't be able to deploy Nova-compute into an LXC if it then wanted to deploy KVM instances. Perhaps you could do something where you tell Nova-compute to create LXC containers. You would then end up with nested LXC, which I know had some bugs in the past (If you get the cgroups wrong, the nested containers will refuse to run do to App Armor profiles, etc).
So I'm guessing that the Openstack charms are designed to deploy onto more real-metal than containers, and barring that,probably KVM containers rather than LXC. John =:-> On Sun, Mar 16, 2014 at 4:08 PM, brian mullan <[email protected]> wrote: > OpenStack itself says it supports LXC: > http://docs.openstack.org/trunk/config-reference/content/lxc.html > > and although a bit dated this OpenStack doc shows (under Ubuntu Natty)... > some config setup info: > > https://wiki.openstack.org/wiki/LXC > > My orig post had said 2 OpenStack "services" were left in Red State with > some sort of message about problem with hooks. > > The two were: > > nova-compute > quantum-gateway > > I can kind of understand the "quantum-gateway" > due to lxc/host networking being a bit different. > > But I just wasn't comfortable that the nova-compute part of the charm had a > problem because that is just for "compute" resources. > The "storage" services of OpenStack in the Charm had already gone into a > "green" state. > > I would like to suggest that there may be a bug in the JuJu OpenStack > Charm's hooks related either/both of the above 2 "services" > when used with LXC (re "local" provider). > > Now as I have not tried to deploy that charm to say Amazon... I guess I > could be jumping the gun and perhaps this problem > exists w/other environments? > > > > On Sat, Mar 15, 2014 at 4:00 PM, Adam Stokes <[email protected]> wrote: >> >> I also think that nova and lxc do not mingle well either. I've >> typically deployed nova in a kvm instance instead >> >> On Sat, Mar 15, 2014 at 1:26 PM, John Meinel <[email protected]> >> wrote: >> > I'm pretty sure Quantum can't be deployed in LXC because it needs direct >> > access to block devices. I could be wrong. >> > >> > John >> > =:-> >> > >> > On Mar 15, 2014 2:08 PM, "brian mullan" <[email protected]> wrote: >> >> >> >> I thought I'd try using some of the "cool new stuff".. so with latest >> >> lxc >> >> 1.0 JuJu & JuJu-gui installed I decided to look at JuJu Bundles. >> >> >> >> I set my environment to local and started the OpenStack bundle. >> >> >> >> Everything eventually turns green except: >> >> >> >> Nova-Compute >> >> Quantum-Gateway >> >> >> >> Which stay in a red state and provide a message that the charm had >> >> failed >> >> hooks. >> >> >> >> Just out of curiousity has anyone else tried to do this yet ? >> >> >> >> I believe the problem is related to how openstack requires addressing >> >> setup for nova (& probably quantum) but not sure how to troubleshoot >> >> the >> >> charm further myself. >> >> >> >> Thanks >> >> >> >> Brian Mullan >> >> Raleigh NC >> >> >> >> -- >> >> Juju mailing list >> >> [email protected] >> >> Modify settings or unsubscribe at: >> >> https://lists.ubuntu.com/mailman/listinfo/juju >> >> >> > >> > -- >> > Juju mailing list >> > [email protected] >> > Modify settings or unsubscribe at: >> > https://lists.ubuntu.com/mailman/listinfo/juju >> > >> >> >> >> -- >> [ Adam Stokes ] > > -- Juju mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju
