Commit Graph

166 Commits

Author SHA1 Message Date
Vojtech Trefny
80785d6d1c Remove obsolete/old downstream patches 2019-08-27 12:33:55 +02:00
Vojtech Trefny
43b699a261 Do not try to normalize size for zero size device factories
Resolves: rhbz#1743753
2019-08-27 12:26:55 +02:00
Miro Hrončok
079410c564 Rebuilt for Python 3.8 2019-08-16 11:47:46 +02:00
Vojtech Trefny
cc272e76e5 Fix version and release in SPEC
Accidentally not included in 3.1.5 release commit.
2019-08-15 08:20:30 +02:00
Vojtech Trefny
b0b6d6ebb7 New version 3.1.5
- Move dependencies code from StorageDevice to Device (vtrefny)
- Always use luks_data.min_entropy as a default minimum entropy (vponcova)
- Add 'protected' property setter to LVMVolumeGroupDevice (#1729363) (vtrefny)
- fix of LV max size calculation (japokorn)
- Added min size for partitions (japokorn)
- Improved non-unique UUID handling (japokorn)
- Check if disklabel supports partition names (#1723228) (vtrefny)
- format_device: Revert destroy action if create fails (#1727589) (vtrefny)
- Do not allow resizing of LUKS devices with integrity (vtrefny)
- Return underlying block device as 'slave' for LUKS with integrity (vtrefny)
- Fix removing LUKS devices with integrity (vtrefny)
- Check status before activating dmraid set in populate. (#1723979) (dlehman)
- Use DBus call to see if we're in a vm. (dlehman)
- Use dasd disklabel for vm disks backed by dasds. (dlehman)
- Add a function to detect if running in a vm. (dlehman)
- Remove teardown_all from the populate method (vponcova)
- Correctly handle non-unicode iSCSI initiator names (vtrefny)
- Add, test and use a new method to get size with reserve (vpodzime)
- Beware non-positive sizes in thpool metadata size calculations (vpodzime)
- Log sizes in MiB in thpool auto metadata size calculations (vpodzime)
- Recalculate thpool's metadata size on resize in LVMThinPFactory (vpodzime)
- Move the thpool reserve calculations to LVMFactory (vpodzime)
2019-08-15 08:03:56 +02:00
Fedora Release Engineering
3edde09bf0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-26 12:27:00 +00:00
Vojtech Trefny
8f242a3df5 Remove teardown_all from the populate method (vponcova)
initial PowerNV class support (dan)
2019-07-11 12:42:30 +02:00
Vojtech Trefny
3677bf5c51 New version 3.1.4
- Don't call fnmatch with None (#1698937) (vponcova)
- Do not crash on non-int lun argument when creating iscsi disk object. (rvykydal)
- Make iscsi device attribute modifications backward compatible. (rvykydal)
- Do not store iscsi module nodeinfo in device object. (rvykydal)
- Only call mpath plugin when it is available. (#1697378) (dlehman)
- Include tests archive where appropriate in make targets. (dlehman)
- Add spec file logic to include unit tests in SRPM. (dlehman)
- Add a target to create an archive of the unit tests. (dlehman)
- Remove profanity from an old comment. (dlehman)
- Fix mounting of the filesystem iso9660 (vponcova)
- Remove unnecessary pass statements (vtrefny)
- Check for format tools availability in action_test (vtrefny)
- Skip weak dependencies test if we don't have all libblockdev plugins (vtrefny)
- Properly clean after availability test case (vtrefny)
- Ensure correct type of mpath cache member list. (dlehman)
- Do not crash if 'dm.get_member_raid_sets' fails (#1684851) (vtrefny)
- Fix supported disklabels in 'test_platform_label_types' on EFI (vtrefny)
- Support legacy MBR (msdos) as part of UEFI to enable hybrid builds (pbrobinson)
- Automatically adjust size of growable devices for new format (vtrefny)
- spec: Remove obsolete Group tag and bump min libblockdev version (vtrefny)
2019-06-11 13:39:23 +02:00
Vojtech Trefny
d90d7cbc66 Ensure correct type of mpath cache member list 2019-03-21 14:46:38 +01:00
Vojtech Trefny
6acd04a9fb Support legacy MBR (msdos) as part of UEFI to enable hybrid builds 2019-03-11 15:13:51 +01:00
Vojtech Trefny
311348a8ba New version 3.1.3
- Don't crash if blockdev mpath plugin isn't available. (#1672971) (dlehman)
- iscsi: Add default value to unused 'storage' argument in 'write' (vtrefny)
- Add exported property to LVMVolumeGroupDevice (vtrefny)
- Add VG data to static_data (vtrefny)
- Do not try to get format free space for non-existing formats (vtrefny)
- Do not raise exception if can't get PV free space (vtrefny)
- Fix undefined attribute in LVM info cache (vtrefny)
- Use raw_device to get thinpool device in LVMThinPFactory (#1490174) (vtrefny)
- Do not crash if DM RAID activation fails (#1661712) (vtrefny)
- Remove the unused sysroot property (vponcova)
- Remove unused attributes from the Blivet class (vponcova)
- Remove the unused gpt flag (vponcova)
- Copy the iSCSI initiator name file to the installed system (vtrefny)
- Use udev to determine if disk is a multipath member. (dlehman)
- Require libfc instead of fcoe for offloaded FCoE. (#1575953) (dlehman)
2019-02-27 10:26:51 +01:00
Fedora Release Engineering
47faf84fb0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-02 05:52:16 +00:00
Igor Gnatenko
5a031033ea Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:39 +01:00
Vojtech Trefny
8852207d9c New version 3.1.2
- Fix reading LV attributes in LVMVolumeGroupDevice.status (vtrefny)
- Do not try to login to iBFTs with active session (vtrefny)
- Fix xfs sync of chrooted mountpoint. (dlehman)
- Only update sysfs path in ctor for active devices. (dlehman)
- Fix new pep8/pycodestyle warnings (vtrefny)
- Ignore PEP8 W504 warning ("line break after binary operator") (vtrefny)
- pylint: Allow loading all C extensions (vtrefny)
- Use 'pycodestyle' instead of 'pep8' (vtrefny)
- Fix failing populator test without nvdimm plugin (vtrefny)
- Add 'srpm' and 'rpm' targets to Makefile for building (S)RPMs (vtrefny)
- Fix crash on reset on systems without nvdimm plugin (vtrefny)
- Use the size info of internal LVs when getting space usage for existing LVs (v.podzimek)
- Calculate the number of RAID PVs from the origin for cached LVs (v.podzimek)
- Make raid_level a property of an LV object (v.podzimek)
- Add a test for DeviceTree.get_related_disks. (dlehman)
- Fix ixgbe/bnx2fc fcoe disk detection (#1651506) (rvykydal)
- Use RAID name for partitions on an MD array (vtrefny)
- Move btrfs name validation to devicelibs (vtrefny)
- Don't try to set selinux context for nodev or vfat file systems. (dlehman)
- Only try to set selinux context for lost+found on ext file systems. (dlehman)
- Wipe all stale metadata after creating md array. (#1639682) (dlehman)
- Don't try to update sysfs path for non-block devices. (#1579375) (dlehman)
- Don't raise errors without messages (vponcova)
- Install ndctl when NVDIMMs are used. (dlehman)
- Deactivate incomplete VGs along with everything else. (dlehman)
- Work around udev timing issues. (dlehman)
- Fix options for ISCSI functions (#1632656) (vtrefny)
- Use format.status when checking for PV status (vtrefny)
- Remove Anaconda flags (vponcova)
- Remove square brackets when matching internal LVs (v.podzimek)
2018-12-12 10:47:43 +01:00
David Lehman
bb102032d3 Add a test for the device factory.
Create an lvm-over-md layout across the two virtio scratch disks, then
test blivet's ability to populate and print the devicetree with that
setup.

Also, remove the task to copy out logs as it doesn't work.
2018-12-11 15:27:15 -05:00
David Lehman
26fd9bab40 Followups for initial CI test.
Add missing tasks section to tests playbook.

Use an absolute path to the example script since 'dir' is always
relative to /var/str.

Must define 'dir' explicitly -- there is no default handling.
2018-12-10 12:52:50 -05:00
David Lehman
2e958087b4 Add a basic test for CI. 2018-12-07 12:29:37 -05:00
Vojtech Trefny
0dceac95ac Fix options for ISCSI functions (#1632656) 2018-10-08 15:22:31 +02:00
Vojtech Trefny
b23396eed9 New version 3.1.1
- Check device dependencies only for device actions (vtrefny)
- Allow removing btrfs volumes without btrfs support (vtrefny)
- Adjust LVMPhysicalVolumeMethodsTestCase to new pvcreate option (vtrefny)
- add `-y' to lvm.pvcreate (hongxu.jia)
- Drop omap partition table tests on ARM platforms (pbrobinson)
- Update disk label tests for ARM platforms (pbrobinson)
- Ignore pylint 'no-value-for-parameter' warning (vtrefny)
- arm: add support for EFI on ARMv7 (pbrobinson)
- Aarch64 platforms: Fix gpt defaults for 64 bit arm platforms (pbrobinson)
- arch: arm: drop get_arm_machine function (pbrobinson)
- arch: arm: drop omap specifics for partitioning (pbrobinson)
- Create a separate availability check for dmraid support (vtrefny)
2018-09-26 13:22:52 +02:00
Vojtech Trefny
4e70559de4 arm: add support for EFI on ARMv7 (probinson)
Aarch64 platforms: Fix gpt defaults for 64 bit arm platforms (probinson)
arch: arm: drop get_arm_machine function (probinson)
arch: arm: drop omap specifics for partitioning (probinson)
2018-08-30 16:55:47 +02:00
Vojtech Trefny
072395273a New version 3.1.0
- Allow configuring default LUKS2 PBKDF arguments using luks_data (vtrefny)
- Fix the populate_kickstart method in LUKS (vtrefny)
- Allow specifying extra arguments for PBKDF when creating LUKS2 (vtrefny)
- Add support for LUKS2 to DeviceFactory (vtrefny)
- DeviceFactory: use min_luks_entropy from kwargs (vtrefny)
- Fix passing 'min_luks_entropy' when creating LUKS format (vtrefny)
- Use passphrase/key file when resizing LUKS2 format (vtrefny)
- Require libblockdev 2.17 (vtrefny)
- Add support for LUKS2 format (vtrefny)
- Add initial support for DM Integrity "format" (vtrefny)
- Do not try to add LUKSDevice in LUKSFormatPopulator (vtrefny)
- Add support for dm-integrity devices (vtrefny)
- Fixed various issues preventing successful build (japokorn)
2018-08-13 13:21:40 +02:00
Peter Robinson
081f1a3be9 Bump release to fix upgrade path as 3.1.0-0.1.b2 is lower than 3.1.0-0.4.b1 2018-08-02 09:47:35 +01:00
David Lehman
a8c998d1fa Do not ignore "Image out-of-sync" internal LVs (vtrefny)
Fixed error message when slave is missing (japokorn)
Ensure WWNs are set for multipath and dmraid. (dlehman)
Use ID_WWN_WITH_EXTENSION for WWNs. (dlehman)
Ignore pylint error "bad-option-value" for new pylint errors (vtrefny)
Fix errors found by new pylint 2.0.0 (vtrefny)
Fix caching logic in ExternalResource. (dlehman)
Use DiskFile to allow testing missing dependencies as non-root. (dlehman)
Restore availability caching after disabling for tests. (dlehman)
Preserve original blockdev plugin list in test cleanup. (dlehman)
Fix positional/key-word arguments in util.Path (vtrefny)
fix doc for is_s390() (dan)
The key size of LUKS should be 0 by default (vponcova)
Do not use rpm to check for Zanata client (vtrefny)
Fixed create_device fail behavior (japokorn)
Fixed KS forcing zerombr onto RO disk (japokorn)
Fix BIOS device number regex in edd module. (#1552236) (dlehman)
Shrink devices before growing others with common ancestors. (#1539422) (dlehman)
Do not copy ksdata. (rvykydal)
Find and remove stale LVM metadata immediately after creating md array. (dlehman)
Adapt mock imports for compatibility w/ python2 & python3. (dlehman)
Use py2-compatible syntax to get system architecture. (dlehman)
2018-07-31 16:17:02 -04:00
Vojtech Trefny
486274fa56 Force command line based libblockdev LVM plugin 2018-07-17 14:22:24 +02:00
Fedora Release Engineering
1601c1a40e - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 23:38:21 +00:00
Miro Hrončok
6185626b8a Rebuilt for Python 3.7 2018-06-15 23:55:24 +02:00
David Lehman
3e0b366ad9 Add 'nvdimm' tag for NVDIMM namespaces (vtrefny)
Add test for NVDIMMNamespaceDevicePopulator (vtrefny)
Add populator helper for NVDIMM namespaces (vtrefny)
Add 'NVDIMMNamespaceDevice' device representing NVDIMM namespaces (vtrefny)
Add a function for identifying NVDIMM namespaces (vtrefny)
Add a singleton for NVDIMM namespaces management (vtrefny)
Add NVDIMM plugin to list of requested plugins (vtrefny)
2018-05-03 12:50:25 -04:00
David Lehman
b04db7f630 Use bcond for with python3, allow it on RHEL > 7 (mhroncok)
Conditionalize the Python 2 subpackage and don't build it on EL > 7 and Fedora > 28 (mhroncok)
Add experimental support for NVDIMM. (vtrefny)
2018-04-02 15:06:24 -04:00
David Lehman
7be317fbf7 Don't use a 'wwn' kwarg for MDBiosRaidArrayDevice (#1557957) (awilliam) 2018-03-20 15:49:04 -04:00
Iryna Shcherbina
cbeb8f5490 Update Python 2 dependency declarations to new packaging standards 2018-03-17 18:46:49 +01:00
David Lehman
bdf0896b09 Allow device specification by node to udev.get_device. (#1524700) 2018-03-12 11:35:58 -04:00
Vojtech Trefny
fa9539ddcc Dasd is a valid label type on s390x (#1538550) 2018-03-07 14:58:53 +01:00
Fedora Release Engineering
9c2f46b0cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 06:53:03 +00:00
David Lehman
33cdc77844 python-blivet-3.0.0.b1
Add some reasonable default value for LANG variable in size_test (vtrefny)
Remove ksdata from Blivet. (dlehman)
Fix AttributeError in fsminsize (#1502587) (vtrefny)
Remove Blivet.write_dasd_conf and now-unused Blivet.write. (dlehman)
Move blivet.partspec into pyanaconda. (dlehman)
Make uboot partition weight match analogs on other platforms. (dlehman)
Move some cmdline option checking into Flags. (dlehman)
Move platform module into pyanaconda. (dlehman)
Add and use new platform detection functions in arch. (dlehman)
Move disklabel selection logic into DiskLabel. (dlehman)
Move new partition weight calculation into PartitionDevice. (dlehman)
Move osinstall and autopart into pyanaconda. (dlehman)
Move default thin pool space reservation into devices.lvm. (dlehman)
DM device subsystem is now obtained by libblockdev (japokorn)
Document DBus interface. (dlehman)
Mark the DBus interface as unstable. (dlehman)
Do not try to use protected disks for autopart (vtrefny)
Use InstallerStorage in setupDiskImagesNonZeroSizeTestCase (vtrefny)
Clearpart test tag fixes (japokorn)
Added support for device tags (japokorn)
Use Ansible playbook to install test dependencies (vtrefny)
Use addCleanup for VM tests too (vtrefny)
Skip tests when SELinux is disabled (japokorn)
Revert "Use libmount for MountsCache" (vtrefny)
Only run log_method_call when flags.debug is set. (dlehman)
Adjust Makefile and spec file for Python 2 compatibility (vtrefny)
Adapt to anaconda_log rename (mkolman)
Followup for custom six move for mock. (dlehman)
Silence pylint with regard to custom six move of mock. (dlehman)
Allow overriding PYTHONPATH when running unit tests. (dlehman)
Supply some missing patches during device name tests. (dlehman)
Allow time for event handling in unit tests. (dlehman)
python2: Don't try to call unbound method w/ wrong class type. (dlehman)
python2: threading compatibility. (dlehman)
python2: compatibility for wraps when used on methods. (dlehman)
python2: adapt to absence of inspect.signature. (dlehman)
python2: python2 has no unittest.assertLogs. (dlehman)
python2: Handle unittest.assertRaisesRegex rename. (dlehman)
python2: Add a custom six move for mock. (dlehman)
python2: EddEntry support for len() and indexing. (dlehman)
python2: Don't use 'default' kwarg to 'min' (dlehman)
python2: Use six.wraps instead of functools.wraps. (dlehman)
python2: Use six.raise_from for chained exceptions. (dlehman)
python2: Use six.next for iterator advancement. (dlehman)
python2: Explicit args to super function. (dlehman)
python2: Explicitly declare new-style classes. (dlehman)
python2: Use six.add_metaclass instead of metaclass kwarg. (dlehman)
Catch AttributeError if pyanaconda is missing in populator_test. (dlehman)
Use relative imports in blivet.dbus.blivet. (dlehman)
pylint: disable pylint warning for InstallerStorage.get_free_space (vtrefny)
pylint: ignore some pylint warnings in tests (vtrefny)
Use "flags.keep_empty_ext_partitions" instead of "installer_mode" (vtrefny)
Add a WWN attr to all disk device classes. (dlehman)
Fix flag access in selinux test. (dlehman)
Collect HW RAID info before populating devicetree. (dlehman)
Add HW RAID properties to DiskDevice. (dlehman)
Add a devicelibs module for disks. (dlehman)
Add 'jbod' as an alias for 'linear' RAID level. (dlehman)
Add some tests for DependencyGuard (dlehman)
Introduce the discard_new flag and use it (vpodzime)
Use the 'C.UTF-8' locale instead of '' (vpodzime)
Add anaconda-core, libvirt and paramiko to TEST_DEPENDENCIES (vpodzime)
Get rid of the merge-pr script (vpodzime)
Adjust vmtest to new DeviceFactory constructor API (vtrefny)
Obtain factory defaults from passed-in device, if there is one. (dlehman)
Use **kwargs for device factory ctor. (dlehman)
Use a property to adjust factory size based on encrypted bool. (dlehman)
Functional testing: Add support for libvirt authentication (vtrefny)
Fixed merge error (japokorn)
Enable LVMOnMDTestCase (vtrefny)
LVMThinSnapShotTestCase: Fix creating of the thin snapshot (vtrefny)
Create a better test summary when running tests in a VM (vtrefny)
Add a script to run tests in a virtual machine (vtrefny)
Move BlivetResetTestCases from ImageBackedTestCase to VMBackedTestCase
  (vtrefny)
Add a test case for tests running in a virtual machine (vtrefny)
Do not try to create format for snapshots in create_device (vtrefny)
Use None as mountpoint for new snapshots (vtrefny)
Do not try to unset flags on other devices than partitions (vtrefny)
Fix TypeError when calling blivet.reset() (vtrefny)
Broke backwards API compatibility of LUKS handling (japokorn)
Default to LVM in the device factory. (dlehman)
Add callbacks for populate (vpodzime)
Fix checks when changing fslabel using actions (vtrefny)
Remove deprecated method udev.device_is_realdisk (vtrefny)
Use libmount for MountsCache (vtrefny)
Fix initialization of ignored, exclusive disks. (dlehman)
Fix devicetree tests to use callbacks instead of record_change. (dlehman)
Change udev.device_is_disk to match disks only (vtrefny)
Fix udev.resolve_glob to match device path too (vtrefny)
Add tests for configuration actions (vtrefny)
Allow changing format label using configuration actions (vtrefny)
Add new actions for configuring formats and devices (vtrefny)
Quickfix of merge bugs (japokorn)
Remove action objects before resetting via dbus. (dlehman)
Clean up dbus object management a bit. (dlehman)
Only overwrite current format if the new one is different. (dlehman)
Add a Factory method to DBusBlivet. (dlehman)
Update example dbus client to account for Format interface. (dlehman)
Adjust zanata version for new branch. (dlehman)
Allow custom chunk size specification for MDRaidArrayDevice (vtrefny)
Add zanata-python-client to TEST_DEPENDENCIES (bcl)
Allow custom chunk size specification for MDRaidArrayDevice (vtrefny)
Add zanata-python-client to TEST_DEPENDENCIES (bcl)
Add a Commit method to DBusBlivet. (dlehman)
Update unit tests. (dlehman)
Move removed devices and formats into different subtrees. (dlehman)
Use the object manager to look up objects. (dlehman)
Add mappings of objects by id and object path to ObjectManager. (dlehman)
Add an id property to DBusObject. (dlehman)
Add an Action interface to the dbus service. (dlehman)
Make sure DBusFormat's Type property is always a string. (dlehman)
Pass blivet objects to blivet methods. (dlehman)
Fix root detection on btrfs in rescue mode (vtrefny)
Use device's mount options when mounting existing systems (vtrefny)
Add a Commit method to DBusBlivet. (dlehman)
Update unit tests. (dlehman)
Move removed devices and formats into different subtrees. (dlehman)
Use the object manager to look up objects. (dlehman)
Add mappings of objects by id and object path to ObjectManager. (dlehman)
Add an id property to DBusObject. (dlehman)
Add an Action interface to the dbus service. (dlehman)
Make sure DBusFormat's Type property is always a string. (dlehman)
Pass blivet objects to blivet methods. (dlehman)
Move some more installer-specific methods and values into blivet.osinstall.
  (sbueno+anaconda)
Mv copy_to_system from blivet.util to blivet.osinstall (sbueno+anaconda)
Get rid of flags.installer_mode (sbueno+anaconda)
Create flags.keep_empty_ext_partitions (sbueno+anaconda)
Create flags.selinux_reset_fcon (sbueno+anaconda)
Create flags.auto_dev_updates (sbueno+anaconda)
Add a Format interface to the dbus service. (dlehman)
Always require the rounding mode to be specified for Size (vpodzime)
Add method DBusBlivet.InitializeDisk. (dlehman)
Add a unit test for DBusBlivet.RemoveDevice. (dlehman)
Maintain a mapping of object path to DBusDevice in DBusBlivet. (dlehman)
Correctly handle failures in ResolveDevice. (dlehman)
Add a RemoveDevice method to DBusBlivet. (dlehman)
Convert event handling change accounting to use blivet callbacks. (dlehman)
Add a set of callbacks for changes to blivet's view of things. (dlehman)
Allow replacing an active format within blivet's model. (dlehman)
Add the beginnings of an example client. (dlehman)
Add a Device interface to the dbus service. (dlehman)
Add an ObjectManager interface to the dbus service. (dlehman)
Make DBusBlivet names more dbus-like. (dlehman)
Clean up org.freedesktop.DBus.Properties code in DBusObject a bit. (dlehman)
Move constants into a separate module. (dlehman)
Convert some private methods to public properties. (dlehman)
Import the whole dbus module in a couple of places. (dlehman)
Add a minimal dbus interface. (dlehman)
Rearrange the setup call to minimize changes on updates. (dlehman)
Remove unused readthedocs code from setup.py. (dlehman)
Ignore all merge commits when making rpm log. (dlehman)
Isolate some boot device operations in blivet.partitioning. (sbueno+anaconda)
Move bootloader stuff from Blivet to InstallerStorage. (sbueno+anaconda)
Some small, stupid bugfixes to first installer isolation patch set.
  (sbueno+anaconda)
LVM data are now global (japokorn)
Update api to reflect changes from isolating installer-specific code.
  (sbueno+anaconda)
Update examples and test cases for changes from isolating installer code.
  (sbueno+anaconda)
Get rid of blivet.blivet's last deps on blivet.osinstall (sbueno+anaconda)
Get rid of blivet.blivet's dependence on blivet.osinstall.FSSet
  (sbueno+anaconda)
Mv installer-specific functions to install. Create InstallerStorage.
  (sbueno+anaconda)
Move StorageDiscoveryConfig from blivet.blivet to blivet.osinstall
  (sbueno+anaconda)
Move some StorageDiscoveryConfig attrs into Blivet. (sbueno+anaconda)
Retrieve udev info as needed in handle_format. (dlehman)
2017-11-08 23:14:44 -05:00
Vojtech Trefny
5fe9806432 Bump release number to fix upgradepath
New build for Fedora 26 is 2.1.11-2, need bigger release here.
2017-10-04 12:39:55 +02:00
Vojtech Trefny
9cf75ba4fe New version 2.1.11
- Remove build requires for pocketlint (rkuska)
- edd_test: don't run on non-x86 (pjones)
- Added support for device tags (japokorn)
- fcoe: don't use dcb for autoconnecting of bnx2x and bnx2fc (#1261703) (rvykydal)
- fcoe: replace fipvlan with fcoemon (#1085325) (rvykydal)
- Do not use read-only mode for e2fsck (vpodzime)
- Fixed behavior when selinux is disabled (japokorn)
- Do file system check before resize (#1484575) (vpodzime)
2017-09-19 11:08:52 +02:00
Vojtech Trefny
6405c10d86 New version 2.1.10
- Use addCleanup for test cleanup instead of clening in tearDown (vtrefny)
- No longer skip test w/o selinux; mocked (japokorn)
- Skip tests when SELinux is disabled (japokorn)
- New test for selinux context setting when mounting (japokorn)
- Add tests for disklabel type selection and partition weight. (dlehman)
- Do not use package version to check version of installed tools (vtrefny)
- Update the upstream git URL (vpodzime)
- Stop enforcing obsolete limits on partition count. (#1460668) (dlehman)
- Do not run FS check as part of updating (re)size info (vpodzime)
- Change how we run e2fsck to check ext filesystems (vpodzime)
- Round the recommended thpool metadata size to extents (vpodzime)
- Respect thin pool's min size when setting its req_size (vpodzime)
- Don't crash during populate when lvm plugin is missing. (dlehman)
- Actually add space for LUKS metadata when encrypting a VG (vpodzime)
- Only consider old and new device sizes when not growing to max (vpodzime)
- Do not reserve space for LVM metadata twice (vpodzime)
- Do not create a temporary list for sum() (vpodzime)
- Refer to self.container as self.vg in the LVMFactory (vpodzime)
- Add a couple of extra comments and docstrings to factories (vpodzime)
- Use existing VG's PE size if available in LVMFactory (vpodzime)
- Add comments warning before a weird nomenclature in factories (vpodzime)
- Don't let device state block modification of the model. (dlehman)
- Fix error message for format create w/ missing external dep. (dlehman)
- Expand coverage of devices_test.dependencies_test a bit. (dlehman)
- Account for external dep availabilty in StorageDevice.controllable. (dlehman)
- Add the appropriate external dependency to LUKSDevice. (dlehman)
2017-08-17 12:34:29 +02:00
Fedora Release Engineering
6bba739d24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 09:45:45 +00:00
Vojtech Trefny
e8cad136be Stop enforcing obsolete limits on partition count. (#1460668) 2017-06-30 08:52:56 +02:00
Vojtech Trefny
2dc4db6f5c New version 2.1.9
- Adapt to logging module name change (mkolman)
 - Updated calls to avoid log spamming (japokorn)
 - Add a script for generating and pushing updated documentation (vtrefny)
 - pylint: ignore some false positive warnings in blivet.py and lvm.py (vtrefny)
 - pylint: remove unused false positives from pocketlint config (vtrefny)
 - pylint: disable false positive "not-context-manager" for threading.Lock
 - pylint: ignore "arguments-differ" warnings in blivet.size.Size (vtrefny)
 - pylint: fix various "arguments-differ" warnings (vtrefny)
 - pylint: remove init from platform.X86 (vtrefny)
 - pylint: fix various errors in tests (vtrefny)
 - pylint: ignore "arguments-differ" warning for "do_tasks" method (vtrefny)
 - pylint: fix false positive for "catching-non-exception" (vtrefny)
 - pylint: fix argument name for Device._remove_parent/_add_parent (vtrefny)
 - Always mount & unmount an XFS file system when writing new UUID (vpodzime)
 - Do not remove manually created extended partitions (#1440150) (vtrefny)
 - Look the disk up for a partition by name not sys_name (vpodzime)
 - Disable pylint "no-member" warnings for re module constants (vtrefny)
 - Allow custom chunk size specification for MDRaidArrayDevice (vtrefny)
 - Add RAID chunk size to the generated kickstart file (vtrefny)
 - Use structured logging for the anaconda logger (mkolman)
 - Use distutils.spawn.find_executable instead of our custom code (vpodzime)
 - Add a method to reset file system's UUID (vpodzime)
 - Try to mount and unmount an XFS FS when writing UUID (vpodzime)
 - Add a method for a file system to generate a new UUID (vpodzime)
 - tests/fsuuid: Implement checking invalid UUIDs (aszlig)
 - formats/swap: Support setting UUID (aszlig)
 - tests: Add a series of tests for setting UUIDs (aszlig)
 - tests: Add tests to check the UUID format checkers (aszlig)
 - tasks: Implement setting UUID after FS creation (aszlig)
 - formats/fs: Implement setting UUID during mkfs (aszlig)
 - formats/fs: Add functionality for checking UUIDs (aszlig)
 - tasks/fsmkfs: Add arguments for setting UUID (aszlig)
 - Properly unset mountpoint of a snapshot's format (vpodzime)
 - Update snapshot's format's exists flag based on its origin (vpodzime)
2017-06-01 16:12:00 +02:00
Vojtech Trefny
f96713f6cd Look the disk up for a partition by name not sys_name (#1445302) 2017-05-09 13:25:38 +02:00
Vojtech Trefny
20c0102e21 New version 2.1.8
- Fix "unknown" SAS device sysfs parsing. (adamw)
 - Reserve space in a VG when using LVMThinPFactory (vpodzime)
 - Reserve space in a VG instead of padding thin pools on autopart (vpodzime)
 - Focus the nonzero disk image size test a bit. (dlehman)
 - Add missing tearDown method to luks resize test case. (dlehman)
 - Fix some flag stomping in tests. (dlehman)
 - Remove the useless method requiredDiskLabelType (vponcova)
 - FBA DASD should use the msdos disk label type (vponcova)
 - Be more careful when checking for udisks-iscsi availability (vpodzime)
 - Do not allow resize of devices with no/unrecoginized formatting. (#1033778) (dlehman)
 - Clean up parent/child relations on partition ctor error. (#1383873)  (dlehman)
 - Use all ancestors when adding RAID disks to exclusiveDisks (vtrefny)
 - Fix detection of linear MD RAID (vtrefny)
 - Add 'discard' option to crypttab for newly created LUKS (vpodzime)
 - Loop devices w/o backing file are now ignored (japokorn)
 - Set parted boot flag when creating EFI filesystem (vtrefny)
 - formats/fs: Set NTFS to be formattable (aszlig)
 - Do not try to search for 'tmpfs' devices in udev database (vtrefny)
 - Fix resize test in fstesting (vtrefny)
 - Fix task availability test (vtrefny)
 - Shallow copy another alignment property (#1408282) (awilliam)
 - Fix the test dependencies (vpodzime)
 - Add 'systemd-udev' to dependencies (#1392591) (vtrefny)
2017-04-19 11:15:25 +02:00
Fedora Release Engineering
0f40e75c76 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 08:28:52 +00:00
Adam Williamson
e49b18907f Actually apply the patch mentioned in -5 2016-12-24 00:15:56 -08:00
Adam Williamson
aa0a158423 backport GH#530 to fix #1408282 (crash with Python 3.6)
Doing this as a downstream patch as all maintainers appear to
be on end-of-year PTO already, and I don't want composes broken
all the way till the new year.
2016-12-23 08:59:56 -08:00
Miro Hrončok
b38e11a345 Rebuild for Python 3.6 2016-12-19 18:20:37 +01:00
Vratislav Podzimek
bd5f448abc Add 'systemd-udev' to dependencies (#1392591) (vtrefny) 2016-12-06 13:47:05 +01:00
Vratislav Podzimek
23923c4630 Prevent regression on update from f25 to rawhide
The following fix is on the f25 branch (in the f25 build), but it hasn't made it
to neither upstream nor any rawhide build yet. Thus it needs to be added here in
order to prevent regression when updating from f25 to rawhide.

- Fix "unknown" SAS device sysfs parsing. (#1394026) (awilliam)
2016-11-21 12:12:49 +01:00
Vratislav Podzimek
a9d7906d31 New version: 2.1.7-1
- Require BlockDev 2.0 in the gi.require_version() call (vpodzime)
- Fix detection of 'macefi' partitions (#1393846) (awilliam)
- Use a list comprehension for _to_node_infos (awilliam)
- Device name now checked only for new devices (japokorn)
- Remove several redundant teardown calls. (dlehman)
- Cache and reuse data about multipath members (vpodzime)
- Remove some obsolete pvscan calls. (dlehman)
2016-11-21 11:57:00 +01:00
David Lehman
b861c468d9 Never update POT file as part of rpm build. 2016-11-07 13:38:11 -05:00