Question about simplestreams and imagemetadata

Ian Booth ian.booth at canonical.com
Mon Aug 5 23:37:18 UTC 2013


> 
> I'm trying to figure out why simplestreams isn't working for the Azure provider.
> 
> The problem lies in matching the product IDs.  From the image constraint we
> pass, the imagemetadata code decides that we're looking for product IDs like
> 
>     com.ubuntu.cloud:server:12.04:amd64
> 
> The structure of that ID is encoded in ImageConstraint.Ids(), in
> environs/imagemetadata.
> 
> But the product IDs in the simplestream data look like:
> 
>     com.ubuntu.cloud:server:12.04:amd64:azure
> 
> (See
> http://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:azure.json
> for these).
> 
> Does anyone know how this is supposed to work?  Am I doing something wrong, or
> does something outside our provider need to change?
> 


The product IDs generated for Azure images are not consistent with what's been
used for EC2 and Openstack. The extra ":azure" part at the end is not recognised
by Juju.

The scripts used to generate the Azure simplestreams metadata need to be changed
to produce output that is consistent with the format used for other cloud vendors.

Scott, who do we need to talk to about this?



More information about the Juju-dev mailing list