Hey Dan

The Ubuntu images used to bring up a vSphere VM are downloaded from
cloud-images.ubuntu.com. We use images in an ova archive format. Here's where
the xenial ones are sourced from for example:
http://cloud-images.ubuntu.com/xenial/current/

Juju uses simplestreams metadata to select the relevant image to be used, based
amongst other things on the series defined in the charm. For Ubuntu images, the
simplestreams metadata is here:
http://cloud-images.ubuntu.com/releases/streams/v1/

For images other than Ubuntu for use with Juju (eg centos), we publish the
metadata and image files elsewhere as they are not officially supported on
cloud-images. We only support centos7 images on AWS and Azure as can be seen 
here:
http://streams.canonical.com/juju/images/releases/streams/v1/

It's possible to "roll your own" image metadata and point that to a centos ova
image archive which should in theory work, but is not something we have tested
as to date there's not been a call for it to my knowledge. This metadata is
provided to Juju using the --metadata-source argument to bootstrap. There's
tooling to generate the image metadata (juju metadata generate-image), but bear
in mind that to date it's been used more as an advanced tool for internal use
and has some rough edges. There's some level of doc here which explains the
basics of setting up a private Openstack cloud:
https://jujucharms.com/docs/stable/howto-privatecloud

The above would need to be adapted to accommodate vSphere and centos images.
Things like where the image binaries would be hosted and made available to
vSphere would need to be sorted out. As I said, this is not something we have
invested time in testing as so far there's not been a call for it. Very hand
wavy, the steps would be:
- generate centos ova image archives
- host them somewhere accessible to vSphere and the bootstrap client
- generate image metadata cataloging the above images
- bootstrap juju using --metadata-source to point to the image metadata

ie it should or could be made to work with Juju as released but we've not tested
it. We can help you get things set up if that helps, and document the steps for
the next person as we go along.


On 10/02/18 04:41, Daniel Bidwell wrote:
> Where do I find the images that are used by juju to deploy to a vsphere
> controller?  My ubuntu systems come up great, but unfortunately I need
> to deploy some red hat/centos/oracle linux vms also, but juju deploy
> doesn't seem to be able to find them.
> 
> Is this an area that needs someone to get involved with?
> 

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

Reply via email to