<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 17, 2014 at 7:04 AM, James Page <span dir="ltr"><<a href="mailto:james.page@ubuntu.com" target="_blank">james.page@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA256<br>
<br>
Hi Brian<br>
<div><div class="h5"><br>
On 15/03/14 10:08, brian mullan wrote:<br>
> I thought I'd try using some of the "cool new stuff".. so with<br>
> latest lxc 1.0 JuJu & JuJu-gui installed I decided to look at JuJu<br>
> Bundles.<br>
><br>
> I set my environment to local and started the OpenStack bundle.<br>
><br>
> Everything eventually turns green except:<br>
><br>
> Nova-Compute Quantum-Gateway<br>
><br>
> Which stay in a red state and provide a message that the charm had<br>
> failed hooks.<br>
><br>
> Just out of curiousity has anyone else tried to do this yet ?<br>
><br>
> I believe the problem is related to how openstack requires<br>
> addressing setup for nova (& probably quantum) but not sure how to<br>
> troubleshoot the charm further myself.<br>
<br>
</div></div>NOTE: answers are working on the assumption that you are trying to<br>
deploy the charms on the local provider using LXC.<br>
<br>
The nova-compute and quantum-gateway charms can't be deployed into LXC<br>
containers using the Juju local provider as the container is limited<br>
in what it can do; both of these charms will want to manage network<br>
resources and compute wants to interact with the hypervisor, neither<br>
of which will work with LXC in its default, out-of-the-box configuration.<br></blockquote><div><br></div><div>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.</div>
<div><br></div><div>Would switching to nova-network be a workaround for neutron? Could nova-compute use the <span style="font-family:arial,sans-serif;font-size:13px">virt-type="lxc" to get around the hypervisor issues?</span></div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Using KVM as the container technology will work you through this issue<br>
(as running nested is generally OK).  However, you will need a second<br>
network interface on the quantum-gateway node; so its still fiddly!<br>
<br>
Also note that the OpenStack charms themselves do support using LXC as<br>
the virtualization choice instead of KVM - this is a configuration<br>
option in the nova-compute charm - but this is different to running<br>
OpenStack itself under LXC.<br>
<br>
- --<br>
James Page<br>
Ubuntu and Debian Developer<br>
<a href="mailto:james.page@ubuntu.com">james.page@ubuntu.com</a><br>
<a href="mailto:jamespage@debian.org">jamespage@debian.org</a><br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1<br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iQIcBAEBCAAGBQJTJuSzAAoJEL/srsug59jDSTEQAL+3NKpK9UPeYkbETAu5rUdd<br>
NAbwWicKx0XiiLtjPFOv2oywkH5ODY/V9vxop4Fy304jrExfPPaXX+abGCrsrMb4<br>
AyIQ9G+yEANEvwHhjxEDrV3DbLL9E7m85Iw11EdF6J85Eqqt1jnomISQV1/PrXz7<br>
MSbAlYQHxsxYLrq02UWcusOiHY+yIccR15R1iFdsFpvfULjnJXVQ1Vh4kDCnrOQ+<br>
Oy181Fr64TlWFRM4KbHPYFxgtJYnv1ibTYSpiiv6nAwvINAcnPbKE/VHDJNYgAXp<br>
S4ZHaB3ZaS/r++uw0BOlIUvfRraMezNyjTHYORb698rmmEArxn+uuDLK26QjoAjf<br>
Bjc3/Us0NP0c77/kJw7dJ2ciPyYtfVY5uow7KWJhF5i6JT2nEb43fJj1pR2hnVqV<br>
Xo5t5q/w9kwKwj7uHnvq9CxJb9GZJqkT7Tz4F2DSJOyUYQjZtV3kcyvcrukb0jTx<br>
709c1sL9EGqEbFuODpgGBGiQZbUJ3N2lKYwMCE6TfLhEnbVLZ9hKdGWvhbK4MNDm<br>
ycxAvp/XLmRxmChI3ZJuW1bZaPT5CCjeOpqtvyGynakWdyvrQD2kqA/hZE0ey27o<br>
Xnx3H1Ew6hm4FfNo0FaZtu2wnnjixFQHGOrUm+Us2o2956oalFxgZEJ+GwETYl7u<br>
QR32LEy9L9QU+py6DFLN<br>
=eCTy<br>
-----END PGP SIGNATURE-----<br>
<div class=""><div class="h5"><br>
--<br>
Juju mailing list<br>
<a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
</div></div></blockquote></div><br></div></div>