~openstack-charmers-next/charms/trusty/swift-storage/trunk

Viewing all changes in revision 118.

  • Committer: Chris Glass
  • Date: 2016-05-06 15:25:34 UTC
  • Revision ID: chris.glass@canonical.com-20160506152534-5mg6uuzhq36gea3k
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: