Better error message when attempting to save duplicate image metadata #7372

Merged
merged 1 commit into from May 22, 2017

Conversation

Projects
None yet
3 participants
Owner

wallyworld commented May 22, 2017

Description of change

When bootstrapping with custom image metadata, or when updating metadata upstream and Juju imports it, if there are duplicates the error message was "state changing too quickly".
The PR provides a better error message.

QA steps

juju bootstrap --metadata-source somedir
where somedir contains bad simplestreams metadata
-> check the error message

Bug reference

https://bugs.launchpad.net/juju/+bug/1691884

axw approved these changes May 22, 2017

Owner

wallyworld commented May 22, 2017

$$merge$$

Contributor

jujubot commented May 22, 2017

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

Contributor

jujubot commented May 22, 2017

Build failed: Tests failed
build url: http://juju-ci.vapour.ws:8080/job/github-merge-juju/10938

Owner

wallyworld commented May 22, 2017

$$merge$$

Contributor

jujubot commented May 22, 2017

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

@jujubot jujubot merged commit b0760ad into juju:develop May 22, 2017

1 check failed

github-check-merge-juju Built PR, ran unit tests, and tested LXD deploy. Use !!.*!! to request another build. IE, !!build!!, !!retry!!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment