JuJu, LXC, OpenStack charm problem w/Nova & Quantum

Kapil Thangavelu kapil.thangavelu at canonical.com
Mon Mar 17 17:54:11 UTC 2014


On Mon, Mar 17, 2014 at 1:31 PM, Sameer Zeidat <sameerz at yahoo.com> wrote:

>  I'm curious about what the juju logs showed for those charms that failed
> (stayed red per the OP).
>
> Personally, and not specific to juju, I tried Havana on LXC a couple of
> months ago. It worked well except for Neutron. The moment it starts the
> whole machine froze. I noticed it happens around when its supposed to
> create the bridges. I thoght it had to do with trying to bridge virtual
> interfaces that are already bridged outside LXC, but didn't spend any time
> to troubleshoot.
>

that's roughly the same place ic quantum-controller hang, its odd though..
(ovs kernel module installed from host)  as the ovs cli show the bridge as
created when queried, but it hangs creating them, could just be ovs
 reporting against its db instead of actual resources. still needs some
exploration using app-armor uncontained profile on the container.

-k

 ------------------------------
> From: brian mullan <bmullan.mail at gmail.com>
> Sent: 17/03/2014 11:30 PM
> To: James Page <james.page at ubuntu.com>
> Cc: juju <juju at lists.ubuntu.com>
> Subject: Re: JuJu, LXC, OpenStack charm problem w/Nova & Quantum
>
> great information.. thanks James!
>
>
> On Mon, Mar 17, 2014 at 8:21 AM, James Page <james.page at ubuntu.com> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> Hi Brian
>>
>> I responded to your original mail as well - but also detailing a bit
>> more here.
>>
>> On 17/03/14 12:09, brian mullan wrote:
>> [...]
>> > If OpenStack "could" be made to work with LXC then for linux based
>> > workloads...  OpenStack would be a great management system for a
>> > multi-tenant capable LXC based "cloud" environment.
>> >
>> > LXC 1.0 introduced a great deal of new capabilities to LXC
>> > including support for fully *unprivileged* containers and a host of
>> > new backingstore options.
>> >
>> > Stephane Graber did a great series of blog posts introducing LXC
>> > 1.0's new features - found here
>> > <https://www.stgraber.org/2013/12/20/lxc-1-0-blog-post-series/>.
>> >
>> > And yes, nested LXC does work and I've been using it for about a
>> > year now myself.
>>
>> Aside from the problems I detailed in my first response about running
>> nova-compute and quantum-gateway in LXC containers, this configuration
>> is 100% supported by the OpenStack charms; infact this was one of the
>> configuration options that Mark Shuttleworth demo'ed live on-stage at
>> the OpenStack Summit in Hong Kong last November.
>>
>> The nova-compute charm has a virt-type configuration option that
>> defaults to kvm; this can be switch to lxc (amongst other things).
>> Neutron works fine with LXC containers as the integration is by
>> libvirt which makes the networking part exactly the same as with KVM.
>>
>> You could run this nested on a KVM based cloud or directly on
>> hardware; however out-of-the box you can't run this LXC in LXC.
>>
>>
>> - --
>> James Page
>> Ubuntu and Debian Developer
>> james.page at ubuntu.com
>> jamespage at debian.org
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1
>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>
>> iQIcBAEBCAAGBQJTJui5AAoJEL/srsug59jDSc0QAKcVJW0KBFmpu6vsvZb5xLXt
>> zVmQHk5LYenClCmoz9p8FPSfzTSOc3mrMMNp+xz2PHjJOrccdWMPAmBDXiO2mUYv
>> mhwGqQ2j4KkBbwGW5p8XH8+FsHyjjlU9Z4fRqEWZjrql5SKbTfrpvSZ9vlUg6GYr
>> 2DJxEqUGiOECg8W5X95e7AHLwivEOtK5N8fiXmuiWCuXKB8uWin3T4p0Mk2QI8bo
>> QMmXHskHpfv1jrVfmUFc4MD3VBfYHZ4/6Hv9WpM92HOOq4qc2+Ok5NZaPowNo1n6
>> yXdMjrKeLRNh6ecbBeOY2xgUtkMaCYCqXm9uGoU7ukytOiL6Hf23NEcge5k/2cM1
>> aca6ZPb2h30LNIfgz7UjTW4RW+O0L1idjAZNSEdtYgKKzlJq1bXOKib2vOW60H1x
>> GPP+tjMzzNmSbbAmWqhZtSRZ2aH3czYG4b9W1gF4D8tDZDtYerKxvYR9Kbi2NezW
>> dj2fYR5SlmIOPSOefjUClg34AOR9S76FEkosh0+tDZFgZj+JkoP0TS5pbwXiO+3G
>> dgCljqgxG5Cie+e9W0ru4EGx1vHL8BhpxpDHgRmP7Y8/KrNuosirJCnIHIsAhmoN
>> 9+8n/0FlJbzIGdHCn+X+SdrAFy+x7zallhkes5JcIhEolSyBERAbd/S1ep/XsDCs
>> i/0JH3c+G1ZlOCeWVCg/
>> =dROT
>> -----END PGP SIGNATURE-----
>>
>
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20140317/4722b445/attachment.html>


More information about the Juju mailing list