lp://qastaging/~wesley-wiedenmeier/curtin/curtin-fix-sysfs-partition-data
- Get this branch:
- bzr branch lp://qastaging/~wesley-wiedenmeier/curtin/curtin-fix-sysfs-partition-data
Branch merges
- Server Team CI bot: Approve (continuous-integration)
- Ryan Harper (community): Needs Fixing
-
Diff: 63 lines (+20/-17)1 file modifiedcurtin/block/__init__.py (+20/-17)
Branch information
Recent revisions
- 381. By Wesley Wiedenmeier
-
Cleanup to partnum assignment in sysfs_partition
_data() based on diff comments
from:
https://code.launchpad .net/~wesley- wiedenmeier/ curtin/ partial- testing/ +merge/ 297958 - 380. By Wesley Wiedenmeier
-
Improve code for sysfs_partition
_data by ensuring that both blockdev and
sysfs_path will be set. - 378. By Wesley Wiedenmeier
-
Refactored block.sysfs_
partition_ data to work on partitions as well as on
devices specified only by sysfs_path and not by blockdev - 377. By Ryan Harper
-
tools/vmtest-
sync-images: fix insertion of top-level curtin path Fix up sys.path to import realpath of top-level curtin directory to make
it equivalent to running PYTHONPATH=`pwd` from top-level. This fixed an
issue with sub-module level imports. - 376. By Ryan Harper
-
block: wipe_volume improvements
- move wipe_volume, find_sysfs_path, from block_meta to block
- improve wipe_volume:
- do not shell out for 'dd' and ignore errors
- add 'superblocks' mode that wipes start and end of existing
partitions in addition to volume.
- pick 4M as the default size for writes. This is easily modified.
- add block-wipe subcommand for:
curtin block-wipe --mode=random /dev/vdb /dev/vdc
- sysfs_partition_data: this returns information on partitions on a
given block device.
- sys_block_path: handle case where devpath is a partition and prepend
parent dev into path.Note, this does not call rereadpt as sgdisk --zap-all would.
We probably want to add the ability to do that. The reason I dont have it
yet is that in newer ubuntu systemd is watching readwrite opens on the
block devices and will issue rereadpt when those are closed. - 375. By Ryan Harper
-
reporter: enhance reporting events to include levels and user-friendly messages
Much of the output from curtin reporting is not user-friendly. Address
this by introducing message levels to supress debugging information
as well as adding higher-level messages that inform users of the progress
of the curtin installation. - 374. By Ryan Harper
-
network,unittest: add bonding tests and cleanup newline rendering
- Add a unittest to validate bonding network config render, specifically
when to emit auto $iface for dependent bond slaves.
- Cleanup newline logic so we always have a clean '\n\n' between stanzas
- Add '# Autogenerated by curtin' header to to 70-persistent-net.rules file
- Add Xenial bonding testcase
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