Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Merge 2.2 into develop (storage fixes) #8131
Conversation
axw
and others
added some commits
Nov 23, 2017
|
$$merge$$ |
|
Status: merge request accepted. Url: http://ci.jujucharms.com/job/github-merge-juju |
jujubot
merged commit e5ecebc
into
juju:develop
Nov 27, 2017
1 check failed
continuous-integration/jenkins/pr-merge
This commit cannot be built
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axw commentedNov 27, 2017
Description of change
Merge storage fixes from 2.2 into develop. Things have changed a bit: the scope of a filesystem is now always the same as the backing volume, and when you destroy a unit, it leaves detachable storage in the model.
So we now also cater for detachable, volume-backed filesystems by short-circuit removing their attachments, without destroying the filesystem. We also update the status of filesystems for which we remove the attachments (i.e. set to "detached").
QA steps
(wait)
cd /srv/mnt/jenkins
(sit there to prevent filesystem from being unmounted)
(wait; machine should be torn down, filesystem and volume should be left in the model; status should be "detached", with no error message)
(filesystem and volume should be destroyed)
Documentation changes
None.
Bug reference
Fixes https://bugs.launchpad.net/juju/+bug/1722818