Re: Juju + MAAS + Image Downloads

2014-09-10 Thread David Britton
On Fri, Sep 05, 2014 at 10:34:22AM +1000, Ian Booth wrote:
 
 [...]
 
 For MAAS, if there were an endpoint which could serve the LXC tarballs, as
 opposed to the root images themselves at
 http://cluster-name/MAAS/static/images/ubuntu/amd64/generic/trusty/release/root-image,
 then option 1 would be easiest. We could provide a new config option to 
 specify
 the correct URL to pass to -T

With either of the mechanical changes in how juju creates the template,
this last statement feels like the right one (to me).  Maas is the
only provider right now that supports LXCs as full-first class citizens,
it already downloads and maintains multiple images, and according to
Andres it also exports simple streams data.  Should be a simple matter
to add another image to this mix?

Someone more knowledgable in MAAS, please correct my errors!

-- 
David Britton david.brit...@canonical.com

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju


Juju + MAAS + Image Downloads

2014-09-04 Thread David Britton
Hi juju folks --

I'm using MAAS + Juju to do some testing behind a firewall with LXCs.  I
want to accelerate the download of the large images that I am
downloading from cloud-images.ubuntu.com.

I see that MAAS has cloud images.  Ideally, I'd like to instruct Juju to
download them from there:

https://bugs.launchpad.net/juju-core/+bug/1357045

But I'm not sure that is possible.  So, I'll leave it to someone else to
pick up that bug if they think it's worthwhile.

I then tried to setup squid and proxy them transparently and found that
the image-metadata-url that I give juju is only for the .json files that
are referenced.  The images are still downloaded via https from
cloud-images.ubuntu.com.  I'm not even sure if this is a bug.  I mean, I
understand why you want https, but if I want to mirror it, it's a new
level of commitment to make it https only especially in a private
environment.

Is the only option for me to mirror cloud-images and set up an https
endpoint (or a transparent https m-i-t-m proxy) in order to avoid
downloading these large images over and over?

-- 
David Britton davidpbrit...@gmail.com

-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju