Compare commits

...

122 Commits
f24 ... rawhide

Author SHA1 Message Date
Vojtech Trefny bdbb7309d6 New version 3.8.1
- Ignore new false positives with the latest pylint (vtrefny)
- iscsi: Rename storaged to udisks (tbzatek)
- iscsi: Rework UDisks iscsi module activation (tbzatek)
- iscsi: Make sure to modprobe iscsi_ibft (tbzatek)
- iscsi: Downgrade default CHAP auth algs to SHA1,MD5 (tbzatek)
- iscsi: Save firmware initiator name to /etc/iscsi/initiatorname.iscsi (vtrefny)
- spec: Bump release to 99 to be always ahead of Fedora in nightly (vtrefny)
- tests: Improve iscsi_test.ISCSITestCase (vtrefny)
- Make sure that LUKS.has_key always returns a boolean value (vtrefny)
- Squashed 'translation-canary/' changes from d6a40985..5bb81253 (vtrefny)
- Add btrfs subvolume specification to devicetree.resolve_device (vtrefny)
- Revert "Makefile cleanup" (vtrefny)
2023-08-03 11:17:28 +02:00
Fedora Release Engineering 3bcfcaf057 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 08:01:15 +00:00
Python Maint 50a7b6314a Rebuilt for Python 3.12 2023-06-29 23:31:09 +02:00
Vojtech Trefny 49234ce343 Remove gating tests
These tests require the now unsupported FMF provisioning.
2023-06-29 15:43:37 +02:00
Vojtech Trefny 36c1fd3e81 Cleanup unused patches 2023-06-29 15:42:53 +02:00
Vojtech Trefny ff8048d8b5 New version 3.8.0
- Require libblockdev 3.0 when importing from GI (vtrefny)
- spec: Bump required version of libblockdev to 3.0 (vtrefny)
- md: Adapt libblockdev 3.0 mdraid bitmap arg changes (tbzatek)
- spec: Bump release to 99 to be always ahead of Fedora in nightly (vtrefny)
- ci: Run GH actions tests in a Fedora container (vtrefny)
- Add new LUKS tests for add/remove key and key file usage (vtrefny)
- Adjust to the new libblockdev 3.0 crypto API (vtrefny)
- Adjust to libblockdev 3.0 API changes (vtrefny)
- blivet: Enable the extended node bitmap for F2FS (akoskovich)
- Remove all state-dependent objects when resetting Blivet DBus object. (dlehman)
- Run callbacks when pruning actions. (dlehman)
- Always prefer GPT disk labels on x86_64 (and clean up the logic) (awilliam)
- Do not add new PVs to the LVM devices file if it doesn't exist and VGs are present (vtrefny)
- Add RISCV64 architecture helper [is_riscv64()] for arch module. (48907457+nirousseau)
- iscsi: Extend allowed CHAP auth algorithms (tbzatek)
- Fix checking FIPS mode when /proc/sys/crypto/fips_enabled doesn't exist (vtrefny)
- Fix creating LUKS1 on disks with mixed sector size (#2188785) (vtrefny)
- Do not set memory limit for LUKS2 when running in FIPS mode (vtrefny)
- Revert "tests: Skip test_lvcreate_type on CentOS/RHEL 9" (vtrefny)
- DBus: remove extra callback invocations (dlehman)
- Add a test case for filesystem online resize (vtrefny)
- Add support for filesystem online resize (vtrefny)
- iscsi: Use UDisks instead of storaged in the availability message (vtrefny)
- tests: Fix skipping iSCSI tests if UDisks iSCSI isn't available (vtrefny)
- Add ChangeLog to .gitignore (vtrefny)
- Makefile cleanup (vtrefny)
- ci: Use Packit for daily builds in Copr (vtrefny)
- Avoid raising libblockdev exceptions from our code (vtrefny)
- ci: Fix Packit configuration (vtrefny)
- Add support for specifying stripe size for RAID LVs (vtrefny)
- tests: Use blivet-specific prefix for targetcli backing files (vtrefny)
- Add a basic test case for the iscsi module (vtrefny)
- Allow changing iSCSI initiator name after setting it (vtrefny)
- Prefer UUID for fstab spec for DM devices too (vtrefny)
- Remove support for Python 2 from spec and Makefile (vtrefny)
2023-06-29 14:06:04 +02:00
Python Maint 3dc0932689 Rebuilt for Python 3.12 2023-06-13 20:32:31 +02:00
Vojtech Trefny 71a12cb2d8 Always prefer GPT disk labels on x86_64 2023-05-31 09:08:07 +02:00
Vojtech Trefny 59a5ad27dc Add support for filesystem online resize 2023-05-23 09:30:56 +02:00
Vojtech Trefny 4c2a70e0da Add support for specifying stripe size for RAID LVs 2023-05-04 09:58:43 +02:00
Vojtech Trefny b01a7c7308 New version 3.7.1
- Fix the get_mount_device function (vponcova)
- Prefer using UUID for the kickstart --onpart argument (vtrefny)
- Fix setting kickstart data (vtrefny)
- pylint: Remove the "EXCEPTIONS" section from pylintrc (vtrefny)
- Add "microsoft" to list of recognized VM environments (vtrefny)
- ci: Add action to run unit tests in GH actions (vtrefny)
- tests: Make sure that unit tests can run without root privileges (vtrefny)
- doc: Link to the LVM VDO documentation from the index page (vtrefny)
- Ignore missing parted disk in ActionList._post_process (#2102960) (vtrefny)
2023-03-16 10:47:50 +01:00
Yaakov Selkowitz 5212fc783e Update RHEL patch for 3.7.0 2023-02-14 23:33:07 -05:00
Vojtech Trefny 9790bf0f9a New version 3.7.0
- Remove unused BLOCKDEV_DM_RAID technology from tasks (vtrefny)
- tests: Force remove LVM VG /dev/ entry not removed by vgremove (vtrefny)
- Mark LUKS2 integrity devices as always controllable (vtrefny)
- Ignore parent dependencies during action execute (vtrefny)
- tests: Patch checking stratis pool metadata size (vtrefny)
- Remove support for DMRAID devices (vtrefny)
- Do not read DDF RAID UUID from udev (vtrefny)
- Check physical and logical block size when creating a LUKS format (vtrefny)
- Add separate properties for logical and physical block size (vtrefny)
- Use DMI product_name for t2 mac detection. (83884198+sharpenedblade)
- vmtests: add a --logs arg to capture blivet.log from failed tests (berrange)
- examples: illustrate GPT GUID usage in partitioning example (berrange)
- vmtests: add test for GPT part type UUID validation (berrange)
- blivet: allow 'mountpoint' to be passed to PartitionDevice (berrange)
- deviceaction: retain explicit part type UUID when formatting (berrange)
- devices/partition: add ability to auto apply a GPT UUID (berrange)
- gpt: add helper API for discoverable partition UUIDs (berrange)
- devices/partition: allow passing partition type UUID (berrange)
- formats/disklabel: allow passing partition type UUID (berrange)
- Add a forced delay to udev settle in chroot environments (vlad.bespalov)
- Update public API documentation (vtrefny)
- tests/README: Clarify various test classes (vtrefny)
- Rename unit_tests.storagetestcase to unit_tests.blivettestcase (vtrefny)
- Add additional identifiers to NVMeNamespaceDevice (vtrefny)
- Add transport and address to NVMeController info (vtrefny)
- Make sure we close the streams when reading a file (vtrefny)
- Style changes. (sharpenedblade)
- Do not report mactel on T2 macs. (sharpenedblade)
- Add function to check for T2 apple macs. (sharpenedblade)
- Add a basic read-only support for UDF filesystem (vtrefny)
- add loongarch support (mahailiang)
- Add a basic support for NVMe and NVMe Fabrics devices (vtrefny)
2023-02-08 13:57:25 +01:00
Vojtech Trefny be0f89d540 Use mdadm to support BIOS RAID devices (#2158574) 2023-02-02 10:21:57 +01:00
Fedora Release Engineering 23ed0b6e30 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 11:49:06 +00:00
Vojtech Trefny 87b768c05f New version 3.6.1
- misc: Remove "warn: false" from Ansible "command" (vtrefny)
- spec: Change license string to the SPDX format required by Fedora (vtrefny)
- Catch BlockDevNotImplementedError for btrfs plugin calls (vtrefny)
- tests: document how to use the VM tests (berrange)
- tests: allow filtering tests to run in VM (berrange)
- tests: don't start/stop VM if it was already running (berrange)
- tests: use correct password arg for SSH to VM (berrange)
- tests: add logging to runvmtests.py (berrange)
- Fix potential AttributeError when getting stratis blockdev info (vtrefny)
- spec: Fix recommended libblockdev plugins (vtrefny)
- tests: remove unused global variables (berrange)
- Backport total_memory improvements from anaconda (vslavik)
- Fix regex for checking e2fsprogs version (vtrefny)
2022-11-28 10:15:50 +01:00
Vojtech Trefny fc07b52a79 Change license string to the SPDX format required by Fedora 2022-11-11 15:47:44 +01:00
Vojtech Trefny d25801089e New version 3.6.0
- pylint: Explicitly allow loading the _ped module from pyparted (vtrefny)
- ci: Run static analysis on Ubuntu 22.04 (vtrefny)
- tests: Create bigger devices for XFS testing (vtrefny)
- Set XFS minimal size to 300 MiB (vtrefny)
- Fix missing whitespaces around not keyword (vtrefny)
- Remove the Blivet.roots attribute (vponcova)
- packit: Set downstream_package_name to python-blivet (vtrefny)
- packit: Add srpm_build_deps for SRPM builds in Copr (vtrefny)
- tests: Fix message when skipping stratis tests (vtrefny)
- tests: Tell pytest to ignore symlinks when gathering test cases (vtrefny)
- Configure ids for Mock devices in populator_test (vtrefny)
- Add storage tests for Stratis (vtrefny)
- ci: Fix installing targetcli on Debian/Ubuntu (vtrefny)
- tests: Add test for creating and attaching cache pools (vtrefny)
- tests: Add storage tests for more LVM RAID levels (vtrefny)
- tests: Add test for ActionAddMember/ActionRemoveMember (vtrefny)
- tests: Add a test for creating and attaching a cache pool (vtrefny)
- Mark LVM cache pool format as immutable (vtrefny)
- tests: Skip test_lvcreate_type on CentOS/RHEL 9 (vtrefny)
- Add a YAML config for skipping tests on specified distributions (vtrefny)
- Add targetcli to the test dependencies playbook (vtrefny)
- Add a simple LVM test case that uses real storage (vtrefny)
- Add a test case that creates targetcli disks to run tests on (vtrefny)
- Allow running action_test even if some dependencies are missing (vtrefny)
- Use "fake" names for disks in DeviceTreeTestCase (vtrefny)
- Change how we import LoopBackedTestCase in fs_test (vtrefny)
- Add information about the new test suites to tests/README.rst (vtrefny)
- Makefile: Add targets to run the two new test suites separately (vtrefny)
- Fix typo in name of test_new_encrypted_stratis (vtrefny)
- Patch access to lvs in stratis tests (vtrefny)
- Fix pylint issues in the tests/pylint scripts (vtrefny)
- Make sure LVM unit tests can run without dependencies (vtrefny)
- Patch _pre_create in StorageDeviceMethodsTestCase.test_create (vtrefny)
- Assure that tests that set LVM devices filter can run without root (vtrefny)
- Fix running StratisFactoryTestCase as a non-root user (vtrefny)
- Split the test suite into "unit" and "storage" tests (vtrefny)
- Add support for attaching and creating LVM writecached LVs (vtrefny)
- Add support for enabling/disabling compression/deduplication (vtrefny)
2022-09-20 10:47:48 +02:00
Fedora Release Engineering 988302d172 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 16:58:46 +00:00
Vojtech Trefny 55a68e31a5 Remove old/unused patches 2022-07-19 16:30:26 +02:00
Vojtech Trefny 6b95a04c69 New version 3.5.0
- tests: Fix patching NVDIMM static data in populator_test (vtrefny)
- Ignore pylint false positives about missing methods in Gio and GLib (vtrefny)
- Ignore pylint warning about missing inspect.getargspec (vtrefny)
- Rename class ZFCPDevice to ZFCPDeviceFullPath (jstodola)
- Move _is_associated_with_fcp() implementation to the derived class (jstodola)
- Improve naming of zfcp classes/methods/functions (jstodola)
- Correct zfcp comments and strings (jstodola)
- Fix checking for stratis pool free space when adding a new filesystem (vtrefny)
- tests: Add a VM test case for Stratis (vtrefny)
- Use libblockdev to check for DBus service availability (vtrefny)
- Allow specifying size for stratis filesystems (vtrefny)
- tests: Skip Stratis DeviceFactory tests if missing dependencies (vtrefny)
- Use availability checks in devicelibs.stratis (vtrefny)
- Add external dependencies for Stratis devices classes (vtrefny)
- Add availability checks for Stratis dependencies (vtrefny)
- availability: Add a method to check for DBus service availability (vtrefny)
- Use the new Stratis tool to predict pool and fs used size (vtrefny)
- misc: Vagrantfile update (vtrefny)
- Add CentOS 9 Stream to the install-test-dependencies playbook (vtrefny)
- ci: Run static analysis checks in GitHub actions (vtrefny)
- doc: Add LVMWriteCache and LVMCachePoolMixin to public API (vtrefny)
- pylint: Remove deprecated pylint warnings from pylintrc and code (vtrefny)
- Add option to attach a newly created cache pool to existing LV (vtrefny)
- Add support for LVM RAID raid0 level (vtrefny)
- Do not fail when we can't get LVM cache information (#2086310) (vtrefny)
- Add a very simple NVMe module (vtrefny)
- Do not check for "problematic" disks in ActionList._pre_process (vtrefny)
- Change label_format_ok and uuid_format_ok to class methods (vtrefny)
- Generate correct dracut boot arguments for NPIV devices (jstodola)
- Add new class for NPIV-enabled devices (jstodola)
- LUN and WWPN should not be used for NPIV zFCP devices (jstodola)
- Add a function for reading the value of a kernel module parameter (jstodola)
- Allow to delete more than one SCSI device (jstodola)
- Move offline_scsi_device() to the base class (jstodola)
- Refactor the ZFCPDevice class (jstodola)
- misc: Vagrantfile update (vtrefny)
- Do not crash when a disk populator doesn't return kwargs (vtrefny)
- Disable Fedora ELN builds in packit (vtrefny)
- Fix raising exception when trying to resize internal LVs (vtrefny)
- Create loop devices for tests with --partscan (vtrefny)
- Make sure configure actions obsolete only actions with same attribute (vtrefny)
- Fix exception message when trying to format an non-existing device (vtrefny)
- Add default arguments for mkntfs (vtrefny)
- Mark NTFS as supported (vtrefny)
- Do no try to read cache MD size for inactive LVs from cache stats (vtrefny)
- Show better error when using unitialized disk in do_partitioning (vtrefny)
- Exclude unusable disks from PartitionFactory (vtrefny)
- Mark StratisXFS format as unsupported (vtrefny)
- Adjust to Stratis 3.0 API (vtrefny)
- lvm: Use blivet static data when checking if the VG is active (vtrefny)
- examples: Add LVM cache pool example (vtrefny)
- Add suport for creating LVM cache pools (vtrefny)
- Do not run pvcreate with --devices and list of PVs (vtrefny)
- Fix object type for ActionConfigureDevice (vtrefny)
- Use subvolume mountpoints when listing btrfs subvolumes (vtrefny)
- Squashed 'translation-canary/' changes from 4d4e65b8..d6a40985 (vtrefny)
- Fix log message for the LVM devices filter (vtrefny)
- Add support for creating standalone integrity devices (vtrefny)
- Use bigger chunk size for thinpools bigger than ~15.88 TiB (vtrefny)
- Fix removing zFCP SCSI devices (jstodola)
- Add public functions to add/remove PV to/from the LVM system.devices (vtrefny)
- Ignore errors for LVM devices file actions (vtrefny)
- Make sure PVs are added/deleted to/from the LVM device file (vtrefny)
- Use LVM devices for filtering LVM devices with LVM >= 2.02.13 (vtrefny)
- Switch LVM devices filter from "reject" to "accept" by default (vtrefny)
- tests: Mark "fake" disks in test_get_related_disks as non-existing (vtrefny)
- Set correct map name for existing LUKS devices (vtrefny)
- Do not raise deprecated IOError from iscsi and fcoe modules (vtrefny)
- Remove unused flag multipath (vtrefny)
- Do not add device name as a parameter for errors.DeviceError (vtrefny)
- Add stratis filesystem metadata size and pool free space (vtrefny)
- Fix parameters differ from overridden in StratisPoolDevice (vtrefny)
- Fix/unify importing mock module in stratis tests (vtrefny)
- Add fstab options for Stratis Filesystem devices (vtrefny)
- Add MountClass for StratisXFS filesystem (vtrefny)
- Add Stratis devices and formats to the public API documentation (vtrefny)
- Hide the private LUKS device for unlockded Stratis pools (vtrefny)
- Add property with list of Stratis block devices to StratisPoolDevice (vtrefny)
- Set pool info on the block devices when adding/removing Stratis pool (vtrefny)
- Set the StratisBlockdev format status based on whether it has a pool or not (vtrefny)
- Add more tests for creating Stratis devices (vtrefny)
- Add support for creating encrypted Stratis devices with DeviceFactory (vtrefny)
- Add support for working with locked Stratis pools (vtrefny)
- Add support for creating encrypted Stratis pools (vtrefny)
- Add Stratis device factory (vtrefny)
- Mark format on Stratis pool devices as immutable (vtrefny)
- Add Stratis example (vtrefny)
- Add simple test case for Stratis (vtrefny)
- Add basic support for creating Stratis devices (vtrefny)
- Add a special "XFS Stratis" filesystem for Stratis filesystem devices (vtrefny)
- Avoid circular depency when in static_data/stratis_info.py (vtrefny)
- Add dracut setup args for Stratis devices (vtrefny)
- Add support for removing Stratis devices using DBus API (vtrefny)
- Add basic support for Stratis devices (vtrefny)
- Ignore all "private" devices during populate (vtrefny)
- safe_dbus: Add function to get all properties for an interface (vtrefny)
- Add support for renaming devices using ActionConfigureDevice (vtrefny)
2022-07-19 13:02:30 +02:00
Vojtech Trefny 51b41ba111 Add support for NPIV-enabled zFCP devices 2022-06-20 12:29:43 +02:00
Python Maint 08cd972d30 Rebuilt for Python 3.11 2022-06-13 14:57:52 +02:00
Vojtech Trefny 0e19d42d9f New version 3.4.4
- Use LVM PV format current_size in LVMVolumeGroupDevice._remove
- Correctly set vg_name after adding/removing a PV from a VG
- Do not crash when changing disklabel on disks with active devices
- ActionDestroyDevice should not obsolete ActionRemoveMember
- Correctly set compression and deduplication for existing VDO pools
- Correctly cancel configure actions in cancel()
- Set partition flags after setting parted filesystem (#2033875)
2022-05-16 09:13:19 +02:00
Jan Pokorny b65d61442d Set partition flags after setting parted fs (#2033875) 2022-02-15 13:55:12 +01:00
Vojtech Trefny 2279349a9f New version 3.4.3
- Make sure we mount the top level subvolume when mounting btrfs (vtrefny)
- README: Fix API documentation link (vtrefny)
- iscsi: Replace all log_exception_info calls with log.info (vtrefny)
2022-02-01 14:54:03 +01:00
Fedora Release Engineering 4cf6f4d00a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 10:51:37 +00:00
Vojtech Trefny 5d4e6a46b0 New version 3.4.2
- pylint: Remove pdb breakpoint in device_properties_test (vtrefny)
- pylint: Fix exception string in get_cow_sysfs_path (vtrefny)
- pylint: Remove redundant 'u' prefixes for strings in doc/conf.py (vtrefny)
- pylint: Ignore the "redundant-u-string-prefix" warning in i18n.py (vtrefny)
- pylint: Ignore the new warning W1514 "unspecified-encoding" (vtrefny)
- pylint: Fix multuple unused variables 'e' in exceptions (vtrefny)
- Makefile: Specify weblate repository branch for the potfile target (vtrefny)
- flags: Fix leaking file descriptor (vtrefny)
- README: Add info about our openSUSE/Mageia/OpenMandriva Copr repo (vtrefny)
- Fix checking for LVM VDO support with libblockdev 2.23 and older (vtrefny)
- tasks: Allow specifying custom error message for UnavailableMethod (vtrefny)
- Use setuptools instead of distutils in setup.py (vtrefny)
- Use shutil.which instead of distutils.spawn.find_executable (vtrefny)
- Do not use FS.mount for btrfs temporary mounts (vtrefny)
2021-09-30 13:21:40 +02:00
Vojtech Trefny bf2361d0c6 New version 3.4.1
- pylint: Ignore deprecation warning about threading.currentThread (vtrefny)
- Fix getting PV info in LVMPhysicalVolume from the cache (vtrefny)
- Fix ActionRemoveMember requires check (#1993655) (vtrefny)
- util: Ignore false positive assignment-from-no-return warning in ObjectID (vtrefny)
- tasks: Ignore pylint arguments-differ warning for do_tasks (vtrefny)
- Remove unused __save_passphrase member from LUKS_Data (vtrefny)
- size: Ignore new pylint warning "arguments-renamed" (vtrefny)
- Do not use deprecated (vtrefny)
- Remove unused member __names from DeviceFactory (vtrefny)
- Improve error message printed for missing dependecies (vtrefny)
- tests: Print version and blivet location when running tests (vtrefny)
- tests: Allow running tests without the tests directory in PYTHONPATH (vtrefny)
- edd_test: Locate the edd_data based on the test file location (vtrefny)
- Run Anaconda tests on blivet pull requests (jkonecny)
- Do not set chunk size for RAID 1 (vtrefny)
- When sorting devices make sure partitions are sorted correctly (vtrefny)
- Make sure LVM config is updated before running pvcreate (vtrefny)
- Tell LVM to ignore the new devices file for now (vtrefny)
- Revert "Use PARTITION_ESP flag for EFIFS partitions (#1930486)" (vtrefny)
- Fix resolving devices with names that look like BIOS drive number (vtrefny)
- Ignore pylint false positive no-member warning (vtrefny)
- Fix util.virt_detect on Xen (vtrefny)
- Fix/unify importing mock module in tests (vtrefny)
- Convert LVM filter lists to sets (vtrefny)
- Remove action device from LVM reject list (vtrefny)
- Fix activating old style LVM snapshots (vtrefny)
- Make sure the device is setup before configuring its format (vtrefny)
- Remove RHEL 9 specific patch from SPEC (vtrefny)
- Use package list instead of cycle in our dependencies Ansible playbook (vtrefny)
- Add vagrant file for running tests and development in a VM (vtrefny)
- Update our playbook for installing test dependencies (vtrefny)
- Add example for working with actions (vtrefny)
- Add LUKS encrypted LV to LVM example (vtrefny)
- Add example for LVM thin provisioning (vtrefny)
- Squashed 'translation-canary/' changes from 3bc2ad68..4d4e65b8 (vtrefny)
2021-08-19 11:58:09 +02:00
Fedora Release Engineering af577b935a - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 05:22:12 +00:00
Vojtech Trefny e3e8c56009 Revert "Use PARTITION_ESP flag for EFIFS partitions" (#1975375) 2021-07-21 14:33:29 +02:00
Vojtech Trefny a366c6f46d Fix resolving devices with names that look like BIOS drive number
Resolves: rhbz#1960798
2021-06-30 08:16:46 +02:00
Python Maint b688eafcbf Rebuilt for Python 3.10 2021-06-03 11:15:27 +02:00
Vojtech Trefny 94b22f628d New version 3.4.0
- Fix setting SELinux flag in SELinuxContextTestCase (vtrefny)
- Allow running blivet without Python SELinux module (vtrefny)
- Adapt to dosfstools 4.2 FAT label changes (vtrefny)
- Add LVM VDO to public API (vtrefny)
- Add a special exception type for LVM inconsistent sector sizes (vtrefny)
- Remove the "encryption_passphrase" attribute from Blivet class (vtrefny)
- Use PARTITION_ESP flag for EFIFS partitions (#1930486) (vtrefny)
- Provide better error message for LVM with inconsistent sector sizes (vtrefny)
- Avoid AttributeError for DiskLabel formats without disklabel type (vtrefny)
- Ignore ArithmeticError when trying to align partition size down (vtrefny)
- Do not log entire exception when trying to get ISCSI initiator name (vtrefny)
- Fix running BlivetLVMVDODependenciesTest test case as non-root (vtrefny)
- Remove EDD test logs after the tests finish (vtrefny)
- Replace IOError with OSError around file operations (vslavik)
- spec: Add 'make' to BuildRequires (vtrefny)
- Fix usage of assert_called_with in lvm_test (vtrefny)
- apply directory's SELinux context to freshly created mount points (rmetrich)
- Try to get Btrfs volume UUID using libblockdev if UDev lookup fails (vtrefny)
- Allow removing LVM VDO devices without VDO support (vtrefny)
- Sync spec with downstream (vtrefny)
- Use real paths to Python site packages (vponcova)
- Fix excessive logging in udev.__is_ignored_blockdev (vtrefny)
- Make sure we use size >= LVM VDO min size in test_lv_unique_name (vtrefny)
- Replace pocketlint by a custom script (vtrefny)
- Fix pylint errors in translation canary (jkonecny)
- Bump required libblockdev version to 2.24 (vtrefny)
- Fix external dependencies for LVM VDO devices (vtrefny)
- Use better description for libblockdev plugins in tasks.availability (vtrefny)
- Set minimum size for LVM VDO pool devices (vtrefny)
- Add LVM VDO documentation (vtrefny)
- Add LVM VDO example (vtrefny)
- Add nodiscard option by default when creating VDO logical volumes (vtrefny)
- Allow adding nodiscard option when running mkfs (vtrefny)
- Add VM test for LVM VDO (vtrefny)
- Add LVM VDO device factory (vtrefny)
- Allow creating LVM VDO pools and volumes using "blivet.new_lv" (vtrefny)
- Add support for creating LVM VDO pools and LVM VDO volumes (vtrefny)
- Add "vdo_lv" property to LVMVDOPoolMixin (vtrefny)
- Read the LVM VDO pool current size from the internal data LV (vtrefny)
- Add availability functions for LVM VDO (vtrefny)
- Add VDO pool data LV to internal LVs during populate (vtrefny)
- Fix type of LVM VDO logical volumes (vtrefny)
2021-05-07 17:36:17 +02:00
Vojtech Trefny 330f399941 Avoid AttributeError for DiskLabel formats without disklabel type (#1945914) 2021-04-12 13:41:47 +02:00
Vojtech Trefny 09da53275c New version 3.3.3
- apply compression settings from blivet.flags.btrfs_compression (#1926892)
2021-02-18 14:23:26 +01:00
Fedora Release Engineering 2530c12bed - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-27 09:35:47 +00:00
Tom Stellard 4ad2a754a8 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-19 01:20:18 +00:00
Vojtech Trefny e21fb06c08 New version 3.2.2
- Fix "suggest_container_name" for Anaconda (vtrefny)
- Add test for util.get_sysfs_attr (vtrefny)
- Use util.get_sysfs_attr in __is_ignored_blockdev to read device mode (vtrefny)
- Fix possible UnicodeDecodeError when reading sysfs attributes (vtrefny)
- Update LUKS device name after parent partition name change (vtrefny)
- TFT is still broken so let's avoid failures by just doing a build (jkonecny)
- Fix logging information about ignoring hidden devices (vtrefny)
- Add __repr__ and __str__ methods to ParentList (vtrefny)
- Make sure LV name is unique when adding it in device factory (vtrefny)
- In name checks add name which is already in use to error message (vtrefny)
- Refactor suggest device/container name functions (vtrefny)
- Remove an unused attribute from the Blivet class (vponcova)
- Add PyPI build artifacts to .gitignore (vtrefny)
- Sync spec with downstream (vtrefny)
2021-01-14 10:14:26 +01:00
Vojtech Trefny d51d676763 Fix bogus date in changelog 2020-11-11 13:47:44 +01:00
Vojtech Trefny 2fc5501221 Remove btrfs from requested libblockdev plugins on RHEL 9 2020-11-11 13:30:56 +01:00
Vojtech Trefny 7e7a4c7655 New version 3.3.1
- Make sure the product name is safe when using it for device name (vtrefny)
- Run packit RPM builds on Fedora ELN (vtrefny)
- Allow specifying 'mode' for the sdist command (vtrefny)
- Enable packit RPM builds on pull requests (vtrefny)
- Start the iscsi-init service (#1880673) (vponcova)
- Let parted fix fixable issues with partition table (vtrefny)
- edd: Fix UnboundLocalError when trying to close fd in collect_mbrs (vtrefny)
- Use UnusableConfigurationError for partially hidden multipath devices (vtrefny)
- Close fd if it fails to read the device (nashok)
- Do not run udev.settle in StorageDevice._pre_teardown (vtrefny)
- Try to not use udev.resolve_devspec when querying MountsCache (vtrefny)
- Remove Zanata config file (vtrefny)
- Ignore new pylint warning W0707 "raise-missing-from" (vtrefny)
- Use SSH "link" for l10n repository in Makefile (vtrefny)
- Fix source tarball cleanup in srpm and rpm Makefile targets (vtrefny)
2020-10-20 10:00:39 +02:00
Vojtech Trefny eaa02fcd8d Avoid using unnecessary udev.settle calls (#1876162) 2020-09-16 08:42:24 +02:00
Vojtech Trefny 9dc878a453 Remove old unused patches 2020-08-21 07:53:58 +02:00
Vojtech Trefny d3cbb91713 Fix disk names for gating tests
Disks we create for our gating tests are now 'vdb' and 'vdc'
instead of 'vda' and 'vdb'.
2020-08-21 07:31:14 +02:00
Vojtech Trefny 84bdf1c9f5 New version 3.3.0
- Account for pmspare grow when adjusting thinpool metadata size (vtrefny)
- Fix ignoring disk devices with parents or children (vtrefny)
- Terminology cleanup, part 3 (vtrefny)
- Terminology cleanups, part 2. (dlehman)
- Clean up some terminology. (dlehman)
- Add tests for udev.device_get_name for RAID devices (vtrefny)
- Fix name resolution for MD devices and partitions on them (vtrefny)
- Fix reading hidden sysfs attribute (vtrefny)
- Add support for specifying sector size for LUKS 2 devices (vtrefny)
- Do not ignore unknown/unsupported device mapper devices (vtrefny)
- Allow specifying custom hash function for LUKS 2 format (vtrefny)
- Ignore devices marked as hidden in sysfs (#1856974) (vtrefny)
- Add basic F2FS support (#1794950) (vtrefny)
- Make safe_device_name device type specific (vtrefny)
- Add exFAT to filesystems we recognize (vtrefny)
- Use xfs_db in read-only mode when getting XFS information (vtrefny)
- Add support for checking and fixing XFS using xfs_repair (vtrefny)
- Ignore zRAM devices in VMBackedTestCase (vtrefny)
- Add tests for XFS resize (vtrefny)
- Add support for XFS format grow (vtrefny)
- Typo fix (vtrefny)
- tests: Skip test_reset when running as non-root (vtrefny)
- tests: Patch LVM availability functions for some tests (vtrefny)
- tests: Patch LVM lvs call for some non-LVM tests (vtrefny)
- Do not propagate ped exception from add_partition (vtrefny)
- Do not use BlockDev.utils_have_kernel_module to check for modules (vtrefny)
- set allowed disk labels for s390x as standard ones (msdos + gpt) plus dasd (dan)
- Do not use FSAVAIL and FSUSE%% options when running lsblk (vtrefny)
- Rewrite README and add it as a long_description in setup.py (vtrefny)
- Round down to nearest MiB value when writing ks parittion info. (sbueno+anaconda)
- Add _teardown method to IntegrityDevice (vtrefny)
- Fix status for DM Integrity format (#1814005) (vtrefny)
- udev: Add function to get list of device's holders (vtrefny)
- Add basic support for LVM writecache devices (vtrefny)
- Add test for SwapSpace max size (vtrefny)
- Do not limit swap to 128 GiB (vtrefny)
- Fix possible UnicodeDecodeError when reading model from sysfs (vtrefny)
- Add install_requires and classifiers to setup.py (vtrefny)
- Import setuptools in setup.py to make bdist_wheel work (vtrefny)
- Set device.original_format to the new format in ActionCreateFormat (vtrefny)
- Fix resizable property for partitions (vtrefny)
- Update TODO. (dlehman)
- Ignore pycodestyle warning E741 (vtrefny)
- Skip test_mounting for filesystems that are not mountable (vtrefny)
- Sync specfile with downstream (japokorn)
- Make extended partitions resizable (vtrefny)
- Fix LV min size for resize in test_action_dependencies (vtrefny)
- Fix checking for filesystem support in action_test (vtrefny)
- Add basic support for LVM VDO devices (vtrefny)
- Update POT file in the Weblate repo during "make potfile" (vtrefny)
- Skip translation canary check if POT file is not available (vtrefny)
- Add blivet-weblate repository as a submodule (vtrefny)
- Remove Zanata from our build process (vtrefny)
- Remove po folder (vtrefny)
- More consistent lvm errors (API break) (japokorn)
- Added support for device tags (japokorn)
2020-08-20 11:53:25 +02:00
Vojtech Trefny acf192e6dd set allowed disk labels for s390x as standard ones (msdos + gpt)
plus dasd
2020-07-29 15:41:22 +02:00
Fedora Release Engineering cc12524917 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 23:57:44 +00:00
Miro Hrončok 13036cee6c Rebuilt for Python 3.9 2020-05-23 07:17:39 +02:00
Jan Pokorny 950bb00f28 New version 3.2.2
- Allow setting size for non-existing LUKS devices (vtrefny)
- Fix toggling container encryption in devicefactory (#1827254) (vtrefny)
- Do no include destroyed devices in list of names (#1830515) (vtrefny)
- Fix changing LUKS version in devicefactory (#1834373) (vtrefny)
- Add "is_empty" property to StorageDevice (vtrefny)
- Mark warning "'GError' has no 'message' member" as false positive (vtrefny)
- Use the specified LUKS version for container encryption (vponcova)
- Log current storage state before reset using lsblk (vtrefny)
- Do not remove _netdev mount option specified manually by users (vtrefny)
- Fix renaming encrypted devices in the DeviceFactory (vtrefny)
- Fix typo in string formatter in EddEntry (vtrefny)
2020-05-21 14:01:42 +02:00
Vojtech Trefny afb92590cb Invalidate LVM caches in blivet device discovery loop (#1824418) 2020-04-21 00:02:25 +02:00
Vojtech Trefny 691753c794 New version 3.2.1
- Correctly recognize EFI format on an MD RAID device (#1695913)
- Do not set empty name instead of invalid one in devicefactory (#1813710)
- Fix crash for devices without ID_PATH udev property (#1814920)
- Allow for reserved vg space and a growable thin pool. (#1783946)
- Fix name resolution for md member partitions. (#1798792)
2020-04-06 14:23:32 +02:00
Vojtech Trefny 6523462fbd Fix name resolution for md member partitions. (#1798792) 2020-03-11 09:42:15 +01:00
Fedora Release Engineering 0600813ae8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-30 10:57:02 +00:00
Vojtech Trefny 3dd60e0ccf New version 3.2.0
- Align base sizes up if smaller than min I/O size. (dlehman)
- Make minimal and optimal alignment getters public. (dlehman)
- Add support for relabeling of the swap format (vtrefny)
- Define the 'relabels' method for all formats (vtrefny)
- Add support for LVMPV format resize (vtrefny)
- Add a new "id_path" attribute for iSCSI and FCoE disks (vtrefny)
- Do not load module when creating an FS instance (vtrefny)
- Add a simple script for running tests manually (vtrefny)
- Remove unused API code (jkonecny)
- devicetree.names is now a property (japokorn)
- initial PowerNV class support (dan)
- Use LUKS2 by default (vponcova)
2020-01-29 14:49:45 +01:00
Vojtech Trefny 61a16006fc New version 3.1.6
- Do not allow creating VGs with PVs with different sector size (vtrefny)
- Add a new "sector_size" property to storage devices. (vtrefny)
- Ignore invalid-overridden-method warning for abstract properties (vtrefny)
- Change NFSMount._availability_errors to a property (vtrefny)
- Fix util.detect_virt function (vtrefny)
- Do not try to normalize size for zero size device factories (vtrefny)
- Always set default key size to 512 bits for ciphers with XTS mode (vtrefny)
2019-10-25 08:08:08 +02:00
Miro Hrončok 22621173db Rebuilt for Python 3.8.0rc1 (#1748018) 2019-10-03 14:04:41 +02:00
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
David Lehman 0d7a83bf90 Fixes for F25 blockers and freeze exceptions.
- Use correct type for port in GVariant tuple (awilliam)
- iSCSI: Store auth info in NodeInfo tuples (awilliam)
- iSCSI: turn `iscsi.initiator_set` into a property (awilliam)
- Add device symlinks to the PVs dictionary for MD RAID PVs (#1389130) (vpodzime)
2016-11-07 12:10:56 -05:00
David Lehman a49e9ad7ad New version: blivet-2.1.6
- add missing populators to populator.helpers (awilliam)
2016-10-04 14:10:04 -04:00
David Lehman 7d28cdd9c6 python-blivet-2.1.5-1
- Move parted changes to after format destroy. (#1378162) (dlehman)
- Add translators comment for unsupported disklabel names (vtrefny)
2016-09-26 14:06:58 -04:00
Peter Robinson 6d00fd353a Bump to sync with anaconda release 2016-09-24 15:32:43 +01:00
David Lehman 662fd7082a python-blivet-2.1.4-1
- Revert unsupported clearing of parted partition 'system'. (dlehman)
- Make sure we create a proper GVariant tuple as args (#1375712) (vpodzime)
- Do not include both size and percent in logvol ks cmd. (dlehman)
- Ignore NVDIMMs at OS installation time. (dlehman)
- Don't crash if lvm refuses to activate an lv. (dlehman)
2016-09-20 13:59:12 -04:00
David Lehman f26bcf6398 blivet-2.1.3-1
- Remove some deprecated/obsolete bits from spec file. (dlehman)
- Use %global instead of %define for specfile macros. (dlehman)
- Fix URLs pointing to blivet resources. (dlehman)
- UUID is now cleaned when destroying format (japokorn)
- Support disk tags as disk specification for new partitions. (dlehman)
- Add tags property to Device with some defaults for disk variants. (dlehman)
- Add checks to git-multi-merge script (jkonecny)
- UUID now set correctly when reformatting partition (japokorn)
- Eliminate mountpoint symlinks when looking for mounted device (vtrefny)
- iscsi: allow installing bootloader on offload iscsi disks (qla4xxx)
  (#1325134) (rvykydal)
2016-09-14 12:11:10 -04:00
David Lehman 7cef68fdc6 New version: 2.1.2-1
- Allign the LV's size up to set the base size for growing (vpodzime)
- Ensure biosboot shows up in kickstart (#1242666) (rmarshall)
- Add tests for the new LV from LVs actions (vpodzime)
- Make sure to add/remove internal LVs when adding/removing a compound LV
  (vpodzime)
- Make sure all LVs to create a new LV from are in the DT (vpodzime)
- Make sure internal LVs are added/removed to/from DT properly (vpodzime)
- Make LVs depend on their internal LVs (vpodzime)
- Do not add the LV to devicetree in new_lv_from_lvs() (vpodzime)
- Require libblockdev version with all the functions we need (vpodzime)
- Allow for cascade creation of LVs from LVs (vpodzime)
- Fix removing PVs after removing VG (#1358067) (vtrefny)
- Pass arguments to get_member_raid_sets() in the correct order (#1225184)
  (vpodzime)
- Use the new way extra information is provided for LVs (vpodzime)
- Add a method to determine if a udev device is a disk. (vtrefny)
- Fix udev.resolve_glob to match device path too (vtrefny)
- Adapt to the old-new storaged API paths (vpodzime)
- Handle an mpath name as lone exclusive disk. (#984059) (dlehman)
- Add unit tests for disk filter. (dlehman)
- Allow creation of a new LV from other LVs (vpodzime)
- Removed test for snapshot origin existance (jkonecny)
- Don't require existing origin when modeling snapshot (jkonecny)
- Update size for dmraid arrays found during populate. (#1269662) (dlehman)
- Restore the correct default partition table type for AArch64 EFI. (dmarlin)
- Fix args to cancel_disk_actions call from hide(). (dlehman)
- Fix not enough free space after creating extended partition (#1252350)
  (vtrefny)
- Add some more unit tests for DeviceTree. (dlehman)
- Add tests for critical format methods. (dlehman)
- Split and include cache data and metadata sizes properly (vpodzime)
- Use internal LVs (if any) to calculate space used by existing LVs (vpodzime)
- Remove an unused calculation of VG's RAID PVs (vpodzime)
- Only include padding to nonexisting thin pools' vg_space_used (vpodzime)
- Require pyudev 0.18 or newer (vtrefny)
- Do not use deprecated pyudev methods (vtrefny)
- Show changes for each branch in git-multi-merge before pushing (vpodzime)
2016-08-05 14:20:31 -04:00
Fedora Release Engineering 3ad6fdfa00 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages 2016-07-19 09:06:32 +00:00
David Lehman b1ac8c1100 New version: 2.1.1-1.fc25
- Ignore all merge commits when making rpm log. (dlehman)
- Require pyudev 0.18 or newer (vtrefny)
- Do not use deprecated pyudev methods (vtrefny)
- Try harder to identify a partition's disk when necessary. (dlehman)
- Add some fallback methods for finding a partition's disk. (dlehman)
- Include devices on disklabels unsupported by parted in the devicetree.
  (dlehman)
- Don't traceback if we fail to examine an md member. (dlehman)
- Disklabel commit errors can occur for disks, too. (dlehman)
- Add unit tests for device methods. (dlehman)
- ARM platforms: support both msdos and gpt partitions (pbrobinson)
- LUKS data moved to singleton (japokorn)
- Add the P_ keyword to xgettext. (dshea)
- Add xfs to default filesystem types (rmarshall)
- Fix blivet constructor fs support check (rmarshall)
- Do not put LVM stuff into syslog (vpodzime)
- Kickstart missing bootloader partitions (#1242666) (rmarshall)
2016-06-07 14:08:20 -04:00
David Lehman 306152be48 New version: 2.1.0
- Add name of problematic device to UnusableConfigurationError (vtrefny)
- LVM data are now global (japokorn)
- Allow custom chunk size specification for MDRaidArrayDevice (vtrefny)
- Mock all blockdev's listing functions for populator tests (vpodzime)
- Add zanata-python-client to TEST_DEPENDENCIES (bcl)
2016-05-12 14:39:48 -04:00
David Lehman ce4779320f New version: 2.0.3-1
- Fix protected status for extended partitions (vtrefny)
- Improve documentation of the udev.resolve_glob() function (vpodzime)
- Remove the locale list from zanata.xml (dshea)
- Do not test translated strings during make ci. (dshea)
- Squashed 'translation-canary/' changes from 5a45c19..3bc2ad6 (dshea)
- Fix root detection on btrfs in rescue mode (vtrefny)
- Use device's mount options when mounting existing systems (vtrefny)
- Ignore pylint being confused with our mixins' properties (vpodzime)
- Get back to use ROUND_HALF_UP by default (vpodzime)
- Let Python import the formats for us (vpodzime)
- Only call resolve_devspec() in _get_active_mounts() for real devices
  (vpodzime)
- Call is_mpath_member() only when it makes sense (dlehman)
- Break the cycle in LVMPhysicalVolume.destroy (#1331630) (vpodzime)
- Use libbytesize's translations for Size tests (vpodzime)
- Compare sizes instead of numbers of sectors (vpodzime)
- Obsolete python-blivet and blivet-data packages. (dlehman)
- Increase the default size of /boot to 1 GB. (#377) (clumens)
- Do not add btrfs volume subvolid to subvolumes mountopts (#1306808) (vtrefny)
- A simple script for multi-merges we now do (vpodzime)
- Update CONTRIBUTING file to match current practices. (dlehman)
- Only import the 'iscsi' singleton when really needed (vpodzime)
- Correctly recognize internal RAID LVs (vpodzime)
- Do not add mdarray with no slave (#1321393) (vtrefny)
- Make sure to add hyperPAV aliases to dasd.conf. (sbueno+anaconda)
- LVM data are now global (japokorn)
- Preserve traceback when re-raising exceptions (vpodzime)
2016-05-12 14:06:57 -04:00
David Lehman 45270d0d24 blivet-2.0.2
- Fix mistake from PEP8 conversion. (#1323012) (dlehman)
- Set both req_size and size of thin pool when growing LVM (vpodzime)
- Retrieve udev info as needed in handle_format. (#1322943) (dlehman)
- Fix requires after subpackage switcharoo. (dlehman)
- Fix package naming in spec file. (dlehman)
2016-04-04 15:04:45 -04:00
David Lehman 6515989c9d Fix requires after shuffling subpackages. 2016-03-30 11:35:03 -04:00
David Lehman 4cde568971 Fix package naming in specfile. 2016-03-29 14:30:29 -04:00
David Lehman 2cb871a1b6 New version: 2.0.1
- Make sure EddMatcher.root is a string. (dlehman)
- Move per-thread change accounting to a function. (dlehman)
- Add missing conf kwarg in call to PopulatorMixin ctor. (dlehman)
- Fixes found while porting anaconda to blivet-2.0 (dlehman)
- Mock all blockdev's listing functions for populator tests (vpodzime)
2016-03-29 13:44:28 -04:00
4 changed files with 1667 additions and 73 deletions

66
.gitignore vendored
View File

@ -91,3 +91,69 @@
/blivet-1.17.tar.gz
/blivet-1.18.tar.gz
/blivet-1.19.tar.gz
/blivet-2.0.1.tar.gz
/blivet-2.0.2.tar.gz
/blivet-2.0.3.tar.gz
/blivet-2.1.0.tar.gz
/blivet-2.1.1.tar.gz
/blivet-2.1.2.tar.gz
/blivet-2.1.3.tar.gz
/blivet-2.1.4.tar.gz
/blivet-2.1.5.tar.gz
/blivet-2.1.6.tar.gz
/blivet-2.1.7.tar.gz
/blivet-2.1.8.tar.gz
/blivet-2.1.9.tar.gz
/blivet-2.1.10.tar.gz
/blivet-2.1.11.tar.gz
/blivet-3.0.0.b1.tar.gz
/blivet-3.1.0.b1.tar.gz
/blivet-3.1.0.b2.tar.gz
/blivet-3.1.0.tar.gz
/blivet-3.1.1.tar.gz
/blivet-3.1.2.tar.gz
/blivet-3.1.3.tar.gz
/blivet-3.1.4-tests.tar.gz
/blivet-3.1.4.tar.gz
/blivet-3.1.5-tests.tar.gz
/blivet-3.1.5.tar.gz
/blivet-3.1.6.tar.gz
/blivet-3.1.6-tests.tar.gz
/blivet-3.2.0-tests.tar.gz
/blivet-3.2.0.tar.gz
/blivet-3.2.1-tests.tar.gz
/blivet-3.2.1.tar.gz
/blivet-3.2.2.tar.gz
/blivet-3.2.2-tests.tar.gz
/blivet-3.3.0.tar.gz
/blivet-3.3.0-tests.tar.gz
/blivet-3.3.1.tar.gz
/blivet-3.3.1-tests.tar.gz
/blivet-3.3.2-tests.tar.gz
/blivet-3.3.2.tar.gz
/blivet-3.3.3-tests.tar.gz
/blivet-3.3.3.tar.gz
/blivet-3.4.0.tar.gz
/blivet-3.4.0-tests.tar.gz
/blivet-3.4.1.tar.gz
/blivet-3.4.1-tests.tar.gz
/blivet-3.4.2.tar.gz
/blivet-3.4.2-tests.tar.gz
/blivet-3.4.3-tests.tar.gz
/blivet-3.4.3.tar.gz
/blivet-3.4.4-tests.tar.gz
/blivet-3.4.4.tar.gz
/blivet-3.5.0-tests.tar.gz
/blivet-3.5.0.tar.gz
/blivet-3.6.0.tar.gz
/blivet-3.6.0-tests.tar.gz
/blivet-3.6.1-tests.tar.gz
/blivet-3.6.1.tar.gz
/blivet-3.7.0-tests.tar.gz
/blivet-3.7.0.tar.gz
/blivet-3.7.1.tar.gz
/blivet-3.7.1-tests.tar.gz
/blivet-3.8.0-tests.tar.gz
/blivet-3.8.0.tar.gz
/blivet-3.8.1.tar.gz
/blivet-3.8.1-tests.tar.gz

View File

@ -0,0 +1,28 @@
From 8b527ee85b6594d506d445ff4c30579cccef8ae6 Mon Sep 17 00:00:00 2001
From: Vojtech Trefny <vtrefny@redhat.com>
Date: Wed, 11 Nov 2020 13:24:55 +0100
Subject: [PATCH] Remove btrfs from requested libblockdev plugins
---
blivet/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/__init__.py b/blivet/__init__.py
index 14bd5c61..1410d78e 100644
--- a/blivet/__init__.py
+++ b/blivet/__init__.py
@@ -63,9 +63,9 @@ gi.require_version("BlockDev", "2.0")
from gi.repository import GLib
from gi.repository import BlockDev as blockdev
if arch.is_s390():
- _REQUESTED_PLUGIN_NAMES = set(("lvm", "btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "s390", "nvdimm"))
+ _REQUESTED_PLUGIN_NAMES = set(("lvm", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "s390", "nvdimm"))
else:
- _REQUESTED_PLUGIN_NAMES = set(("lvm", "btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "nvdimm"))
+ _REQUESTED_PLUGIN_NAMES = set(("lvm", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "nvdimm"))
# nvme plugin is not generally available
if hasattr(blockdev.Plugin, "NVME"):
--
2.26.2

File diff suppressed because it is too large Load Diff

View File

@ -1 +1,2 @@
badbc6d27465befadc80c1b7efc15b9d blivet-1.19.tar.gz
SHA512 (blivet-3.8.1.tar.gz) = ada376aee554f953334008eb491a16f8577eebb811d284a185ce2efadad87f2fcf9cc0f76eefca85b5f36e70b18463e6d42910d90e2d35537b4405be85dbf18f
SHA512 (blivet-3.8.1-tests.tar.gz) = 5a13bcf00db17cb33f5c33419ab8fcdf89286462c8a8a0919cfa5c40180b28896a7e4191b122917f55b48dfa2ea23358cc6b6a69ad666ba0bbdae01d0e51014a