DescriptionConfigurable simplestreams stream for Azure.
The design for this was worked out with Ian. We may want a configurable set of simplestreams base URLs at some point, but that is not a very user-friendly way to offer a configurable choice of streams. So instead, I kept the base URLs hard-coded (adding the "daily" base URL to the default "released" base URL) and added the option to select a stream. The imagemetadata package, when looking for an image, may look at all the URLs but only an image from the selected stream will match.
In the process we also found that the documentation for imagemetadata.ImageConstaint.Stream was no longer accurate, so I updated it with Ian's consent.
The new insights, and a change in the simplestreams format for Azure to make the product IDs consistent with those of other clouds, got this to the opint where it actually works with real simplestreams data. I updated the integration test we had for released images, to reflect the new format, and also added one for daily images. That may seem redundant, but some identifiers change not just their values but their formats depending on whether the stream is the released one or not.
For the time being, the boilerplate config reflects the facts that:
1. We only have the "saucy" images working properly yet.
2. Since Saucy isn't released yet, we need the "daily" images.
3. The existing images seem to be tied to the West US location.
I only just discovered that last fact, and it may get fixed soon.
With this branch I can bootstrap an Azure environment, without specifying a hard-coded OS image.
https://code.launchpad.net/~jtv/juju-core/az-daily-images/+merge/179320
(do not edit description out of merge proposal)
Patch Set 1 #
Total comments: 4
MessagesTotal messages: 8
|