Fixes lp#1616305: image metadata collection must be global. #6077

Merged
merged 2 commits into from Aug 24, 2016

Conversation

Projects
None yet
3 participants
Member

anastasiamac commented Aug 24, 2016

Currently, image metadata collection is model-bound which means that we can only deploy to a "controller" model using custom images.
This collection needs to be controller-wide to ensure that any model can find this metadata.

QA steps:

  1. Bootstrap private cloud using --metadata-source
  2. Deploy an application to a non-controller model either the "default" or add new one)
  3. Watch status - the machine should come up using an image from metadata-source

QA for multi-region cloud:

  1. Bootstrap cloud using --metadata-source that has images metadata for all regions under test
  2. Deploy an application to "default" model
  3. Add a new model to a different region (add-model --region=xxxx)
  4. Deploy an application to this new model
  5. Observe all machines come up
Member

axw commented Aug 24, 2016

LGTM, please ask wallyworld to double-check.

Member

anastasiamac commented Aug 24, 2016

$$merge$$

Contributor

jujubot commented Aug 24, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju

@jujubot jujubot merged commit 54890d6 into juju:master Aug 24, 2016

@anastasiamac anastasiamac deleted the anastasiamac:global-images-lp1616305 branch Aug 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment