Summary: A python module for system storage configuration Name: python-blivet Url: http://fedoraproject.org/wiki/blivet Version: 0.61.15.74 Release: 1%{?dist} Epoch: 1 License: LGPLv2+ Group: System Environment/Libraries %define realname blivet #Source0: http://github.com/dwlehman/blivet/archive/%{realname}-%{version}.tar.gz Source0: http://github.com/storaged-project/blivet/archive/%{realname}-%{version}.tar.gz # Versions of required components (done so we make sure the buildrequires # match the requires versions of things). %define dmver 1.02.17-6 %define pykickstartver 1.99.22 %define partedver 1.8.1 %define pypartedver 1:3.9-12 %define pythonpyblockver 0.45 %define e2fsver 1.41.0 %define pythoncryptsetupver 0.1.1 %define utillinuxver 2.15.1 %define lvm2ver 2.02.99 %define blockdevver 2.17 BuildArch: noarch BuildRequires: gettext BuildRequires: python-setuptools Requires: python Requires: pykickstart >= %{pykickstartver} Requires: util-linux >= %{utillinuxver} Requires: python-pyudev Requires: parted >= %{partedver} Requires: pyparted >= %{pypartedver} Requires: device-mapper >= %{dmver} Requires: cryptsetup Requires: python-cryptsetup >= %{pythoncryptsetupver} Requires: mdadm Requires: lvm2 >= %{lvm2ver} Requires: dosfstools Requires: e2fsprogs >= %{e2fsver} Requires: btrfs-progs Requires: python-pyblock >= %{pythonpyblockver} Requires: device-mapper-multipath Requires: lsof Requires: python-blockdev Requires: python-six %description The python-blivet package is a python module for examining and modifying storage configuration. %prep %setup -q -n %{realname}-%{realname}-%{version} %build make %install rm -rf %{buildroot} make DESTDIR=%{buildroot} install #%find_lang %{realname} %files #-f %{realname}.lang %defattr(-,root,root,-) %doc README COPYING examples %{python_sitelib}/* %changelog * Tue Jun 18 2019 David Lehman - 0.61.15.74-1 - Handle exceptions raised from parted.Disk ctor. (dlehman) Related: rhbz#1677383 - Recommend DASD disk label for disks with an existing DASD label (vtrefny) Resolves: rhbz#1677383 * Tue Mar 26 2019 Vojtech Trefny - 0.61.15.73-1 - Use --yes when calling pvresize (vtrefny) Related: rhbz#1657000 - Fix typo in partitioning test cleanup. (dlehman) Related: rhbz#1657000 - Remove selinux test that doesn't do anything meaningful. (dlehman) Related: rhbz#1657000 - Improve parsing of mdadm detail output. (dlehman) Related: rhbz#1657000 - Update btrfs tests to use sufficiently large loop devices. (dlehman) Related: rhbz#1657000 - vfat labels apparently cannot contain lower case characters. (dlehman) Related: rhbz#1657000 - Check label format regardless of mechanism used to set it. (dlehman) Related: rhbz#1657000 - Adapt to presence or absence of python-mock. (dlehman) Related: rhbz#1657000 - Fixed KS forcing zerombr onto RO disk (japokorn) Resolves: rhbz#1544425 - Tell LVM to wipe cachepool metadata when attaching the cachepool (vtrefny) Resolves: rhbz#1643531 - Add dependency on python-six (vtrefny) Resolves: rhbz#1647173 * Mon Sep 03 2018 Vojtech Trefny - 0.61.15.72-1 - Install ndctl when NVDIMMs are used. (dlehman) Related: rhbz#1600496 - Escape dots in lvm filter devices (vtrefny) Resolves: rhbz#1614039 * Thu Jul 26 2018 David Lehman - 0.61.15.71-1 - Remove dependency on libblockdev-nvdimm (vtrefny) Resolves: rhbz#1601557 - Do not try to load NVDIMM plugin on non-x86_64 architectures (vtrefny) Related: rhbz#1601557 - Add version to the LUKS format (vtrefny) Resolves: rhbz#1607830 * Fri Jun 22 2018 David Lehman - 0.61.15.70-1 - Deactivate incomplete VGs along with everything else. (dlehman) Resolves: rhbz#1554224 - Work around udev timing issues. (dlehman) Resolves: rhbz#1592253 Resolves: rhbz#1592191 - nvdimm: don't crash on non-block devices (rvykydal) Related: rhbz#1280500 - Add NVDIMM detection to "addUdevDiskDevice" (vtrefny) Related: rhbz#1558942 - Add 'NVDIMMNamespaceDevice' device representing NVDIMM namespaces (vtrefny) Related: rhbz#1558942 - Add a function for identifying NVDIMM namespaces (vtrefny) Related: rhbz#1558942 - Add a singleton for NVDIMM namespaces management (vtrefny) Resolves: rhbz#1558942 - Backport DependencyGuard from master (vtrefny) Related: rhbz#1558942 - Ignore nvdimm devices unless configured in kickstart (rvykydal) Related: rhbz#1280500 - Do not ignore nvdimm (pmemX) devices (rvykydal) Related: rhbz#1280500 * Wed Feb 21 2018 David Lehman - 0.61.15.69-1 - Fix accounting for metadata when growing lvm. (dlehman) * Fri Feb 09 2018 David Lehman - 0.61.15.68-1 - Catch lvm metadata lookup failure in md post create. (dlehman) Related: rhbz#1223564 Resolves: rhbz#1543579 * Wed Feb 07 2018 David Lehman - 0.61.15.67-1 - fcoe: remove /etc/fcoe dir if it exists before copying configuration (rvykydal) Resolves: rhbz#1482512 - Find and remove stale LVM metadata immediately after creating md array. (dlehman) Resolves: rhbz#1223564 - Add ability to specify vg by uuid for vgremove. (dlehman) Related: rhbz#1223564 * Fri Nov 03 2017 David Lehman - 0.61.15.66-1 - mkfs.ext4 no longer hangs on confirmation (japokorn) Resolves: rhbz#1461459 - Stop enforcing obsolete limits on partition count. (dlehman) Resolves: rhbz#1460668 - Do not try to use protected disks for autopart (vtrefny) Resolves: rhbz#1456409 * Wed Jun 28 2017 David Lehman - 0.61.15.65-1 - Autoset metadata size on percent-based thin pools (vpodzime) Resolves: rhbz#1463198 - Do not try to autoset MD size on a thin pool with no size (vpodzime) Related: rhbz#1463198 * Wed Jun 07 2017 David Lehman - 0.61.15.64-1 - Make sure an LV is deactivated before removal (vpodzime) Resolves: rhbz#1456821 - Make sure the device is setup before formatting it (bcl) Resolves: rhbz#1368986 - Round the recommended thpool metadata size to extents (vpodzime) Resolves: rhbz#1456528 * Tue May 16 2017 David Lehman - 0.61.15.63-1 - Use the uuid module instead of the uuidgen tool (vpodzime) Related: rhbz#1413942 - Respect thin pool's min size when setting its req_size (vpodzime) Resolves: rhbz#1449963 - Add RAID chunk size to the generated kickstart file (vtrefny) Resolves: rhbz#1447343 * Wed May 03 2017 David Lehman - 0.61.15.62-1 - Don't pass unused mountpoint dict to preCommitFixup. (dlehman) Related: rhbz#1184945 - Use the default md metadata version for everything except /boot/efi. (dlehman) Resolves: rhbz#1184945 - Fix resolve_devspec to fully support raid devices (vponcova) Resolves: rhbz#1445723 * Wed Apr 12 2017 David Lehman - 0.61.15.61-1 - Call subprocess.Popen with absolute path to a binary (rvykydal) Related: rhbz#1411407 * Mon Mar 27 2017 David Lehman - 0.61.15.60-1 - Add a method to regenerate XFS' uuid (vpodzime) Related: rhbz#1413942 - Properly unset mountpoint of a snapshot's format (vpodzime) Related: rhbz#1413942 - Update the snapshot's format's exists flag on creation (vpodzime) Related: rhbz#1413942 - Do not require origin to exist when creating snapshot (vpodzime) Resolves: rhbz#1413942 - Make padding smaller for existing thin pools (vpodzime) Resolves: rhbz#1432012 - Use all ancestors when adding RAID disks to exclusiveDisks (vtrefny) Resolves: rhbz#1327463 - Fix detection of linear MD RAID (vtrefny) Resolves: rhbz#1372414 - Allow custom chunk size specification for MDRaidArrayDevice (vtrefny) Resolves: rhbz#1405141 - Remove the useless method requiredDiskLabelType (vponcova) Related: rhbz#1405141 - FBA DASD should use the msdos disk label type (vponcova) Resolves: rhbz#1214407 - Eliminate mountpoint symlinks when looking for mounted device (vtrefny) Resolves: rhbz#1322439 * Thu Sep 15 2016 Samantha N. Bueno - 0.61.15.59-1 - Properly calculate thin pool's vgSpaceUsed (vpodzime) Related: rhbz#1374499 - Remove cache and metadata space from pool for an LVRequest (vpodzime) Resolves: rhbz#1374499 * Mon Sep 12 2016 Samantha N. Bueno - 0.61.15.58-1 - Don't crash if lvm refuses to activate an lv. (dlehman) Resolves: rhbz#1365758 * Wed Sep 07 2016 Samantha N. Bueno - 0.61.15.57-1 - Relax the blivet device name requirements. (dshea) Resolves: rhbz#1259491 - Do not include both size and percent in kickstart logvol cmd. (dlehman) Resolves: rhbz#1269124 - Ignore NVDIMMs at OS installation time. (dlehman) Resolves: rhbz#1334448 * Fri Sep 02 2016 Samantha N. Bueno - 0.61.15.56-1 - Fix an overly inclusive regex in DeviceTree.resolveDevice. (dlehman) Resolves: rhbz#1288118 * Tue Aug 23 2016 Samantha N. Bueno - 0.61.15.55-1 - Fix lookup of md partition's disk. (dlehman) Resolves: rhbz#1362161 - fcoe: don't eat newlines in /etc/fcoe/NIC-cfg target system config (rvykydal) Resolves: rhbz#1350411 * Tue Aug 09 2016 Samantha N. Bueno - 0.61.15.54-1 - Check a device is a DASD before doing DASD-specific checks. (sbueno+anaconda) Resolves: rhbz#1353667 - Ensure biosboot shows up in kickstart (rmarshall) Resolves: rhbz#1242666 * Wed Jul 27 2016 Samantha N. Bueno - 0.61.15.53-1 - Suggest container names based on current hostname in installer (rvykydal) Related: rhbz#1290858 Resolves: rhbz#1359631 * Wed Jul 06 2016 Samantha N. Bueno - 0.61.15.52-1 - Add a method to determine if a udev device is a disk. (vtrefny) Related: rhbz#1200833 - Fix udev.resolve_glob to match device path too (vtrefny) Related: rhbz#1200833 * Fri Jun 24 2016 Brian C. Lane - 0.61.15.51-1 - fcoe: don't use dcb for autoconnecting of bnx2x and bnx2fc (rvykydal) Resolves: rhbz#1261703 - Use minimal alignment as needed when allocating small partitions. (dlehman) Resolves: rhbz#1262137 - Add support for minimal alignment of very small partitions. (dlehman) Related: rhbz#1262137 - Add an error class for alignment errors. (dlehman) Related: rhbz#1262137 * Tue Jun 14 2016 Brian C. Lane - 0.61.15.50-1 - Fix unit arg name in Size.roundToNearest call. (dlehman) Resolves: rhbz#1346154 Related: rhbz#1257997 * Fri Jun 10 2016 Brian C. Lane - 0.61.15.49-1 - Ignore errors activating unknown swap partitions (bcl) Resolves: rhbz#1330763 - Round down to nearest MiB value when writing ks parittion info. (sbueno+anaconda) Resolves: rhbz#1257997 * Fri Jun 03 2016 Brian C. Lane - 0.61.15.48-1 - Make sure the DM path exists before setting status True (bcl) Resolves: rhbz#1325707 - Try harder to identify a partition's disk when necessary. (dlehman) Related: rhbz#1266199 Related: rhbz#1294081 - Add some fallback methods for finding a partition's disk. (dlehman) Related: rhbz#1266199 Related: rhbz#1294081 - Add kwarg to udev.resolve_devspec to return canonical device name. (dlehman) Related: rhbz#1266199 Related: rhbz#1294081 - Don't let unsupported or broken disklabels get in the way. (dlehman) Resolves: rhbz#1294081 Resolves: rhbz#1266199 - Convert device_get_dm_partition_disk to not be dm-specific. (dlehman) Related: rhbz#1266199 Related: rhbz#1294081 - Add a tearDown method to StorageTestCase. (dlehman) Related: rhbz#1266199 Related: rhbz#1294081 - Continue with recursive teardown beyond inactive devices. (dlehman) Related: rhbz#1182229 Resolves: rhbz#1322981 - Revert "Do not break the chain when an inactive device is torn down recursively" (dlehman) Related: rhbz#1322981 - Don't traceback if we fail to examine an md member. (dlehman) Resolves: rhbz#1196666 - Disklabel commit errors can occur for disks, too. (dlehman) Resolves: rhbz#1192571 * Fri May 27 2016 Brian C. Lane - 0.61.15.47-1 - Remember VG name even if it seems to have no PVs (vpodzime) Resolves: rhbz#1245038 - Do not try to add internal LVs (vpodzime) Resolves: rhbz#1271665 * Wed May 25 2016 Brian C. Lane - 0.61.15.46-1 - Fix a typo when checking whether we're using an FBA DASD. (sbueno+anaconda) Resolves: rhbz#1233438 - Add xfs to default filesystem types (rmarshall) Related: rhbz#1242666 - Fix blivet constructor fs support check (rmarshall) Related: rhbz#1242666 - Kickstart missing bootloader partitions (rmarshall) Resolves: rhbz#1242666 * Fri May 06 2016 Brian C. Lane - 0.61.15.45-1 - Use device's mount options when mounting existing systems (vtrefny) Related: rhbz#1250011 - Fix root detection on btrfs in rescue mode (vtrefny) Resolves: rhbz#1250011 * Wed Apr 27 2016 Brian C. Lane - 0.61.15.44-1 - Ignore unused memo_dict arguments in __deepcopy__ methods. (clumens) Related: rhbz#1267944 - Do not create a copy of singleton objects (vpodzime) Related: rhbz#1267944 * Thu Apr 21 2016 Brian C. Lane - 0.61.15.43-1 - Increase the default size of /boot to 1 GB. (clumens) Resolves: rhbz#1270883 * Thu Apr 14 2016 Brian C. Lane - 0.61.15.42-1 - iscsi: allow installing bootloader on offload iscsi disks (qla4xxx) (rvykydal) Related: rhbz#1325134 - Fix traceback when writing dasd.conf (sbueno+anaconda) Resolves: rhbz#1031589 - Disable LVM autobackup when doing image installs (wwoods) Resolves: rhbz#1269144 - Add attribute 'flags.lvm_metadata_backup' (wwoods) Related: rhbz#1269144 - devicelibs.lvm: refactor _getConfigArgs()/lvm() (wwoods) Related: rhbz#1269144 - lvm_test: refactoring + minor fix (wwoods) Related: rhbz#1269144 - devicelibs.lvm: fix pvmove(src, dest=DESTPATH) (wwoods) Related: rhbz#1269144 * Fri Apr 08 2016 Brian C. Lane - 0.61.15.41-1 - Account for bigger LVM meta data due to alignment on MD RAID (vpodzime) Related: rhbz#1284660 - Calculate the MD RAID superblock size from the right size (vpodzime) Related: rhbz#1284660 - Do not reserve extra space for metadata in a VG with RAID PVs (vpodzime) Resolves: rhbz#1284660 * Fri Apr 01 2016 Brian C. Lane - 0.61.15.40-1 - Fix the _bytes string list (dshea) Related: rhbz#1314301 * Fri Mar 18 2016 Brian C. Lane - 0.61.15.39-1 - Fix the parsing of translated sizes. (dshea) Resolves: rhbz#1314301 * Tue Mar 01 2016 Brian C. Lane - 0.61.15.38-1 - Switch to using rd.iscsi.initiator (bcl) Resolves: rhbz#1268315 - Use _netdev mount option as needed. (dlehman) Resolves: rhbz#1290046 - Fix the changelog message for udev deadlock fix. (bcl) Related: rhbz#1272113 * Fri Oct 16 2015 Brian C. Lane - 0.61.15.37-1 - Bypass util.run_program to avoid logging deadlock. Resolves: rhbz#1272113 * Tue Oct 13 2015 Brian C. Lane - 0.61.15.36-1 - Add a udev settle call after instantiating parted.Disk. (dlehman) Resolves: rhbz#1267858 * Wed Oct 07 2015 Brian C. Lane - 0.61.15.35-1 - Pull in new translations Related: rhbz#1047457 * Tue Sep 29 2015 Brian C. Lane - 0.61.15.34-1 - fcoe: fix -fcoe suffix of vlan devices created by fipvlan (rvykydal) Resolves: rhbz#1265946 * Fri Sep 25 2015 Brian C. Lane - 0.61.15.33-1 - Pull in new translations Related: rhbz#1047457 * Thu Sep 24 2015 Brian C. Lane - 0.61.15.32-1 - Wait for auto-activation of LVs when lvmetad is running. (dlehman) Resolves: rhbz#1261621 - Add a function to tell us if the lvmetad socket exists (dlehman) Related: rhbz#1261621 * Wed Sep 23 2015 Brian C. Lane - 0.61.15.31-1 - Handle sysfs size if it is missing (bcl) Resolves: rhbz#1265090 * Tue Sep 22 2015 Brian C. Lane - 0.61.15.30-1 - Pull in new translations Related: rhbz#1047457 * Thu Sep 17 2015 Brian C. Lane - 0.61.15.29-1 - Mock up a parted.Device for openlmi-storage. (dlehman) Resolves: rhbz#1238581 * Tue Sep 15 2015 Brian C. Lane - 0.61.15.28-1 - Minimize number of times storage.partitions is accessed. (sbueno+anaconda) Resolves: rhbz#1155984 - Get rid of Size.__str__ calls in logging. (sbueno+anaconda) Resolves: rhbz#1155984 - Only access storage.bootDisk once (sbueno+anaconda) Resolves: rhbz#1155984 - Fix isDisk and partitionable properties for fwraid arrays. (dlehman) Related: rhbz#1197582 - Require a non-empty member set for md disks. (dlehman) Related: rhbz#1197582 - Replace property decorator on PartitionDevice.resizable. (dlehman) Related: rhbz#1069597 - Update unit tests related to mediaPresent. (dlehman) Related: rhbz#1069597 - Don't store UUIDs or labels of multipath members. (dlehman) Resolves: rhbz#1254232 - Try to do fsck if resize fails before giving up (vpodzime) Resolves: rhbz#1251396 * Thu Sep 10 2015 Brian C. Lane - 0.61.15.27-1 - Mount efivarfs during os installation (bcl) Resolves: rhbz#1261559 * Wed Sep 09 2015 Brian C. Lane - 0.61.15.26-1 - When handling implicit partitions, first check autopart was requested. (clumens) Related: rhbz#1164660 * Thu Sep 03 2015 Brian C. Lane - 0.61.15.25-1 - Duplicate VG names are problem even if their disks are ignored (vpodzime) Resolves: rhbz#1198367 * Wed Sep 02 2015 Brian C. Lane - 0.61.15.24-1 - Add a method to list disks related by lvm/md/btrfs container membership. (dlehman) Related: rhbz#1254548 - Make getDependentDevices work with hidden devices. (dlehman) Related: rhbz#1254548 * Wed Aug 19 2015 Brian C. Lane - 0.61.15.23-1 - Remove the cacheRequest kwarg for thin(pool) LVs (vpodzime) Resolves: rhbz#1254567 * Tue Aug 18 2015 Brian C. Lane - 0.61.15.22-1 - Add OSError to list of errors in updateSysfsPath (bcl) Resolves: rhbz#1252949 * Mon Aug 17 2015 Brian C. Lane - 0.61.15.21-1 - Add a property for read-only devices. (dshea) Resolves: rhbz#1250608 * Sun Aug 16 2015 Brian C. Lane - 0.61.15.20-1 - Update dmdev size when setting up disk images (bcl) Resolves: rhbz#1252703 - Setup LoopDevice's name before updating sysfs path (bcl) Resolves: rhbz#1252703 - Add likely to be raised exceptions to catch block (amulhern) Related: rhbz#1252703 - Fix setupDiskImages when the devices are already in the tree. (dlehman) Related: rhbz#1252703 * Thu Aug 13 2015 Brian C. Lane - 0.61.15.19-1 - fcoe: replace fipvlan with fcoemon (rvykydal) Resolves: rhbz#1085325 * Wed Aug 12 2015 Brian C. Lane - 0.61.15.18-1 - Partition requests may not have partedPartition (bcl) Resolves: rhbz#1248973 * Fri Aug 07 2015 Brian C. Lane - 0.61.15.17-1 - Fix some logical problems in write_dasd_conf (sbueno+anaconda) Resolves: rhbz#1248949 - Remove unusable free regions from list when setting up growth. (dlehman) Resolves: rhbz#1248487 * Thu Aug 06 2015 Brian C. Lane - 0.61.15.16-1 - Fall back on mdadm info if udev info is missing for the array (amulhern) Related: rhbz#1246003 - Call superclass ctor a bit later to get size attrs set up first. (dlehman) Resolves: rhbz#1246003 - updateSize for md containers is a no-op. (dlehman) Related: rhbz#1246003 - Don't pass model to md fwraid constructor. (dlehman) Related: rhbz#1246003 * Mon Aug 03 2015 Brian C. Lane - 0.61.15.15-1 - PartitionDevice may not have a disk set (bcl) Resolves: rhbz#1248973 * Fri Jul 31 2015 Brian C. Lane - 0.61.15.14-1 - Don't pass createOptions along when creating the btrfs device. (clumens) Resolves: rhbz#1248313 - Pass a sysfs path to MultipathDevice constructor (rvykydal) Resolves: rhbz#1245201 * Tue Jul 28 2015 Brian C. Lane - 0.61.15.13-1 - Enforce size range on factory fstypes (dlehman) Resolves: rhbz#1178884 - Fix obsolete format size constraints (dlehman) Resolves: rhbz#1178884 * Wed Jul 15 2015 Brian C. Lane - 0.61.15.12-1 - Fix two pylint problems. (clumens) Related: rhbz#1233438 * Thu Jul 09 2015 Brian C. Lane - 0.61.15.11-1 - Add error handling around storageInitialize for unusable setups. (dlehman) Related: rhbz#1236995 - Include suggestions in error classes for unusable storage configurations. (dlehman) Related: rhbz#1236995 - x-initrd.mount should only be set for /var (bcl) Resolves: rhbz#1238603 * Tue Jul 07 2015 Brian C. Lane - 0.61.15.10-1 - Add a function to devicelibs.dasd to detect LDL DASDs. (sbueno+anaconda) Resolves: rhbz#1233438 - Make sure devices are always torn down in findExistingInstallations if requested (vpodzime) Related: rhbz#1182229 - Do not break the chain when an inactive device is torn down recursively (vpodzime) Related: rhbz#1182229 - Tear down all devices after finding existing installations (vpodzime) Resolves: rhbz#1182229 * Wed Jul 01 2015 Brian C. Lane - 0.61.15.9-1 - Improve format handling for lvm snapshots. (dlehman) Resolves: rhbz#1234454 - Don't crash on cleanup with DASDs or iSCSI devices present. (dlehman) Resolves: rhbz#1166506 - Fix handling of UUIDs for existing MD devices. (dlehman) Resolves: rhbz#1234333 - Treat existing md arrays whose members are all disks like disks. (dlehman) Resolves: rhbz#1197582 - Handle formatting immediately after adding devices from format handlers. (dlehman) Related: rhbz#1192004 - Be more careful about overwriting device.originalFormat. (dlehman) Resolves: rhbz#1192004 - Store vendor/model information for DiskDevice instances. (dlehman) Related: rhbz#1069597 - Move mediaPresent out of Device and into StorageDevice. (dlehman) Related: rhbz#1069597 - Don't use parted.Device to obtain size info. (dlehman) Resolves: rhbz#1069597 - Align free regions before choosing one. (dlehman) Related: rhbz#1181494 - Align partition sizes earlier in the allocation process. (dlehman) Resolves: rhbz#1181494 - Fix a duplicate key caused by patch merging. (clumens) Related: rhbz#1220898 - Add support for specifying arbitrary mkfs options. (clumens) Resolves: rhbz#1220898 * Thu Jun 25 2015 Brian C. Lane - 0.61.15.8-1 - LVMFactory: raise exception when adding LV to full fixed size VG (vtrefny) Resolves: rhbz#1170660 - Do not unhide devices with hidden parents (vtrefny) Resolves: rhbz#1158643 - Add support for creation of cached LVs (vpodzime) Related: rhbz#1120421 - Recognize and process cached logical volumes (vpodzime) Related: rhbz#1120421 - Don't crash when processing cached LVs (vpodzime) Related: rhbz#1120421 * Mon Jun 22 2015 Brian C. Lane - 0.61.15.7-1 - Require pyparted with exception handler support (bcl) Related: rhbz#1188163 - Use partially corrupt gpt disklabels. (bcl) Resolves: rhbz#1188163 * Thu Jun 18 2015 Brian C. Lane - 0.61.15.6-1 - Fix up some logging methods. (sbueno+anaconda) Resolves: rhbz#1155984 - Make sure to add hyperPAV aliases to dasd.conf (sbueno+anaconda) Resolves: rhbz#1031589 - Fix a traceback with anaconda-cleanup on s390x. (sbueno+anaconda) Resolves: rhbz#1173101 - Increase ext4 maximum size from 16 TiB to 1 EiB (bcl) Resolves: rhbz#1231049 * Mon Jun 15 2015 Brian C. Lane - 0.61.15.5-1 - If any zFCP devices are used, always write /etc/zfcp.conf (sbueno+anaconda) Resolves: rhbz#1194241 * Mon Jun 08 2015 Brian C. Lane - 0.61.15.4-1 - Un-escape '-'s in names or paths for _all_ lvm lv or vgs (amulhern) Related: rhbz#1223855 - Include LUKSDevice information in kickstart data (amulhern) Resolves: rhbz#1139222 - If the parent volume has a label, use it in subvol's kickstart (amulhern) Resolves: rhbz#1072060 * Fri Jun 05 2015 Brian C. Lane - 0.61.15.3-1 - Improve wording of the error message on autopart fail (vpodzime) Related: rhbz#1202877 - Fallback implicit partition size must be big enough for BTRFS (vpodzime) Related: rhbz#1202877 Related: rhbz#1171116 - Make implicit partitions smaller if real requests don't fit anywhere (vpodzime) Resolves: rhbz#1171116 Related: rhbz#1202877 - Make sure autopart requests fit in somewhere (vpodzime) Resolves: rhbz#978266 Related: rhbz#1202877 - Work with free region sizes instead of parted.Geometry objects (vpodzime) Related: rhbz#1202877 Related: rhbz#978266 - Check that we have big enough free space for the partition request (vpodzime) Related: rhbz#1202877 Related: rhbz#978266 * Wed Jun 03 2015 Brian C. Lane - 0.61.15.2-1 - If allowing degraded array, attempt to start it (amulhern) Resolves: rhbz#1090009 Related: rhbz#1202877 - Add a method that looks at DEVNAME (amulhern) Related: rhbz#1090009 Related: rhbz#1202877 - Add mdrun method to just start, not assemble, an array. (amulhern) Related: rhbz#1090009 Related: rhbz#1202877 - Change allow_degraded_mdraid flag to allow_imperfect_devices (amulhern) Related: rhbz#1090009 Related: rhbz#1202877 - Check if device has enough members when setting RAID level (amulhern) Related: rhbz#1019685 Related: rhbz#1202877 - Add BTRFSValueError error and use in btrfs related code (amulhern) Related: rhbz#1019685 Related: rhbz#1202877 - Use a safer method to get a dm partition's disk name. (dlehman) Resolves: rhbz#1190886 Related: rhbz#1181336 - Don't raise an exception for failure to scan an ignored disk. (dlehman) Related: rhbz#1123450 - iscsi: mount partitions in initramfs for root on iscsi (rvykydal) Related: rhbz#740106 Related: rhbz#1202877 - iscsi: improve logging of failed logins (rvykydal) Related: rhbz#1114820 Related: rhbz#1202877 - Introduce a new doReqPartition method that is similar to doAutoPartition. (clumens) Related: rhbz#1164660 - Fix "anaconda hangs while trying to discover iscsi..." (jkonecny) Resolves: rhbz#1166652 * Fri May 29 2015 Brian C. Lane - 0.61.15.1-1 - Add .0 to version -- 0.61.15.0 (bcl) Related: rhbz#1202877 - Ignore Merge pull commits and turn down logging level (bcl) Related: rhbz#1202877 - get_loop_name shoud return an empty name if it isn't found (#980510) (bcl) Related: rhbz#1202877 - Multiple loops shouldn't be fatal (#980510) (bcl) Related: rhbz#1202877 - Disable MacEFI platform type and hfs+ ESP (#1119305) (bcl) Related: rhbz#1202877 - Add a release make target (bcl) Related: rhbz#1202877 - Update makebumpver to include flags on first request (bcl) Related: rhbz#1202877 - Fix a couple of easy pylint errors. (dlehman) Related: rhbz#1202877 - Change required pyparted version to one that is in RHEL-7. (dlehman) Related: rhbz#1202877 - Remove python-six dependency. (dlehman) Related: rhbz#1202877 - Clean out the mock chroot before attempting to run the rest of the test. (clumens) Related: rhbz#1202877 - Put all mock results into the top-level source dir. (clumens) Related: rhbz#1202877 - Add scratch, scratch-bumpver and rc-release targets. (bcl) Related: rhbz#1202877 - Add --newrelease to makebumpver (bcl) Related: rhbz#1202877 - Add po-empty make target (bcl) Related: rhbz#1202877 - Switch translations to use Zanata (bcl) Related: rhbz#1202877 - Split up devices.py. (dlehman) Related: rhbz#1202877 - Split string of symlinks into array of strings (#1136214) (amulhern) Related: rhbz#1202877 - Keep lvm and md metadata separate from udev info. (dlehman) Related: rhbz#1202877 - Replace our pyudev with the package python-pyudev. (dlehman) Related: rhbz#1202877 * Mon Mar 09 2015 David Lehman - 0.61.15-1 - Allow passing KiB values to vgcreate -s option (tjeyasin) - Add a script to rebase and merge pull requests (dshea) - Allow user-specified values for data alignment of new lvm pvs. (#1178705) (dlehman) - Let LVM determine alignment for PV data areas. (#962961) (dlehman) * Tue Jan 27 2015 Samantha N. Bueno - 0.61.14-1 - Mountpoint detection for removable devices (vtrefny) - Use format.mountpoint for BTRFS listSubVolumes (vtrefny) - Allow handling device format for already handled BTRFS (vtrefny) * Wed Dec 03 2014 Samantha N. Bueno - 0.61.13-1 - Fix pyparted version in spec file. (sbueno+anaconda) - Revert "Prune actions before cancelling them" (sbueno+anaconda) - Revert "Update partitions' numbers and names when adding new partition (#1166598)" (sbueno+anaconda) - Revert "Return device's children sorted by name" (sbueno+anaconda) * Thu Nov 27 2014 Vratislav Podzimek - 0.61.12-1 - Prune actions before cancelling them (vpodzime) - Try to get FS info first before doing an FS check (vpodzime) - Reverting partition's size shouldn't require it to be aligned (#1165714) (vpodzime) * Wed Nov 26 2014 Samantha N. Bueno - 0.61.11-1 - Update partitions' numbers and names when adding new partition (#1166598) (vpodzime) - Return device's children sorted by name (vpodzime) - Run dosfsck in non-interactive mode (#1167959) (bcl) * Tue Nov 18 2014 Samantha N. Bueno - 0.61.10-1 - Round filesystem target size to whole resize tool units. (#1163410) (dlehman) - New method to round a Size to a whole number of a specified unit. (dlehman) - Fix units for fs min size padding. (dlehman) - Disable resize operations on filesystems whose current size is unknown. (dlehman) - Run fsck before obtaining minimum filesystem size. (#1162215) (dlehman) - Do not translate empty strings, gettext translates them into system information (vtrefny) - Add more arguments to mpathconf (#1154347) (dshea) * Tue Nov 11 2014 Samantha N. Bueno - 0.61.9-1 - Device status can never be True for non-existent devices. (#1156058) (dlehman) - Use super to get much-needed MRO magic in constructor. (#1158968) (dlehman) - Fix int * Size operation and add tests (#1158792) (bcl) - getArch should return ppc64 or ppc64le (#1159271) (bcl) - Pack data for the wait_for_entropy callback (vpodzime) - Allow the wait_for_entropy callback enforce continue (vpodzime) - Revert "Disable resize of ntfs during OS installation. (#1120964)" (dlehman) - Require resize target sizes to yield aligned partitions. (#1120964) (dlehman) - Split out code to determine max unaligned partition size to a property. (dlehman) - Allow generating aligned geometry for arbitrary target size. (dlehman) - Align end sector in the appropriate direction for resize. (#1120964) (dlehman) - Specify ntfs resize target in bytes. (#1120964) (dlehman) - Check new target size against min size and max size. (dlehman) - Use Decimal for math in Size.convertTo. (#1120964) (dlehman) - Change signature of DiskLabel.addPartition to be more useful. (dlehman) - Add a contextmanager to create and remove sparse tempfiles. (dlehman) - Add a DiskFile class for testing partitioning code as a non-root user. (dlehman) - Add ability to set a default fstype for the boot partition (#1112697) (bcl) - Pass a list of string items to log_method_return. (sbueno+anaconda) - Add testing for MDRaidArrayDevice.mdadmFormatUUID (#1156202) (amulhern) - Give mdadm format uuids to the outside world (#1156202) (amulhern) * Tue Oct 28 2014 Samantha N. Bueno - 0.61.8-1 - Strip lvm WARNING: lines from output (#1157864) (bcl) - Wait for udev to settle before collecting UUID for new filesystems. (dlehman) * Thu Oct 23 2014 Samantha N. Bueno - 0.61.7-1 - Don't try to get no profile's name (#1155014) (vpodzime) - Disable resize of ntfs during OS installation. (#1120964) (dlehman) * Mon Oct 20 2014 Samantha N. Bueno - 0.61.6-1 - Let udev settle between writing partition flags and formatting. (#1109244) (dlehman) - Set _partedDevice attribute before calling device constructor (#1150147) (amulhern) - Change variable keyword (#1154050) (amulhern) - Set sysfsPath attribute before calling Device constructor (#1150147) (amulhern) - Take care when checking relationship of parent and child UUIDs (#1150147) (amulhern) - Specify file type in transifex config file. (sbueno+anaconda) * Tue Oct 14 2014 Samantha N. Bueno - 0.61.5-1 - Branch transifex for the f21-branch (#1151750) (vpodzime) - Remove unused import introduced by porting patches (vpodzime) - Allow specifying thin pool profiles (vpodzime) - Remove tests for the sanityCheck (vpodzime) - Move _verifyLUKSDevicesHaveKey and its exception to anaconda (vpodzime) - Remove sanityCheck functions from blivet sources (vpodzime) - Allow specifying minimum entropy when creating LUKS (vpodzime) - Allow user code provide callbacks for various actions/events (vpodzime) - Allow user code creating free space snapshot (vpodzime) - Update tests to bring into line w/ previous commit (#1150147) (amulhern) - Abstract ContainerDevice member format check into a method (#1150147) (amulhern) - Register DeviceFormat class (#1150147) (amulhern) - Don't append btrfs mount options to None (#1150872) (dshea) - Convert int to str before passing it to run_program (#1151129) (amulhern) - Avoid unneccesarily tripping raid-level member count checks. (dlehman) - Allow toggling encryption of raid container members. (#1148373) (dlehman) - Organize installer block device name blacklist. (#1148923) (dlehman) * Wed Oct 08 2014 Samantha N. Bueno - 0.61.4-1 - Canonicalize MD_UUID* values in udev.py (#1147087) (amulhern) - Add a test for activation. (amulhern) - Add a test for mddetail on containers. (amulhern) - Still attempt to destroy even if remove failed. (amulhern) - Use long messages for unittest errors. (amulhern) - Fix mdnominate error message. (amulhern) - Break once metadata value is found. (amulhern) - Split mdadd into separate functions. (amulhern) - Refactor mdraid tests. (amulhern) - Add a method to extract information about an mdraid array (amulhern) - Extend mdadm() to capture output (amulhern) - Be more robust in the face of possible changes to mdadm's UUIDs. (amulhern) - Factor canonicalize_UUID() into separate method. (amulhern) - Add a docstring to mdraid.mdexamine (amulhern) - Omit pylint false positive (amulhern) - Pylint inspired cleanup (#1070115) (amulhern) - Raise an exception when we find orphan partitions. (dlehman) - Fall back to parted to detect dasd disklabels. (dlehman) - Remove a problematic remnant of singlePV. (dlehman) - Remove all traces of singlePV. (sbueno+anaconda) - Change the default /boot part on s390x to not be lvm. (sbueno+anaconda) - Condense and comment some devicelibs.dasd methods (#1070115) (amulhern) - Add a test file for DASD handling (#1070115) (amulhern) - Add two functions to enable manual addition of ECKD DASDs. (sbueno+anaconda) * Tue Sep 30 2014 Samantha N. Bueno - 0.61.3-1 - Don't mix target and discovery credentials (#1037564) (mkolman) - Filter out free regions too small for alignment of partitions. (dlehman) - Align free regions used for partition growing calculations. (dlehman) - Try to align end sector up when aligning new partitions. (dlehman) - Remove obsolete conversion of size to float. (dlehman) - Honor size specified for explicit extended partition requests. (dlehman) - Honor zerombr regardless of clearpart setting. (dlehman) - Fix treatment of percent as lvm lv size spec. (#1146156) (dlehman) - iscsi: fix root argument being overriden by local variable (#1144463) (rvykydal) - iscsi: add iscsi singleton back (#1144463) (rvykydal) - Only cancel actions on disks related to the one we are hiding. (dlehman) - Cancel actions before hiding descendent devices. (dlehman) - Improve handling of device removals/additions from the devicetree. (dlehman) - The first format destroy action should obsolete any others. (dlehman) - Do not allow modification or removal of protected devices. (dlehman) - Fix pylint errors from recent btrfs commits. (dlehman) - Propagate mount options for btrfs members to all volumes/subvolumes. (dlehman) - Properly identify dm devices even when udev info is incomplete. (dlehman) - Do not mount btrfs to list subvolumes outside installer_mode. (dlehman) - Reset default subvolume prior to removing the default subvolume. (dlehman) - Increase max size for btrfs to 16 EiB. (#1114435) (dlehman) - Improve adjustment for removal of a subvol in BTRFSFactory. (dlehman) - Set dummy mountpoint in ksdata for lvm thin pools. (dlehman) * Wed Sep 17 2014 Samantha N. Bueno - 0.61.2-1 - Add an epoch to blivet. (sbueno+anaconda) * Thu Sep 04 2014 Samantha N. Bueno - 0.61.1-1 - Make prefering leaves the default in getDeviceByPath (#1122081) (amulhern) - Make _filterDevices() return a generator consistently (#1122081) (amulhern) - Don't pass md array UUID as member format UUID. (#1135670) (dlehman) * Wed Aug 27 2014 Samantha N. Bueno - 0.62-1 - _maxLabelChars is no longer used by anything (bcl) - tests: Add tests for HFSPlus labels (#821201) (bcl) - Write a fs label for HFS+ ESP (#821201) (bcl) - Minor fix of a docstring. (rvykydal) - Get rid of partedFlags field. (amulhern) * Fri Jul 11 2014 Brian C. Lane - 0.61-1 - Fix conf.py version bumping (bcl) - Add some tests for Chunk and Request class hierarchy. (dlehman) - Honor the skip list when allocating leftover sectors. (dlehman) - A Chunk is done growing when its pool is empty. (dlehman) - Don't use integer division to calculate a fraction. (dlehman) - Bump version in sphinx config from scripts/makebumpver. (dlehman) - Remove spec= from Size usage in intro.rst. (dlehman) - Attempt to reset the uuid of the mdraid member device (#1070095) (amulhern) - Add new method udev.device_get_md_device_uuid() method (#1070095) (amulhern) - Canonicalize mdadm generated UUIDS (#1070095) (amulhern) - Add a udev.device_get_md_metadata() method to udev and use it. (amulhern) - Change use of METADATA to MD_METADATA. (amulhern) - Check for md_level of None (amulhern) - Do not convert the result of udev.device_get_md_devices() to int. (amulhern) - Add documentation to udev.device_get_md_*() methods. (amulhern) - Document udev.device_get_uuid() method. (amulhern) - Add a few small tests for mdexamine (amulhern) - Add test for raid level descriptor None. (amulhern) - Use context manager with assertRaises*() tests. (amulhern) - Change uuid parameter to array_uuid (amulhern) - Remove udev_ prefix from udev methods. (amulhern) - Remove all references to DeviceFormat.majorminor (amulhern) - Use add_metaclass instead of with_metaclass. (amulhern) - Disable redefined-builtin warning. (amulhern) - Use range instead of xrange in generateBackupPassphrase() (amulhern) - Add a simple test of generateBackupPassphrase() result format (amulhern) - Python3 compatibility (rkuska) - Replace python-setuptools-devel BR with python-setuptools (bcl) * Wed Jul 02 2014 Brian C. Lane - 0.60-1 - Do not use udev info to get the name of the device. (amulhern) - Remove unnecessary fanciness about importing devices. (amulhern) - Disable some pylint warnings that arise due to anaconda versions. (amulhern) - Allow RAID1 on EFI (#788313) (amulhern) * Thu Jun 26 2014 Brian C. Lane - 0.59-1 - When logging, indicate whether exception was ignored by blivet. (amulhern) * Wed Jun 25 2014 Brian C. Lane - 0.58-1 - Only import ROOT_PATH if needed (bcl) - Add early keyword to setUpBootLoader (#1086811) (bcl) - Only log a warning about labeling if something is wrong (#1075136) (amulhern) - When adding an md array, allow adding incomplete arrays (#1090009) (amulhern) - Add a flag to control whether a degraded md raid array is used (#1090009) (amulhern) - Remove preferLeaves parameter from getDeviceByPath() (amulhern) - Factor out commonalities among getDevice[s|]By* methods. (amulhern) - Omit special check for md devices in addUdevDevice(). (amulhern) - Remove unused 'slaves' variable. (amulhern) - Move down or remove assignment to device in add* methods. (amulhern) - Move DevicelibsTestCase up to the top level of the testing directory. (amulhern) - Accept None for btrfs raid levels (#1109195) (amulhern) - Add a test for a btrfs error associated with small devices (#1109195) (amulhern) * Thu Jun 19 2014 Brian C. Lane - 0.57-1 - Make DevicelibsTestCase devices configurable. (amulhern) - Use correct parameters in __init__() in subclasses of unittest.TestCase. (amulhern) - Add num_blocks parameter to makeLoopDev(). (amulhern) - Move skipUnless decorator to the top level class of skipped classes. (amulhern) - Explicitly accept a string as well as a RAIDLevel object. (amulhern) - Update BTRFS initializer comments for level type. (amulhern) - Remove some extra imports. (amulhern) - Add method to set the default disklabel (#1078537) (bcl) - Do not try to activate dmraid sets if the dmraid usage flag is false (mkolman) - Use the value of the Anaconda dmraid flag to set the Blivet dmraid flag (mkolman) - Use the value of the Anaconda ibft flag to set the Blivet ibft flag (mkolman) - Ignore _build directory in doc directory. (amulhern) - Change intersphinx mapping to avoid linkcheck redirect errors. (amulhern) - Remove doctest target from Makefile. (amulhern) - Allow the table of contents to go one level deeper. (amulhern) - Automate generation of the .rst files which just set up the modules. (amulhern) * Thu Jun 12 2014 Brian C. Lane - 0.56-1 - Skip device name validation for some device types. (dlehman) - Add a property indicating whether a device is directly accessible. (dlehman) - Add support for read-only btrfs snapshots. (dlehman) - Add tests for snapshots. (dlehman) - Special treatment for getting parted device for old-style lvm snapshots. (dlehman) - Some devices have immutable formatting. (dlehman) - Detect existing btrfs snapshots. (dlehman) - Drop special accounting for snapshot space usage in VG. (dlehman) - Use LVMSnapshotDevice when populating the devicetree. (dlehman) - Add Device classes for snapshots. (dlehman) - Add ignore_skip keyword arg to lvactivate. (dlehman) - Add optional kwarg to force removal of a logical volume. (dlehman) - Add backend functions for creating and managing snapshots. (dlehman) - Add docstrings for BTRFSVolumeDevice and BTRFSSubVolumeDevice. (dlehman) - Remove duplicate portion of lvm config string. (dlehman) - Reset the devicetree before tearing everything down in _cleanUp. (dlehman) - Make sure disk filters are applied even if populate fails. (dlehman) - Sync the spec file with downstream (vpodzime) * Mon Jun 09 2014 Vratislav Podzimek - 0.55-1 - IPSeriesPPC now supports GPT in Open Firmware (hamzy) - Fix device name validation for devices that can contain / (#1103751) (dshea) - Add a getRaidLevel() convenience method to raid.py (amulhern) - Make a StorageDevice.raw_device property and use it where appropriate (amulhern) - Simplify a small chunk of Blivet.updateKSData() (amulhern) - Move the code for getting a space requirement from devicefactory to raid. (amulhern) - Make all devicefactory classes uses RAID objects instead of strings. (amulhern) - Remove devicefactory.get_raid_level from blivet (amulhern) - Put get_supported_raid_levels in devicefactory.py (amulhern) - Make BTRFS devices use RAID objects instead of strings for levels (amulhern) - Add lists of supported RAID levels for btrfs and lvm (amulhern) - Add "linear" to mdraid's list of supported raid levels. (amulhern) - Remove getRaidLevel() from mdraid file and make RAID_levels public (amulhern) - Check for required methods in MDRaidLevels.isRaidLevel. (amulhern) - Use has_redundancy property to decide how to add a member to an array. (amulhern) - Update the mdraid.mdadd comments (amulhern) - Use has_redundancy raid property when checking whether a device is removable (amulhern) - Make createBitmap() a property and update tests appropriately. (amulhern) - Add a Dup class to the various descendants of RAIDLevel. (amulhern) - Add an is_uniform property to the RAID levels. (amulhern) - Add a has_redundancy method that returns True if there is actual redundancy (amulhern) - Add Linear and Single to the RAID classes. (amulhern) - Move Container class to raid package and tidy it up (amulhern) - Allow the RAID object itself to be a valid RAID descriptor for lookup. (amulhern) - Adjust RaidLevel hierarchy so that all raid level objects extend RAIDLevel (amulhern) - No longer use _standard_levels as the default set of RAID levels. (amulhern) - Extract selection of members in complete() into a separate method. (amulhern) - Remove DMRaidArrayDevice.members property. (amulhern) - Comment mdraid.mdcreate() and update tests appropriately. (amulhern) - Import name 'lvm' instead of names from lvm package. (amulhern) * Sat Jun 07 2014 Fedora Release Engineering - 0.54-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Brian C. Lane - 0.54-1 - Add tests for setting device's parent list directly (vpodzime) - Do not alter the ParentList being iterated over (#1083581) (vpodzime) - Do not limit ThinLV's size to VG's free space (vpodzime) - Take extra RAID metadata into account when growing LV (#1093144) (vpodzime) - Move apply_chunk_growth outside of a for-cycle (vpodzime) - Multiple arguments for string formatting need to be in parentheses (#1100263) (mkolman) - Make print statements Python 3 compatible (mkolman) - Validate device names (dshea) - Use a setter for Device.name as foretold by the prophecy of TODO (dshea) * Tue May 20 2014 Brian C. Lane - 0.53-1 - Remove extra quotes from the xfs_db arguments. (dshea) - Factor duplicate code in __deepcopy__ methods into one method (#1095244) (amulhern) - Rearrange code related to handleUdevDeviceFormat() (#1095329) (amulhern) - Make dumpState catch and log all AttributeErrors (#1095329) (amulhern) - Add sectorSize property to catch and handle missing partedDevice (#1095329) (amulhern) - Get rid of remaining uses of spec keyword for Size() in examples directory. (amulhern) - Generalize false positive regular expression for multiple pylint versions (amulhern) - Do not run some tests unless running on Jenkins. (amulhern) - Miscellaneous pylint fixes. (amulhern) - Globally disable pointless string statement warning (amulhern) - Disable unused argument warning for 'args' in TmpFSDevice constructor (amulhern) - Omit 'args' parameter from formats constructors (amulhern) - Disabled unused argument warning for kwargs in formats.destroy() (amulhern) - Omit *args from parameters for format.create() and formats.destroy() (amulhern) - Omit *args from parameters in formats.setup() (amulhern) - Make formats.teardown() not take any extra parameters. (amulhern) - Make formats.mount use explicit keywords instead of kwargs. (amulhern) - Remove non-self params from FS.doResize method (amulhern) - Make doFormat use regular style keyword parameters (amulhern) - Do not use *args, **kwargs idiom in scheduleCreateFormat. (amulhern) - Do not use *args, **kwargs idiom in various schedule* auxiliary test methods. (amulhern) - Remove upgrading param from turnOnSwap() (amulhern) - Disable unused-argument warning (amulhern) - Disable pylint unused-argument warning. (amulhern) * Thu May 08 2014 Brian C. Lane - 0.52-1 - Split ROOT_PATH usage into getTargetPhysicalRoot()/getSysroot() (walters) - Update and fix copyright info for docs. (dlehman) - Add some tests for extended partition management. (dlehman) - Add some tests that verify the results of DeviceTree.populate. (dlehman) - Add a base class for tests backed by disk image storage. (dlehman) - Adapt examples to examples/common.py function dispersement. (dlehman) - Change devices.SparseFileDevice._create to use util.create_sparse_file. (dlehman) - Move set_up_logging and create_sparse_file into blivet.util for reuse. (dlehman) - Make examples.common.tear_down_disk_images a DeviceTree method. (dlehman) - Fix handling of devices activated as a side-effect of actions. (dlehman) - Check for problematic active devices before processing any actions. (dlehman) - Split some large blocks out of DeviceTree.processActions. (dlehman) - Explicitly requested extended partitions already have an action. (dlehman) - Fix handling of extended partitions across various modes of operation. (dlehman) - Handle the case of md arrays getting activated from outside blivet. (dlehman) - Make an extra effort to remove dm partition nodes that want to stay. (dlehman) - Fix handling of clearing a partitioned disk and leaving it cleared. (dlehman) - Don't check for disklabels on partitions. (dlehman) - Update targetSize to reflect actual size after a device is created. (dlehman) - Remove redundant msecs from logging timestamp. (dlehman) - Make signature of Size.__new__ match signature of Decimal.__new__ (amulhern) - Change Size so that it takes a single value parameter. (amulhern) - Change all 'format' keyword args to 'fmt' in Device constructors (amulhern) - Change format keyword argument to fmt in scheduleCreateFormat (amulhern) - Change keyword parameters in devicetree.findActions (amulhern) - Change ActionCreateFormat constructor keyword argument to 'fmt' (amulhern) - Remove unused parameter 'ignoreErrors' from umountFilesystems() (amulhern) - Remove parameter 'raiseErrors' from mountFilesystems() methods. (amulhern) - Disable unused argument warning for 'major' and 'minor' (amulhern) - Set dummy functions as values rather than via function definition syntax. (amulhern) - Pass size value to superconstructor for LVMVolumeGroupDevice. (amulhern) - Sort the pylint-false-positives file (amulhern) - Do not disable unused argument warning. (amulhern) - Omit pylint warning about disabled warnings or errors from pylint log. (amulhern) - Put the pyblock warning in pylint-false-positives (amulhern) - Remove obsolete documentation for parameter 'label'. (amulhern) * Mon May 05 2014 Brian C. Lane - 0.51-1 - Adjust the available size on each disk using chunk size. (amulhern) - Removed some now unused methods from devices (#1085474) (amulhern) - Rename size() method to get_size() method. (amulhern) - Remove unused get_size method (#1085474) (amulhern) - Use raid.size method to get size of device (#1085474) (amulhern) - Add a size() method to the raid classes (#1085474) (amulhern) - Move line that might throw an MDRaid exception inside try block (#1085474) (amulhern) - Check whether type is mdbiosraidarray before checking smallest member (#1085474) (amulhern) - Log if there was a failure to calculate the size of the MDRaidArrayDevice (#1085474) (amulhern) - Rename get_raw_array_size to get_net_array_size (#1085474) (amulhern) - Rename _get_size to _trim, which describes its function better (#1085474) (amulhern) - Improve comments on a few methods (#1085474) (amulhern) - Make RAIDLevels iterable (#1085474) (amulhern) - Update makebumpver for python-bugzilla 1.0.0 (bcl) - Disable unused argument warning for 'key_file' in devicelibs.crypto methods (amulhern) - Disable unused argument warning for 'del_passphrase' in luks_remove_key (amulhern) - Disable unused argument warning for 'data' in doAutoPartition (amulhern) - Disable unused argument warning for 'info' in handleUdevLuksFormat (amulhern) - Disable unused argument warning for 'disks' in get_pv_space. (amulhern) - Remove pointless parameters from unittest methods. (amulhern) - Disable a no member warning for EddTestFS initializer. (amulhern) - Get rid of unused argument 'args' in MakeBumpVer constructors (amulhern) - Changes to _parseOneLine() and its single invocation. (amulhern) - Remove obsolete comment (amulhern) - Rename to avoid redefining parameter built-ins (amulhern) - Change name to avoid redefining built-in (amulhern) - Remove unused parameter in makeupdates. (amulhern) - Removed unused argument 'options' from testMount (amulhern) - Make signature of _setSize match that of the method it overrrides. (amulhern) - Actually use argv parameter (amulhern) - Pass fname as first argument to shutil.copy2 (amulhern) - Remove minimumSector method and _minimumSector attribute (amulhern) - Disable not-callable pylint warning. (amulhern) - Set child_factory_fstype to None in DeviceFactory (amulhern) - Suppress unpacking-non-sequence pylint warning (amulhern) - Prefix name with defining package (amulhern) - Update Platform instance from flags instead of replacing it. (#1090646) (dlehman) - Rename to avoid redefining built-ins where the redefinition is method local. (amulhern) - Set device.format in else block of try/except/else. (amulhern) - Do not run pylint on sphinx generated conf.py (amulhern) - Get rid of a redefined builtin while simplifying method. (amulhern) - Compress loop into generator list comprehension (amulhern) - Rewrite resize() method to depend on _resizable. (amulhern) - Remove definition of LVMThinLogicalVolumeDevice._resizable (amulhern) - Add an attribute docstring for _resizable. (amulhern) - Correct comment on resizable property (amulhern) * Thu Apr 24 2014 Brian C. Lane - 0.50-1 - Don't apply action until after all checks have passed. (dlehman) - Apply action for extended partition creation. (dlehman) - Fix an issue introduced in commit a210eb5c. (dlehman) - Move changes from action ctors into apply methods. (dlehman) - Tell lvm to prefer /dev/mapper/ and /dev/md/ to dm-X and mdX nodes. (dlehman) - Use the right md UUID when trying to look one up from addUdevDevice. (dlehman) - Pass UUID of existing md array to superclass constructor. (dlehman) - Fix accounting related to addition of md member devices. (dlehman) - Add some more tests for the Size.humanReadable method (vpodzime) - If size is an integer value, show it as an integer value (vpodzime) - Make sure that using just k/m/g/... results in KiB/MiB/GiB/... (vpodzime) - Make humanReadable size use binary prefixes and nicer units (vpodzime) - Round sizes in humanReadable instead of flooring them (vpodzime) - Do not assign result of evaluating EddTestFS() to a variable (amulhern) - Rename bits() to numBits() (amulhern) - Rename to avoid conflict with name in outer scope. (amulhern) - Put module level code in a method (amulhern) - Do not use strip() incorrectly (amulhern) - Disable E1101 (no-member) error (amulhern) - Use isResize in isShrink and isGrow. (amulhern) - Suppress W0612 (unused-variable) false positives (amulhern) - Suppress W0621 warnings (amulhern) - Add a stub function for get_bootloader (amulhern) - Suppress W0602 false positives (amulhern) - Remove BootLoaderError definitions (amulhern) - Disable E1003 warning. (amulhern) - Do not cache the DeviceFormat object (amulhern) - Suppress W0201 error where attribute is set in __new__. (amulhern) - Add to false positives an error which is not suppressed by a pragma. (amulhern) - Suppress W0201 errors (amulhern) - Make signature of Size.__str__ match signature of Decimal.__str__ (amulhern) - Do not evaluate %% operator in log message arguments (amulhern) - Remove suite() methods in tests (amulhern) - Remove addKeyFromFile() method (amulhern) - Import name 'deviceaction' where needed (amulhern) - Setting variables in __init__ (amulhern) - Log exception information and disable W0703 warning. (amulhern) - Disable some W0703 warnings (amulhern) - Disable some W0703 warnings. (amulhern) - Add a function that logs available exception info. (amulhern) - Restrict scope of pylint pragmas as much as possible (amulhern) - Change all pylint numeric codes to mnemonic strings. (amulhern) * Thu Apr 17 2014 Brian C. Lane - 0.49-1 - Slightly reduce loop and get rid of obsolete comment (amulhern) - Slightly rewrite loop to avoid a redefining builtin error (amulhern) - Simplify find_library and fix redefining built-in errors. (amulhern) - Make loop variables a little more descriptive (amulhern) - Make regular expressions raw strings. (amulhern) - Suppress unused variable warning and check for failure. (amulhern) - Add W0105 warning about attribute docstrings to false positives (amulhern) - Make signature of setup() in parent class same as in children (amulhern) - Suppress some correct pylint warnings (amulhern) - Get _loopMap.values() when all that's needed is the values (amulhern) - Obvious fix inspired by pylint E0602 error (amulhern) - Suppress W0631 warning for abbr and prefix. (amulhern) - Do not do formatting operation in the argument of the translation (amulhern) - Remove unnecessary global statements (amulhern) - Disable W0703 message in test (amulhern) - Explicitly set the module level platform variable (amulhern) * Thu Apr 10 2014 Brian C. Lane - 0.48-1 - Do not execute smallestMember property method twice. (amulhern) - Remove unnecessary function definitions in abstract properties (amulhern) - Pass format args as arguments to debug method (#1085057) (amulhern) - Move udev_settle call from util into fs to break circular dependency (amulhern) - Change implicit relative imports to explicit relative imports (amulhern) - Remove unused imports (amulhern) - Get rid of os.path import (amulhern) - Really avoid dynamic import of formats/__init__.py by itself (amulhern) - Ignore E1101 errors in savePassphrase. (amulhern) - Add a bunch of E1120 errors to the false positives file (amulhern) - Make LabelingAsRoot class an abstract class and define two properties (amulhern) - Suppress false positive W0631 error. (amulhern) - Use self.nic instead of nic (amulhern) - Make sure _state_functions is a dictionary in base class (amulhern) - Remove unnecessary lambda wrappers on assertion functions (amulhern) - Obvious fix inspired by an "Undefined variable warning" (amulhern) - Remove all references to lvm_vg_blacklist and blacklistVG. (amulhern) - Update for changes in the anaconda errorHandler API. (dshea) - Remove unused imports. (amulhern) - Import from the defining module. (amulhern) - Move import to top level. (amulhern) - Do not use implicit relative imports (amulhern) - Remove wildcard import (amulhern) - Fix a bug and catch a change in lvm's thin pool layout. (dlehman) - Plumb uuid down through DMDevice. (dlehman) * Wed Apr 02 2014 Brian C. Lane - 0.47-1 - Change labelApp to a more concisely defined abstract property (amulhern) - Change defaultLabel to a more concisely defined abstract property. (amulhern) - Change _labelstrRegex to a more concisely defined abstract property. (amulhern) - Make reads property a bit more succinct. (amulhern) - Make name an abstract property and omit _name (amulhern) - Remove an unused import from devicelibs/raid.py (vpodzime) - Fix all pylint errors in pylintcodediff (amulhern) - Don't run test if the git branch is dirty (amulhern) - Exit if the specified log file does not exist. (amulhern) - Update lvm devicelibs tests to reflect recent changes. (dlehman) - Add required LVs as needed instead of trying to sort by attrs. (dlehman) - Fix missed conversion of rm->missing in vgreduce call. (dlehman) - Only gather lvm information one time per DeviceTree.populate call. (dlehman) - Add support for listing everything to pvinfo and lvs. (dlehman) - Get lv list from lvm in a more straightforward format. (dlehman) - Gather lv list where we use it to save from having to stash it. (dlehman) - Split out common lvm parsing code. (dlehman) - Add tests that use ParentList as part of Device. (dlehman) - Parent list length doesn't reflect new member in _addParent. (dlehman) - Rearrange _startEdd to be a little more obvious. (amulhern) - Raise exceptions using the new syntax (amulhern) - Do not import logging twice. (amulhern) - Suppress unused variable warning (amulhern) - Get rid of writeRandomUUID. (amulhern) - Remove unused variable but retain call for its side-effects (amulhern) - Put docstring in class (amulhern) - Remove appendiceal assignment (amulhern) - Keep first parameter "self" (amulhern) - Omit compile flag (amulhern) - Move lines beneath __main__ into a main method (amulhern) - Indent with spaces, not tabs (amulhern) - Change param default [] to None and convert in method (amulhern) - Change to a semantically equivalent version of FileDevice.path (amulhern) - Adapt existing tests to changed signature of some methods (amulhern) - Don't assign return value to unused variable (amulhern) - Be specific when catching exceptions (dshea) - Remove appendiceal assignments (amulhern) - Remove a lot of unused variables extracted from udev info (amulhern) - Don't get return values from communicate() if they are ignored (amulhern) - Use the disk's name in log message (amulhern) - Get rid of old exception unpacking syntax (dshea) - Rearranged some iffy exception checking (dshea) - Replace with a semantically equivalent chunk. (amulhern) - Remove some unused exception names. (amulhern) - Remove unused assignment to boot. (amulhern) - Delete method-local pruneFile function. (amulhern) - Don't comment out function headers but leave their bodies uncommented (amulhern) - Get rid of unnecessary pass statements (amulhern) - Put a field and a method in the base class (amulhern) - Spell parameter self correctly (amulhern) - Give abstract method the same signature as its overriding methods. (amulhern) - Catch correct error and disable warning. (amulhern) * Wed Mar 26 2014 Brian C. Lane - 0.46-1 - Adapt callers to use the new parent list interface. (dlehman) - Change management of Device parents to use a simple list interface. (dlehman) - Convert ContainerDevice to an abstract base class. (dlehman) - Set device uuid before calling Device ctor. (dlehman) - Improve the mechanism for VG completeness. (dlehman) - Support mutually-obsoleting actions. (dlehman) - Add some checking to MDRaidArrayDevice._setSpares. (dlehman) - Make sorting by action type part of the action classes. (dlehman) - Add action classes for container member set management. (dlehman) - Add a property to provide consistent access to parent container device. (dlehman) - Add type-specific methods for member set management. (dlehman) - Adapt callers to new method names for add/remove member device. (dlehman) - Add a ContainerDevice class to consolidate member management code. (dlehman) - Add backend functions for container member set management. (dlehman) - Teardown RAID device once testing is over (amulhern) - Make lvm tests runnable. (amulhern) - Make crypt tests runnable. (amulhern) - Replace unnecessarily complicated expression with string multiplication (amulhern) - Suppress unused variable warning for index in range (amulhern) - Suppress some unused variable warnings. (amulhern) - Suppress some unused variable warnings (amulhern) - Update to the new raise syntax (dshea) - Removed an unnecessary semicolon (dshea) - Removed a redundant definition of NoDisksError (dshea) - Specify regular expressions containing backslashes as raw strings (dshea) - Fixed some questionable indentation (dshea) - Fix logging function string format warnings. (dshea) - All size specifications should be Size instances (#1077163) (vpodzime) - Make sure StorageDevice's self._size is a Size instance (#1077179) (vpodzime) - Allow creating Size instance from another Size instance (vpodzime) - Force removal of hidden devices (#1078163) (amulhern) - Get action_test into working order. (dlehman) - Update action_test.py to specify sizes using blivet.size.Size. (dlehman) - Don't corrupt the environment when setting up StorageTestCase. (dlehman) - Make minSize, maxSize consistent and correct. (dlehman) - Don't prevent grow actions on devices with no max size. (dlehman) * Thu Mar 20 2014 Brian C. Lane - 0.45-1 - Changes to allow pylint checks to be run on a distribution of the source. (amulhern) - Remove non-doing check target (amulhern) - Add a script to relate pylint errors to lines changed. (amulhern) - Change output format so that it is suitable for diff-cover. (amulhern) - Do an initial setup for running pylint tests in blivet. (amulhern) - Handle None in devicePathToName(#996303) (dshea) - Remove bootloader.packages from storage.packages (#1074522). (clumens) - Whitespace fixes for the crypto devicelib module (vpodzime) - Use random.choice for generating LUKS backup passphrase (vpodzime) - Trivial fixes for the lvm devicelib module (vpodzime) - Make vginfo work the same way as pvinfo and other LVM functions (vpodzime) - Allow NTFS to be mountable. (#748780) (dshea) - Limit the LV size to VG's free space size (vpodzime) * Fri Mar 07 2014 Brian C. Lane - 0.44-1 - Fix an old typo in zeroing out a PReP partition. (#1072781) (dlehman) - Only count with the extra metadata extents in new VGs and LVs (#1072999) (vpodzime) - Use container's parent's name for PV if available (#1065737) (vpodzime) - Fix traceback with write_dasd_conf. (#1072911) (sbueno+anaconda) - When copying a root, also copy hidden devices (#1043763) (amulhern) - Add hidden flag to devicetree.getDeviceByID (#1043763) (amulhern) - Only set device for mountpoint if it is not None (#1043763) (amulhern) - Extend the list of things to be omitted if moddisk is False (#1043763) (amulhern) - Set req_name to None at the top of initializer (#1043763) (amulhern) - Log action cancelation (#1043763) (amulhern) - Make DeviceTree.hide() remove a larger set (#1043763) (amulhern) - Re-write the DASD storage code. (#1001070) (sbueno+anaconda) - Include image install flag when updating from anaconda flags. (#1066008) (dlehman) * Fri Feb 28 2014 Brian C. Lane - 0.43-1 - Include tmpfs mounts in post-install kickstart (#1061063) (mkolman) - Count with the extra metadata extents for RAID consistently (#1065737) (vpodzime) - Make partitioning error message more friendly (#1020388) (amulhern) - Fix partition handling across multiple processActions calls. (#1065522) (dlehman) - Let the udev queue settle before populating the devicetree. (#1049772) (dlehman) - Don't activate or deactivate devices from the action classes. (#1064898) (dlehman) - Improve handling of parted.DiskLabelCommitError slightly. (dlehman) - Make teardownAll work regardless of flags. (dlehman) - Fix maxSize test when setting device target size. (dlehman) - Size.convertTo should return a Decimal. (dlehman) - Don't use float for anything. (dlehman) - Fix type of block count in PartitionDevice._wipe. (dlehman) - Fix handling of size argument to devicelibs.lvm.thinlvcreate. (#1062223) (dlehman) - return empty set when no matching fcoe nic (#1067159) (bcl) - Return str from Size.humanReadable (#1066721) (dshea) - Add a coverage test target (#1064895) (amulhern) - Filesystem labeling tests will not run without utilities (#1065422) (amulhern) - Rename misc_test.py to something more descriptive (#1065422) (amulhern) - Refactor labeling tests (#1065422) (amulhern) - Move SwapSpace tests into a separate class (#1065422) (amulhern) * Tue Feb 18 2014 Brian C. Lane - 0.42-1 - Wait for udev to create device node for new md arrays. (#1036014) (dlehman) - Fix detection of thin pool with non-standard segment types. (#1022810) (dlehman) - NFSDevice does not accept the exists kwarg. (#1063413) (dlehman) - Don't run mpathconf for disk image installations. (#1066008) (dlehman) - If /etc/os-release exists, check it to identify an installed system. (clumens) - Get the unit tests into a runnable state. (dlehman) - Update Source URL in spec file to use github. (dlehman) * Tue Feb 11 2014 Brian C. Lane - 0.41-1 - ntfs _getSize needs to use Decimal (#1063077) (bcl) - Separate sanityCheck-ing from doAutoPartition (#1060255) (amulhern) - Change messages to SanityExceptions objects (#1060255) (amulhern) - Make a small SanityException hierarchy (#1060255) (amulhern) - Remove unused exception class (#1060255) (amulhern) - Add another .decode("utf-8") to humanReadable (#1059807) (dshea) - makebumpver: Any failure should cancel the bump (bcl) * Tue Feb 04 2014 Brian C. Lane - 0.40-1 - makebumpver: Only remove from list if action is not Resolves (bcl) - Update bumpver to allow Related bugs (bcl) - Remove all dependent devices of san device becoming multipath (#1058939) (rvykydal) - When repopulating multipath members mark them as multipath (#1056024) (rvykydal) - fcoe: parse yet another sysfs structure for bnx2fc devices (#903122) (rvykydal) - fcoe: add fcoe=: to boot options for nics added manually (#1040215) (rvykydal) - Convert the ntfs minsize to an int (#1060031) (dshea) - Convert the string representation of Size to a str type. (#1060382) (dshea) - don't display stage2 missing error as well if the real problem is stage1 (awilliam) - Provide a mechanism for platform-specific error messages for stage1 failure (awilliam) - Don't add None value to req_disks (#981316) (amulhern) - Make error message more informative (#1022497) (amulhern) - Check that file that loop device is going to use exists (#982164) (amulhern) - Use os.path.isabs to check whether path name is absolute (#994488) (amulhern) * Tue Jan 28 2014 Brian C. Lane - 0.39-1 - escrow: make sure the output directory exists (#1026653) (wwoods) - provide a more useful error message if user fails to create an ESP (awilliam) - Tell lvcreate not to ask us any questions and do its job. (#1057066) (dlehman) * Fri Jan 24 2014 Brian C. Lane - 0.38-1 - Some simple tests for _verifyLUKSDevicesHaveKey (#1023442) (amulhern) - Verify that LUKS devices have some encryption key (#1023442) (amulhern) * Wed Jan 22 2014 Brian C. Lane - 0.37-1 - Only do SELinux context resets if in installer mode (#1038146) (amulhern) - Look up SELinux context for lost+found where it is needed (#1038146) (amulhern) - Don't reset the SELinux context before the filesystem is mounted (#1038146) (amulhern) - Test setting selinux context on lost+found (#1038146) (amulhern) - Only retrieve the unit specifier once (dshea) - Fix the Device.id usage. (dshea) - Accept both English and localized sizes in Size specs. (dshea) - Use a namedtuple to store information on unit prefixes (dshea) - Remove en_spec Size parameters. (dshea) - Fix potential traceback in devicetree.populate. (#1055523) (dlehman) - Fall back on relabeling app where available (#1038590) (amulhern) - Change the meaning of label field values (#1038590) (amulhern) - Enable labeling on NTFS filesystem (#1038590) (amulhern) - Enable labeling on HFS filesystem (#1038590) (amulhern) - Add a method that indicates ability to relabel (#1038590) (amulhern) - Use filesystem creation app to set filesystem label (#1038590) (amulhern) - Import errors so FSError name is resolved (#1038590) (amulhern) - Remove BTRFS._getFormatOptions (#1038590) (amulhern) - Make an additional class for labeling abstractions (#1038590) (amulhern) - Fix copyright date (#1038590) (amulhern) - Remove redundant _defaultFormatOptions field (#1038590) (amulhern) - Remove code about unsetting a label (#1038590) (amulhern) - Return None if the filesystem has no label (#1038590) (amulhern) - Removed redundant check for existance of filesystem (#1038590) (amulhern) - Have writeLabel throw a more informative exception (#1038590) (amulhern) * Fri Jan 17 2014 Brian C. Lane - 0.36-1 - Update the TODO list. (dlehman) - Multipath, fwraid members need not be in exclusiveDisks. (#1032919) (dlehman) - Convert parted getLength values to Size (dshea) - Last of the Device._id -> Device.id (bcl) - iscsi: in installer automatically log into firmware iscsi targets (#1034291) (rvykydal) - Use isinstance for testing numeric types (vpodzime) - Device._id -> Device.id (clumens) - Allow resetting partition size to current on-disk size. (#1040352) (dlehman) * Fri Jan 10 2014 Brian C. Lane - 0.35-1 - Convert everything to use Size. (dlehman) - Allow negative sizes. (dlehman) - Fix return value of Size.convertTo with a spec of bytes. (dlehman) - Discard partial bytes in Size constructor. (dlehman) - Prefer binary prefixes since everything is really based on them. (dlehman) - Fix a few minor problems introduced by recent raid level changes. (dlehman) - Move label setter and getter into DeviceFormat class (#1038590) (amulhern) - Add a test for labeling swap devices (#1038590) (amulhern) - Default to None to mean none, rather than empty string (#1038590) (amulhern) - Add a labelFormatOK method to the DeviceFormat's interface (#1038590) (amulhern) - Indicate whether the filesystem can label (#1038590) (amulhern) - Restore ability to write an empty label where possible (#1038590) (amulhern) - More tests to check writing and reading labels (#1038590) (amulhern) - Remove fsConfigFromFile (#1038590) (amulhern) - Changes to the handling of filesystem labeling (#1038590) (amulhern) - Add some simple tests for file formats. (amulhern) - Give DeviceFormat objects an id (#1043763) (amulhern) - Refactor to use ObjectID class (#1043763) (amulhern) - Make a class that creates a unique-per-class id for objects (#1043763) (amulhern) - Revert "Make a class that creates a unique-per-class id for objects (#1043763)" (amulhern) - Revert "Give DeviceFormat objects an object_id (#1043763)" (amulhern) - Make the maximum end sector for PReP boot more benevolent (#1029893) (vpodzime) - Give DeviceFormat objects an object_id (#1043763) (amulhern) - Make a class that creates a unique-per-class id for objects (#1043763) (amulhern) - Make get_device_format_class return None if class not found (#1043763) (amulhern) - A few simple unit tests for some formats methods (#1043763) (amulhern) - Don't translate format names (dshea) * Thu Dec 19 2013 Brian C. Lane - 0.34-1 - Forget existing partitions of device becoming a multipath member (#1043444) (rvykydal) - Include blivet.devicelibs.raid in the generated documentation. (amulhern) - Upgrade the comments in raid.py to be compatible with sphinx. (amulhern) - Make space for LUKS metadata if creating encrypted device (#1038847) (vpodzime) - fcoe: give error message in case of fail when adding device (#903122) (rvykydal) - fcoe: adapt bnx2fc detection to changed sysfs path structure (#903122) (rvykydal) - Update format of iscsi device becoming multipath member (#1039086) (rvykydal) * Tue Dec 17 2013 Brian C. Lane - 0.33-1 - Add initial 64-bit ARM (aarch64) support (#1034435) (dmarlin) - Convert to sphinx docstrings. (dlehman) - Add some documentation. (dlehman) - Move getActiveMounts from Blivet into DeviceTree. (dlehman) - Add an example of creating lvs using growable requests. (dlehman) - Remove a whole bunch of unused stuff from Blivet. (dlehman) - Remove usage of float in Size.humanReadable. (dlehman) - Add missing abbreviations for binary size units. (dlehman) - Fix shouldClear for devices with protected descendants. (#902417) (dlehman) - Use // division so that it continues to be floor division in Python 3. (amulhern) * Thu Dec 12 2013 Brian C. Lane - 0.32-1 - Work on devicelibs.btrfs methods that require that the device be mounted. (amulhern) - Remove some methods from devicelibs.btrfs. (amulhern) - Add a comment to btrfs.create_volume. (amulhern) - Add a file to run btrfs tests. (amulhern) - Remove format.luks.LUKS.removeKeyFromFile. (amulhern) - Changes to devicelibs.mdraid.mdactivate. (amulhern) - Restore an import removed in a previous commit. (amulhern) - Add a PE for LUKS metadata (#1038969) (bcl) - Adjust currentSize methods slightly. (amulhern) - Put additional constraints on the ActionResizeDevice initializer. (amulhern) - Remove redundant checks in existing resize() methods. (amulhern) - Add some baseline unit tests for BTRFS devices. (amulhern) - Robustify use of defaultSubVolumeID field. (amulhern) - Check that a BTRFS subvolume has exactly one parent in constructor. (amulhern) - BTRFSSubVolume.volume checks the class of its return value. (amulhern) - Raise ValueError in BTRFS constructor if no parents specified. (amulhern) - Add tests for a couple of additional properties for MDRaidArrayDevice. (amulhern) - Factor state testing behavior into a separate class. (amulhern) - Remove redundant condition in if statement. (amulhern) * Thu Dec 05 2013 Brian C. Lane - 0.31-1 - Make RAIDLevel an abstract class using abc. (amulhern) - Restore a util import that was removed in a recent commit. (amulhern) * Wed Dec 04 2013 Brian C. Lane - 0.30-1 - Always run action's cancel method as part of cancelAction. (dlehman) - Show Invalid Disk Label for damaged GPT (#1020974) (bcl) - Make error message in setDefaultFSType more informative (#1019766) (amulhern) - Set sysfsPath of LUKSDevice when adding to device tree (#1019638) (jsafrane) - Use given format type as format's name instead of type (vpodzime) * Wed Nov 27 2013 Brian C. Lane - 0.29-1 - btrfs and xfs do not support fsck or dump at boot time (#862871) (bcl) - Removed raid level constants from mdraid.py. (amulhern) - Remove raidLevel and get_raid_min_members for mdraid.py. (amulhern) - Remove raidLevelString in raid and mdraid. (amulhern) - In devicefactory.py change mdraid procedures call to raid method calls. (amulhern) - Removed mdraid.raid_levels (amulhern) - Removed mdraid.get_raid_max_spares. (amulhern) - Change MDRaidArrayDevice to use raid package. (amulhern) - Changed devicelibs.mdraid to make use of devicelibs.raid. (amulhern) - Implement a RAID class hierarchy. (amulhern) - A few small tests for MDFactory class. (amulhern) - Add some additional unit tests in mdraid_tests.py. (amulhern) - Make MDRaidArrayDevice initializer not except raid level of None. (amulhern) - Add some basic unit tests for MDRaidArrayDevice. (amulhern) - Move pyanaconda import into blivet.enable_installer_mode. (amulhern) * Mon Nov 25 2013 David Lehman - 0.28-1 - Clear whole-disk formatting before initializing disks. (#1032380) (dlehman) - Simplify calculation of vol size when adding a btrfs subvol. (#1033356) (dlehman) - Handle passing a btrfs volume as device to BTRFSFactory. (dlehman) - Add support for detecting btrfs default subvolume. (dlehman) - Handle nested btrfs subvolumes correctly. (#1016959) (dlehman) - Mark all format names as translatable (dshea) - Add parameters for untranslated Size specs. (dshea) - Fix usage of _ vs N_ (dshea) - Added a i18n module for gettext functions. (dshea) - Allow non-ASCII characters in the size spec (dshea) * Tue Nov 19 2013 David Lehman - 0.27-1 - Specify btrfs volumes by UUID in /etc/fstab. (dlehman) - Catch any exception raised by findExistingInstallations. (#980267) (dlehman) - Prevent md_node_from_name from raising OSError. (#980267) (dlehman) - Tidy up tests in devicelibs_test directory. (amulhern) - Preparation for lv resize is a subset of that for lv destroy. (#1027682) (dlehman) - Make sure new values of targetSize are within bounds. (dlehman) - Devices with non-existent formatting are resizable. (#1027714) (dlehman) - Do not hide non-existent devices. (#1027846) (dlehman) - Change XFS maximum to 16EB (#1016035) (bcl) - Add tmpfs support (#918621) (mkolman) - Add support for returning machine word length (mkolman) - Require cryptsetup instead of cryptsetup-luks (#969597) (amulhern) - Fix initialization of disks containing sun or mac disklabels. (dlehman) - Newly formatted devices are used unless mountpoint is empty. (#966078) (dlehman) - Fix detection of lvm setups. (#1026466) (dlehman) - Fix handling of overcommitted thin pools in thinp factory. (#1024144) (dlehman) - Fix name checking for new thin lvs. (#1024076) (dlehman) * Wed Oct 30 2013 Brian C. Lane - 0.26-1 - Add macefi format type (#1010495) (bcl) - Allow hfs+ boot devices to have their name set (#1010495) (bcl) - Update parted partitions on hidden disks when copying a Blivet. (#1023556) (dlehman) - Add ack flag checking to makebumpver (bcl) - Add makebumpver script (bcl) * Fri Oct 25 2013 Brian C. Lane - 0.25-1 - Remove requirement for btrfsctl which no longer exists. (#1012504) (dlehman) - Allow for adjustment of factory vg after removal of thin pool. (#1021890) (dlehman) - Add boot description for "disk" devices on s390. (#867777, #903237, #960143) (sbueno+anaconda) - Add initial spport for aarch64 as we only plan to support UEFI this should be enough (dennis) * Wed Oct 16 2013 David Lehman - 0.24-1 - Close file descriptors other than stdin,stdout,stderr on exec. (#1016467) (dlehman) - Don't use hardcoded /tmp paths. (#1004404) (dlehman) - Fix detection of lvm thinp setups. (#1013800) (dlehman) - Generate a name if necessary when reconfiguring a factory device. (#1019500) (dlehman) - Handle anaconda's cmdline option to disable mpath friendly names. (#977815) (dlehman) - Allow specifying which swaps should appear in fstab (vpodzime) - Do not limit swap size to 10 % of disk space for hibernation (vpodzime) * Wed Oct 09 2013 Brian C. Lane - 0.23-1 - Make sure bootloader is setup after autopart (#1015277) (bcl) - Let setUpBootLoader raise BootloaderError (#1015277) (bcl) - Limit the maximum swap size to 10 % of disk space (if given) (vpodzime) - support ppc64le architecture (hamzy) - Don't call handleUdevDeviceFormat without udev device (#1009809) (dshea) * Fri Sep 06 2013 David Lehman - 0.22-1 - Allow implicit inclusion of multipath/fwraid by including all members. (dlehman) - If a device has been removed, omit it from the copied root. (#1004572) (dlehman) - Thinp metadata and chunk size default to 0 -- not None. (#1004718) (dlehman) - Revert "Do not try to align partitions to optimal_io_size. (#989333)" (dlehman) * Thu Sep 05 2013 Brian C. Lane - 0.21-1 - Only force luks map names to include UUID during OS installation. (#996457) (dlehman) - Allow DiskLabelCommitError to reach the caller. (#1001586) (dlehman) - Do not try to align partitions to optimal_io_size. (#989333) (gustavold) - Fix rpmlog make target (bcl) - Add missing changelog lines to spec (bcl) * Fri Aug 23 2013 Brian C. Lane - 0.20-1 - Fix typo in examples/list_devices.py (dlehman) - Use iscsi-iname instead of trying to reimplemnt it in python. (dlehman) - Catch exceptions raised while finding old installations. (#981991) (dlehman) - Keep the dasd list in sync with the devicetree's device list. (#965694) (dlehman) - Don't save luks keys unless installer_mode flag is set. (#996118) (dlehman) - Pass mount options to resolveDevice in _parseOneLine (#950206) (vpodzime) - Fix handling of devices in detected installations in Blivet.copy. (dlehman) - Clean up detection of lvm raid. (dlehman) - Tag the first build of each version without the release. (dlehman) - Remove dangling code block from commit 737169b75af1. (dlehman) * Wed Jul 31 2013 Brian C. Lane - 0.19-1 - Don't waste time looking for devices dependent on leaf devices. (dlehman) - Add some example code for creation of disk partitions. (dlehman) - Don't manipulate partition boot flags except in installer mode. (dlehman) - Add an example of DeviceFactory usage. (dlehman) - Cosmetic changes for the arch module (vpodzime) - No more sparc support (vpodzime) - Cleanup arch.py reredux (hamzy) - Allow explicit requests for extended partitions. (#891861) (dlehman) - Fix disklabel handling for multiple calls to processActions. (dlehman) - Add support for explicit start/end sectors in partition requests. (#881025) (dlehman) - Store current mount options in getActiveMounts. (#914898) (dlehman) - Lack of formatting does not preclude device resize. (dlehman) - Handle negative sizes correctly. (dlehman) - Fix handling of clearpart type linux in shouldClear. (dlehman) - Add some tests for clearpart and related functionality. (dlehman) - Update unit tests and add a make target to run them. (dlehman) - Don't pass dracut args for lvm thin pools. (dlehman) - Update the TODO list. (dlehman) - Fix a copy/paste error. (dlehman) - Remove transifex-client BuildRequires. (dlehman) * Tue Jul 09 2013 Brian C. Lane - 0.18-1 - Raise XFS max size limit to 100TB. (sbueno+anaconda) - Add a device factory class for thinly-provisioned lvm. (dlehman) - Add support for automatic partitioning using lvm thin provisioning. (dlehman) - Add convenience methods related to lvm thin provisioning. (dlehman) - Add support for detection of lvm thinp setups. (dlehman) - Add classes for lvm thin pool and thin volume. (dlehman) - Add backend support for lvm thinp operations. (dlehman) - Fix return value of get_pv_space for size of 0. (dlehman) - Fix ksdata for lvm created in custom spoke based on autopart. (dlehman) - Only put max size in ksdata if partition is growable. (dlehman) - Allow subclasses to inherit ksdata classes. (dlehman) * Mon Jun 24 2013 Brian C. Lane - 0.17-1 - Used Python type instead of variable name (#968122) (hamzy) - Fix detection of valid EFI system partition during autopart. (dlehman) - New version: 0.16 (bcl) * Thu Jun 13 2013 Brian C. Lane - 0.16-1 - Install utilities for all devices -- not just those being used. (#964586) (dlehman) - Add a method to apply Blivet settings to ksdata. (dlehman) - Increase padding for md metadata in lvm factory. (#966795) (dlehman) - Move lvm-on-md into LVMFactory. (dlehman) - Switch to a minimum of four members for raid10. (#888879) (dlehman) - Update the TODO list. (dlehman) - Deactivate devices before hiding those on ignored disks. (#965213) (dlehman) - Allow udev queue to settle after writing zeros to disk. (#969182) (hamzy) - Run lsof when umount fails (bcl) - Run udev settle before umount (bcl) * Mon Jun 03 2013 Brian C. Lane - 0.15-1 - Switch to the LGPLv2+. (dlehman) - Clear md arrays' sysfs path after deactivating them. (#954062) (dlehman) - Factories with existing containers use the container's disk set. (dlehman) - Don't set up a child factory if the container is set and exists. (dlehman) - Set a non-zero size for new btrfs subvols in an existing volume. (dlehman) - Open as many luks devs as possible with any given passphrase. (#965754) (dlehman) - Make sure container changes worked before applying device changes. (#965805) (dlehman) - Re-initialize platform in storageInitialize (#962104) (bcl) - Make a copy of devicetree._devices before using the append operator. (clumens) - Handle incomplete devices becoming complete on device rescan. (clumens) - Don't allow a device to be on the hidden list more than once. (clumens) * Wed May 15 2013 David Lehman - 0.14-1 - total_memory calculation needs to round up (#962231) (bcl) - The dev.node attribute for iscsi devices is not copyable (#962865). (clumens) - Wipe partitions before they are created (#950145) (bcl) - Pass ROOT_PATH as an argument instead of importing it. (clumens) - If no iscsi nodes are discovered, return an empty list instead of None. (clumens) * Thu May 09 2013 Brian C. Lane - 0.13-1 - Make sure createBitmap is updated when level changes (#960271) (bcl) - Update biosboot error message (#960691) (bcl) * Fri May 03 2013 David Lehman - 0.12-1 - Fix a bug in renaming lvm lvs. (dlehman) - Add container size policies for unlimited growth and fixed size. (dlehman) - Remove device factory methods to change container name. (dlehman) - Override any default subvol when mounting main btrfs volume. (#921757) (dlehman) - Fix detection of multipath. (#955664) (dlehman) - When a btrfs subvol's name is changed, change its subvol argument too. (clumens) - Allow returning hidden disks from the getDeviceBy* methods, if asked. (clumens) - Fix fipvlan -f argument once more and for good (#836321) (rvykydal) - Remove the intf parameters from the iscsi class. (clumens) - Don't relly on /proc/mdstat when enumeraing RAID levels. (jsafrane) - Set product names in non-installer mode. (jsafrane) - Fixed checking status of MD RAID which was just deleted. (jsafrane) - Account for the fact that md's metadata usage is unpredictable. (dlehman) - Remove members from their containers before destroying them. (dlehman) - Make get_container work even if there are duplicate names. (dlehman) - LVMFactory with a container_raid_level means use LVMOnMDFactory. (dlehman) - Add a check for enough raid members after allocating partitions. (dlehman) - Make parent_factory an attribute of the DeviceFactory instance. (dlehman) - All container settings use container_ kwargs. (dlehman) - Add ability to find raid level of an lvm vg. (dlehman) - Always pass -f to wipefs since it lies about in-use devices. (#953329) (dlehman) - Fix a bug extended partition management. (#951765) (dlehman) - Don't return incomplete devices from getDeviceByFoo methods by default. (dlehman) - Don't traceback when degraded md raid arrays are present. (#953184) (dlehman) * Mon Apr 15 2013 David Lehman - 0.11-1 - Fix handling of isohybrid media. (#950510) (dlehman) - Fix getting dracut setup args from dasd.conf. (#950964) (dlehman) * Tue Apr 09 2013 David Lehman - 0.10-1 - Extended partitions containing logical partitions are not leaves. (#949912) (dlehman) - Remove devices in reverse order in Blivet.recursiveRemove. (#949912) (dlehman) - Rewrite the DeviceFactory classes. (dlehman) - Hook up error handling in installer-specific methods. (#948250) (dlehman) - Don't traceback if fcoe.startup is called without fcoe utils present. (dlehman) - Fix logic error that causes us to ignore disks in exclusiveDisks. (dlehman) - Slightly improve currentSize for btrfs volumes. (dlehman) - Simplify multipath handling. (dlehman) - Don't expect anaconda udev rules to be in use. (dlehman) - Drop requires for things only needed for OS installation. (dlehman) - New version: 0.9 (bcl) - Only install packages for devices and filesystems used by the OS. (dlehman) - Fix LVMLogicalVolumeDevice.maxSize. (dlehman) - Fix handling of name=None in newLV, newMDArray, newVG. (dlehman) - Allow calls to suggestDeviceName with only a prefix argument. (dlehman) - Move mdadm superblock size calculation into devicelibs.mdraid. (dlehman) * Thu Mar 28 2013 Brian C. Lane - 0.9-1 - NTFS.minSize is supposed to be a property. (#924410) (dlehman) - Mount /run during install and fix /sys mount (#922988) (bcl) - Fix two excptions triggered by calls to copy_to_system. (hamzy) * Wed Mar 13 2013 David Lehman - 0.8-1 - Check for "ip=ibft" cmdline option, not for "ibft". (rvykydal) - run_program returns an int. (#920584) (dlehman) - Fix units for lvs output. (dlehman) - Don't pass an intf arg to ISCSI.stabilize. (#920041) (dlehman) - Add __version__ to blivet/__init__.py. (dlehman) - Only run info prog (eg: dumpe2fs) once per filesystem. (dlehman) - Processing of a PV with no VG metadata is easy. (dlehman) - Add some convenience properties for displaying DeviceAction info. (dlehman) - Ignore MTDs, as we do not have the tools to write to them (#916771). (clumens) - Include udev's list of symbolic links in StorageDevice. (#914724) (dlehman) - Set a DeviceFormat instance's type attribute to the requested type. (dlehman) - Allow size specs that do not include a 'b' or 'B'. (#888851) (dlehman) - Fix reference to 'factory' from within DeviceFactory class. (dlehman) - Fix problems detecting lvm and md devices. (#914730) (dlehman) - Allow passing size=None to device factories for unbounded growth. (dlehman) - Provide a way to set the default fstype for a Blivet instance. (#838145) (dlehman) - Allow changing the size of encrypted devices via DeviceFactory. (#913169) (dlehman) - Don't dump storage state except in installer mode. (dlehman) - Fix device resolution for btrfs. (dlehman) - Fix device resolution to find named md devices. (dlehman) - Account for active mounts in normal mode. (#914898) (dlehman) - Add an example script which lists all devices. (dlehman) - Add scripts/makeupdates script (bcl) * Thu Feb 21 2013 Brian C. Lane - 0.7-1 - Merge branch 'master' of git+ssh://git.fedorahosted.org/git/blivet (bcl) - Bring in productName from pyanaconda in installer mode. (#913559) (dlehman) * Wed Feb 20 2013 Brian C. Lane - 0.6-1 - parse buffer output from resize (#913141) (bcl) - prevent traceback when root device is not defined #rhbz883768 (sbueno+anaconda) - Move empty_disk to a top-level function, and rename. (clumens) - Add some high-level comments to DeviceFactory.configure_device. (dlehman) - Refactor DeviceFactory.set_container_members for clarity. (dlehman) - Rename the main blivet logger from "storage" to "blivet". (dlehman) - Use the blivet domain for translations. (dlehman) - Move DeviceFactory classes and related code into a new file. (dlehman) - New version: 0.5 (dlehman) * Fri Feb 08 2013 David Lehman - 0.5-1 - Add mountOnly to turnOnFilesystems (bcl) - Update lvm scanning to account for new ignored device handling. (dlehman) - Scan in all devices and then hide those that use ignored disks. (dlehman) - Adjust child counts correctly when unhiding a device. (dlehman) - Generate lvm config args each time they're needed/used. (dlehman) - Add ability to grab 70-anaconda.rules udev data directly. (dlehman) - Add support for active luks mappings at populate time. (dlehman) - Don't require nss, required only for escrow key support. (dlehman) - Update the TODO list. (dlehman) - Add missing constant DMI_CHASSIS_VENDOR. (dlehman) - Allow for multiple calls to DeviceTree.processActions. (#881023,#846573) (dlehman) - Use CGit snaphot URL for Source in specfile. (dlehman) - Streamline some logic in storageInitialize. (dlehman) - Don't re-add deleted or hidden devices during DeviceTree.populate. (dlehman) - Only run findExistingInstallations and start iscsi, &c in installer mode. (dlehman) - Do not change device status during populate in normal mode. (#817064) (dlehman) - Drop old code related to saving clearPartType from pre-f18. (dlehman) - check for skipping bootloader in doIt (bcl) - check for stage1 when not installing bootloader (#882065,#895232) (bcl) - explicitly detect iso9660 on a disk (#903158) (bcl) - Fix several problems in python-blivet.spec. (dlehman) - Remove #!/usr/bin/python from tsort.py (dlehman) - Update COPYING file. (dlehman) - Add a Requires for dmidecode on x86. (dlehman) * Sun Jan 20 2013 David Lehman - 0.4-1 - Use a two-part version number instead of three. (dlehman) - Rename the rpm package from blivet to python-blivet. (dlehman) - Move get_mount_device, get_mount_paths from pyanaconda.packaging to util. (dlehman) - Update the TODO list. (dlehman) - Carry over s390 exclusion of fcoe-utils from anaconda. (dlehman) - Enable translations via transifex. (dlehman) * Fri Jan 18 2013 David Lehman - 0.2-1 - Add Requires: iscsi-initiator-utils, fcoe-utils, device-mapper-multipath. (dlehman) - Use a threading lock to control program log output. (dlehman) - Fix reference to data to refer to ksdata in Blivet constructor. (dlehman) - Remove the loop around proc.communicate in util._run_program. (dlehman) * Tue Jan 15 2013 David Lehman 0.2-1 - Updated source from final pre-split anaconda source. - Renamed pyanaconda.storage to blivet throughout. - Updated spec file to include runtime Requires. * Fri Jan 04 2013 David Lehman 0.1-1 - Created package from anaconda storage module.