Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Prevent unit failing when starting model migration #6712
Conversation
mjs
added some commits
Dec 14, 2016
|
Please forward port to develop (2.2) to when ready. |
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Tests failed |
|
$$mongodb-sucks$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit cc744ba
into
juju:2.1
Dec 15, 2016
mjs
deleted the
mjs:1620438-MM-not-idle
branch
Dec 15, 2016
mjs
referenced this pull request
Jan 7, 2017
Merged
Prevent unit failing when starting model migration #6779
added a commit
that referenced
this pull request
Jan 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mjs commentedDec 15, 2016
When the model migration fortress was locked down some of the manifolds used by the uniter could return a "fortress shutting down" error which was returned to the uniter resolver loop. This would cause the unit to be put into error before the uniter shut down, causing prechecks failures. The problem is somewhat timing dependent which is why it was being seen intermittently.
There are a number of fixes here:
QA
Using a charm with a long sleep in its config-changed hook, tested multiple migrations which were triggered while the hook was executing. Previously this would reliably trigger a precheck failure.
Fixes https://bugs.launchpad.net/juju/+bug/1620438