8 Commits

Author SHA1 Message Date
Chris Glass
30c3fb9353 Resolve links before using path as block device
If the charm code is passed symlinks to block devices (as is often the
case with newer MAAS substrate versions), resolve links before
attempting to use the block device for storage.

Charmhelpers were updated as well.

Testing done:

- Unit tests pass
- Tests pass
- Multiple Openstack Autopilot deployments pass

Change-Id: If966239502d0752c86e46f3f0aee96f43828aa08
Closes-Bug: 1577408
Signed-off-by: Chris Glass <chris.glass@canonical.com>
2016-05-06 15:25:34 +00:00
Corey Bryant
c05d389fbc Fix lint errors 2015-10-13 12:34:30 +00:00
Corey Bryant
e246250b48 Use unitdata key/value pair to store pause/resume status 2015-10-13 10:35:23 +00:00
Corey Bryant
85676e54b0 Revert "Save/restore paused status in decorator to prevent functions like config-changed from overwriting it" 2015-10-13 08:53:41 +00:00
Corey Bryant
3d557d447b Import status_set 2015-10-12 15:26:35 +00:00
Corey Bryant
b940d67bef Save/restore paused status in decorator to prevent functions like config-changed from overwriting it 2015-10-12 13:24:12 +00:00
Adam Collard
f3532fe560 Move helpers to utils 2015-08-28 11:21:17 +01:00
Adam Collard
fbe3a71f36 Add missed move of misc_utils 2015-07-17 11:51:25 +01:00