Add leadership settings when upgrading. #2127

Merged
merged 3 commits into from Apr 24, 2015

Conversation

Projects
None yet
3 participants
Contributor

ericsnowcurrently commented Apr 24, 2015

(fixes https://bugs.launchpad.net/juju-core/+bug/1447846)
(derived from https://github.com/mjs/juju/tree/1447846-hooks-dont-fire-after-upgrade-1.23)

Charm leadership (added in 1.23) relies on leadership settings stored in the database. Without these settings hooks will not fire. The settings were not being added during upgrades to 1.23. This patch fixes that.

(Review request: http://reviews.vapour.ws/r/1490/)

Contributor

ericsnowcurrently commented Apr 24, 2015

$$merge$$

Contributor

jujubot commented Apr 24, 2015

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

Contributor

jujubot commented Apr 24, 2015

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

Contributor

ericsnowcurrently commented Apr 24, 2015

$$try-again$$

Contributor

jujubot commented Apr 24, 2015

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

jujubot added a commit that referenced this pull request Apr 24, 2015

Merge pull request #2127 from ericsnowcurrently/1447846-hooks-dont-fi…
…re-after-upgrade-1.23

Add leadership settings when upgrading.

(fixes https://bugs.launchpad.net/juju-core/+bug/1447846)
(derived from https://github.com/mjs/juju/tree/1447846-hooks-dont-fire-after-upgrade-1.23)

Charm leadership (added in 1.23) relies on leadership settings stored in the database.  Without these settings hooks will not fire.  The settings were not being added during upgrades to 1.23.  This patch fixes that.

(Review request: http://reviews.vapour.ws/r/1490/)

@jujubot jujubot merged commit 5f048ed into juju:1.23 Apr 24, 2015

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