summaryrefslogtreecommitdiff
path: root/morphlib/exts/openstack.check
Commit message (Collapse)AuthorAgeFilesLines
* Check for presence of btrfs before trying to use itSam Thursfield2014-06-111-0/+2
| | | | | | | | | | | | | | | | If btrfs is not present in the kernel we end up with strange output like this: Error creating disk image2014-06-10 16:00:40 [devel-system-x86_64-generic][my-raw-disk-image][rawdisk.write]Failure to create disk image at /src/tmp/testdev.img ERROR: Command failed: mount -o loop /src/tmp/testdev.img /src/tmp/deployments/tmpQ7wXO1/tmp4lVDcu/tmpvHSzDE mount: mounting /dev/loop0 on /src/tmp/deployments/tmpQ7wXO1/tmp4lVDcu/tmpvHSzDE failed: Device or resource busy To avoid this confusing error, Morph should explicitly check first.
* deploy: Check the --upgrade flag has been used correctly.Sam Thursfield2014-03-041-0/+35
Most write extensions don't handle both initial deployments and upgrades of a system.