lp://qastaging/~wesley-wiedenmeier/curtin/1592962
- Get this branch:
- bzr branch lp://qastaging/~wesley-wiedenmeier/curtin/1592962
Branch merges
Related bugs
Bug #1592962: block.wipe_volume(mode='pvremove') fails on ubuntu precise | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 400. By Wesley Wiedenmeier
-
In block.wipe_volume when running with mode pvremove, do not use '--cache' flag
on trusty.Previously, the cache flag was appended to pvscan an vgscan cmds on
all releases other than precise, as precise is the only ubuntu release
currently supported that has lvm tools that do not have the '--cache' flag as
an option.However, trusty does not by default use lvmetad, and in cases where
lvmetad is not present or is not running, the pvscan and vgscan tools will
exit with a bad return code (5) and will not scan for volumes.Not appending the '--cache' flag on trusty is preferrable to accepting a bad
return code from pvscan and vgscan, as there are cases where these tools
failing to refresh the nodes in /dev could halt installation or cause problems
for clear_holders - 397. By Wesley Wiedenmeier
-
In block.wipe_volume, instead of using util.lsb_release 'release' value, use
'codename', and only do str comparison instead of conversion to numerical
release value - 393. By Wesley Wiedenmeier
-
In curtin.
block.wipe_ volume, when running with mode=pvremove, do not use
--cache flag if the current ubuntu release is older than trusty. The lvscan,
pvscan and vgscan tools on precise do not support this flag
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~curtin-dev/curtin/trunk