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

Matt Rae matt.rae at canonical.com
Mon Mar 17 16:35:20 UTC 2014


On Mon, Mar 17, 2014 at 7:04 AM, James Page <james.page at ubuntu.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Hi Brian
>
> On 15/03/14 10:08, brian mullan 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.
>
> NOTE: answers are working on the assumption that you are trying to
> deploy the charms on the local provider using LXC.
>
> The nova-compute and quantum-gateway charms can't be deployed into LXC
> containers using the Juju local provider as the container is limited
> in what it can do; both of these charms will want to manage network
> resources and compute wants to interact with the hypervisor, neither
> of which will work with LXC in its default, out-of-the-box configuration.
>

It would be interesting to know what are the blockers for this to work.
Using the local provider has been very convenient and it would be nice to
be able to deploy openstack without maas.

Would switching to nova-network be a workaround for neutron? Could
nova-compute use the virt-type="lxc" to get around the hypervisor issues?


>
> Using KVM as the container technology will work you through this issue
> (as running nested is generally OK).  However, you will need a second
> network interface on the quantum-gateway node; so its still fiddly!
>
> Also note that the OpenStack charms themselves do support using LXC as
> the virtualization choice instead of KVM - this is a configuration
> option in the nova-compute charm - but this is different to running
> OpenStack itself under 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/
>
> iQIcBAEBCAAGBQJTJuSzAAoJEL/srsug59jDSTEQAL+3NKpK9UPeYkbETAu5rUdd
> NAbwWicKx0XiiLtjPFOv2oywkH5ODY/V9vxop4Fy304jrExfPPaXX+abGCrsrMb4
> AyIQ9G+yEANEvwHhjxEDrV3DbLL9E7m85Iw11EdF6J85Eqqt1jnomISQV1/PrXz7
> MSbAlYQHxsxYLrq02UWcusOiHY+yIccR15R1iFdsFpvfULjnJXVQ1Vh4kDCnrOQ+
> Oy181Fr64TlWFRM4KbHPYFxgtJYnv1ibTYSpiiv6nAwvINAcnPbKE/VHDJNYgAXp
> S4ZHaB3ZaS/r++uw0BOlIUvfRraMezNyjTHYORb698rmmEArxn+uuDLK26QjoAjf
> Bjc3/Us0NP0c77/kJw7dJ2ciPyYtfVY5uow7KWJhF5i6JT2nEb43fJj1pR2hnVqV
> Xo5t5q/w9kwKwj7uHnvq9CxJb9GZJqkT7Tz4F2DSJOyUYQjZtV3kcyvcrukb0jTx
> 709c1sL9EGqEbFuODpgGBGiQZbUJ3N2lKYwMCE6TfLhEnbVLZ9hKdGWvhbK4MNDm
> ycxAvp/XLmRxmChI3ZJuW1bZaPT5CCjeOpqtvyGynakWdyvrQD2kqA/hZE0ey27o
> Xnx3H1Ew6hm4FfNo0FaZtu2wnnjixFQHGOrUm+Us2o2956oalFxgZEJ+GwETYl7u
> QR32LEy9L9QU+py6DFLN
> =eCTy
> -----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/26dcebcc/attachment.html>


More information about the Juju mailing list