lp:~wesley-wiedenmeier/curtin/1592962

Created by Wesley Wiedenmeier and last modified
Get this branch:
bzr branch lp:~wesley-wiedenmeier/curtin/1592962
Only Wesley Wiedenmeier can upload to this branch. If you are Wesley Wiedenmeier please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Wesley Wiedenmeier
Project:
curtin
Status:
Development

Recent revisions

402. By Wesley Wiedenmeier

Merge from trunk to bring in unittest fix

401. By Wesley Wiedenmeier

Fix log message

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

399. By Wesley Wiedenmeier

Merge from trunk

398. By Wesley Wiedenmeier

Merge from trunk

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

396. By Wesley Wiedenmeier

Added some unittests for block.wipe_volume

395. By Wesley Wiedenmeier

Only permit return code of 5 for pvremove command

394. By Wesley Wiedenmeier

Merge from trunk

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:~curtin-dev/curtin/trunk
This branch contains Public information 
Everyone can see this information.