Comment 7 for bug 1357045

Revision history for this message
Menno Finlay-Smits (menno.smits) wrote : Re: juju-core/maas/lxc: pull cloud-image from maas server

I've been talking to various MAAS folks and Ben Howard about this. Using the images cached by MAAS is a non-starter. The images are in the wrong format and have been customised to suit bare metal deployments. They are not suitable for use with containers.

It is my understanding that you'd like this feature to help speed up product demos (and perhaps also to make private clouds easier?). If this is the case, then I propose the following:

1. We change Juju to accept a new configuration option which ultimately ends up setting UBUNTU_CLOUDIMG_QUERY_BASEURL. This will make a Juju environment look at a mirror of cloud-images.ubuntu.com instead of the real one. This is possibly something which can be achieved for the final 1.25 release.

2. Create a tool which produces a local mirror of cloud-images.ubuntu.com which Juju can be pointed at. Ideally this would create a selective mirror, including just the releases and architectures relevant to the environment. Such a tool might already exist.

Does that sound reasonable?