Compare commits

...

53 Commits
f32 ... 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
10 changed files with 639 additions and 231 deletions

36
.gitignore vendored
View File

@ -121,3 +121,39 @@
/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

@ -1,33 +0,0 @@
From fcc941289541a6667445b4c2104b697933b867e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
Date: Fri, 7 Jun 2019 09:31:01 +0200
Subject: [PATCH] initial PowerNV class support
---
blivet/arch.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/blivet/arch.py b/blivet/arch.py
index 55ce8108..2cd978e9 100644
--- a/blivet/arch.py
+++ b/blivet/arch.py
@@ -72,7 +72,7 @@ def get_ppc_machine():
'Cell': 'pSeries',
'Momentum': 'pSeries',
'PS3': 'PS3',
- 'PowerNV': 'pSeries'
+ 'PowerNV': 'PowerNV'
}
machine = None
platform = None
@@ -330,6 +330,10 @@ def is_ipseries():
return is_ppc() and get_ppc_machine() in ("iSeries", "pSeries")
+def is_powernv():
+ return is_ppc() and get_ppc_machine() == "PowerNV"
+
+
def get_arch():
"""
:return: The hardware architecture

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

View File

@ -1,33 +0,0 @@
From 8b76e2d72cca787747a2c639edbdfa0af28f9878 Mon Sep 17 00:00:00 2001
From: Vojtech Trefny <vtrefny@redhat.com>
Date: Fri, 23 Aug 2019 09:47:32 +0200
Subject: [PATCH] Do not try to normalize size for zero size device factories
Factories with zero size are special cases for adjusting container
size after removing a device for it. We don't want to change size
of the factory in this case.
The recent change of filesystem minimal size to 2 MiB resulted
in changing of size of these factories from 0 to 2 MiB which
caused the "adjusting factory" to create a new LV after removing
one from the container.
Resolves: rhbz#1743753
---
blivet/devicefactory.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/blivet/devicefactory.py b/blivet/devicefactory.py
index e910c5bd..0eb548c7 100644
--- a/blivet/devicefactory.py
+++ b/blivet/devicefactory.py
@@ -462,6 +462,10 @@ def _get_free_disk_space(self):
def _normalize_size(self):
if self.size is None:
self._handle_no_size()
+ elif self.size == Size(0):
+ # zero size means we're adjusting the container after removing
+ # a device from it so we don't want to change the size here
+ return
size = self.size
fmt = get_format(self.fstype)

View File

@ -1,42 +1,28 @@
%define is_rhel 0%{?rhel} != 0
# python3 is not available on RHEL <=7
%if %{is_rhel} && 0%{?rhel} <= 7
# disable python3 by default
%bcond_with python3
%else
%bcond_without python3
%endif
# python2 is not available on RHEL > 7 and not needed on Fedora > 28
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
# disable python2 by default
%bcond_with python2
%else
%bcond_without python2
%endif
Summary: A python module for system storage configuration
Name: python-blivet
Url: https://storageapis.wordpress.com/projects/blivet
Version: 3.2.0
Version: 3.8.1
#%%global prerelease .b2
# prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
Release: 2%{?prerelease}%{?dist}
Release: 1%{?prerelease}%{?dist}
Epoch: 1
License: LGPLv2+
License: LGPL-2.1-or-later
%global realname blivet
%global realversion %{version}%{?prerelease}
Source0: http://github.com/storaged-project/blivet/archive/%{realname}-%{realversion}.tar.gz
Source1: http://github.com/storaged-project/blivet/archive/%{realname}-%{realversion}-tests.tar.gz
%if 0%{?rhel} >= 9
Patch0: 0001-remove-btrfs-plugin.patch
%endif
# Versions of required components (done so we make sure the buildrequires
# match the requires versions of things).
%global partedver 1.8.1
%global pypartedver 3.10.4
%global utillinuxver 2.15.1
%global libblockdevver 2.19
%global libblockdevver 3.0
%global libbytesizever 0.3
%global pyudevver 0.18
@ -49,6 +35,7 @@ storage configuration.
%package -n %{realname}-data
Summary: Data for the %{realname} python module.
BuildRequires: make
BuildRequires: systemd
Conflicts: python-blivet < 1:2.0.0
@ -58,7 +45,6 @@ Conflicts: python3-blivet < 1:2.0.0
The %{realname}-data package provides data files required by the %{realname}
python module.
%if %{with python3}
%package -n python3-%{realname}
Summary: A python3 package for examining and modifying storage configuration.
@ -78,16 +64,16 @@ Requires: python3-blockdev >= %{libblockdevver}
Recommends: libblockdev-btrfs >= %{libblockdevver}
Recommends: libblockdev-crypto >= %{libblockdevver}
Recommends: libblockdev-dm >= %{libblockdevver}
Recommends: libblockdev-fs >= %{libblockdevver}
Recommends: libblockdev-kbd >= %{libblockdevver}
Recommends: libblockdev-loop >= %{libblockdevver}
Recommends: libblockdev-lvm >= %{libblockdevver}
Recommends: libblockdev-mdraid >= %{libblockdevver}
Recommends: libblockdev-mpath >= %{libblockdevver}
Recommends: libblockdev-nvdimm >= %{libblockdevver}
Recommends: libblockdev-part >= %{libblockdevver}
Recommends: libblockdev-swap >= %{libblockdevver}
%ifarch s390 s390x
Recommends: libblockdev-s390 >= %{libblockdevver}
%endif
Requires: python3-bytesize >= %{libbytesizever}
Requires: util-linux >= %{utillinuxver}
Requires: lsof
@ -97,76 +83,19 @@ Requires: %{realname}-data = %{epoch}:%{version}-%{release}
Obsoletes: blivet-data < 1:2.0.0
%if %{without python2}
Obsoletes: python2-blivet < 1:2.0.2-2
Obsoletes: python-blivet < 1:2.0.2-2
%else
Obsoletes: python-blivet < 1:2.0.0
%endif
%description -n python3-%{realname}
The python3-%{realname} is a python3 package for examining and modifying storage
configuration.
%endif
%if %{with python2}
%package -n python2-%{realname}
Summary: A python2 package for examining and modifying storage configuration.
%{?python_provide:%python_provide python2-%{realname}}
BuildRequires: gettext
BuildRequires: python2-devel
BuildRequires: python2-setuptools
Requires: python2
Requires: python2-six
Requires: python2-pyudev >= %{pyudevver}
Requires: parted >= %{partedver}
Requires: python2-pyparted >= %{pypartedver}
Requires: python2-libselinux
Requires: python2-blockdev >= %{libblockdevver}
Recommends: libblockdev-btrfs >= %{libblockdevver}
Recommends: libblockdev-crypto >= %{libblockdevver}
Recommends: libblockdev-dm >= %{libblockdevver}
Recommends: libblockdev-fs >= %{libblockdevver}
Recommends: libblockdev-kbd >= %{libblockdevver}
Recommends: libblockdev-loop >= %{libblockdevver}
Recommends: libblockdev-lvm >= %{libblockdevver}
Recommends: libblockdev-mdraid >= %{libblockdevver}
Recommends: libblockdev-mpath >= %{libblockdevver}
Recommends: libblockdev-nvdimm >= %{libblockdevver}
Recommends: libblockdev-part >= %{libblockdevver}
Recommends: libblockdev-swap >= %{libblockdevver}
Recommends: libblockdev-s390 >= %{libblockdevver}
Requires: python2-bytesize >= %{libbytesizever}
Requires: util-linux >= %{utillinuxver}
Requires: lsof
Requires: python2-hawkey
Requires: %{realname}-data = %{epoch}:%{version}-%{release}
Requires: systemd-udev
Requires: python2-gobject-base
Obsoletes: blivet-data < 1:2.0.0
Obsoletes: python-blivet < 1:2.0.0
%description -n python2-%{realname}
The python2-%{realname} is a python2 package for examining and modifying storage
configuration.
%endif
%prep
%autosetup -n %{realname}-%{realversion} -N
%autosetup -n %{realname}-%{realversion} -b1 -p1
%build
%{?with_python2:make PYTHON=%{__python2}}
%{?with_python3:make PYTHON=%{__python3}}
make
%install
%{?with_python2:make PYTHON=%{__python2} DESTDIR=%{buildroot} install}
%{?with_python3:make PYTHON=%{__python3} DESTDIR=%{buildroot} install}
make DESTDIR=%{buildroot} install
%find_lang %{realname}
@ -176,21 +105,569 @@ configuration.
%{_libexecdir}/*
%{_unitdir}/*
%if %{with python2}
%files -n python2-%{realname}
%license COPYING
%doc README ChangeLog examples
%{python2_sitelib}/*
%endif
%if %{with python3}
%files -n python3-%{realname}
%license COPYING
%doc README ChangeLog examples
%doc README.md ChangeLog examples
%{python3_sitelib}/*
%endif
%changelog
* Thu Aug 03 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.8.1-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)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 1:3.8.0-2
- Rebuilt for Python 3.12
* Thu Jun 29 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.8.0-1
- Revert "Makefile cleanup" (blivet-ci)
- 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)
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1:3.7.1-5
- Rebuilt for Python 3.12
* Wed May 31 2023 Vojtech Trefny <@trefny@redhat.com> - 3.7.1-4
- Always prefer GPT disk labels on x86_64
* Tue May 23 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.7.1-3
- Add support for filesystem online resize
* Thu May 04 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.7.1-2
- Add support for specifying stripe size for RAID LVs
* Thu Mar 16 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.7.1-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)
* Wed Feb 08 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.7.0-1
- 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)
* Thu Feb 02 2023 Vojtech Trefny <vtrefny@redhat.com> - 3.6.1-3
- Use mdadm to support BIOS RAID devices (#2158574)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Nov 28 2022 Vojtech Trefny <vtrefny@redhat.com> - 3.6.1-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)
* Fri Nov 11 2022 Vojtech Trefny <vtrefny@redhat.com> - 3.6.0-2
- Change license string to the SPDX format required by Fedora
* Tue Sep 20 2022 Vojtech Trefny <vtrefny@redhat.com> - 3.6.0-1
- 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)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jul 19 2022 Vojtech Trefny <vtrefny@redhat.com> - 3.5.0-1
- 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)
* Mon Jun 20 2022 Vojtech Trefny <vtrefny@redhat.com> - 3.4.4-3
- Add support for NPIV-enabled zFCP devices
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1:3.4.4-2
- Rebuilt for Python 3.11
* Mon May 16 2022 Vojtech Trefny <vtrefny@redhat.com> - 3.4.4-1
- Use LVM PV format current_size in LVMVolumeGroupDevice._remove (vtrefny)
- Correctly set vg_name after adding/removing a PV from a VG (vtrefny)
- Do not crash when changing disklabel on disks with active devices (vtrefny)
- ActionDestroyDevice should not obsolete ActionRemoveMember (vtrefny)
- Correctly set compression and deduplication for existing VDO pools (vtrefny)
- Correctly cancel configure actions in cancel() (vtrefny)
- Set partition flags after setting parted filesystem (#2033875) (vtrefny)
* Tue Feb 15 2022 Jan Pokorny <japokorn@redhat.com> - 3.4.3-2
- Set partition flags after setting parted filesystem (#2033875) (vtrefny)
* Tue Feb 01 2022 Vojtech Trefny <vtrefny@redhat.com> - 3.4.3-1
- 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)
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.4.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Sep 30 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.4.2-1
- 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)
* Thu Aug 19 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.4.1-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)
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 21 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.4.0-4
- Revert "Use PARTITION_ESP flag for EFIFS partitions" (#1975375)
* Wed Jun 30 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.4.0-3
- Fix resolving devices with names that look like BIOS drive number (#1960798)
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1:3.4.0-2
- Rebuilt for Python 3.10
* Fri May 07 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.4.0-1
- 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)
* Mon Apr 12 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.3.3-2
- Avoid AttributeError for DiskLabel formats without disklabel type (#1945914)
* Thu Feb 18 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.3.3-1
- apply compression settings from blivet.flags.btrfs_compression (#1926892) (michel)
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.3.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 14 2021 Vojtech Trefny <vtrefny@redhat.com> - 3.3.2-1
- 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)
* Wed Nov 11 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.3.1-2
- Remove btrfs from requested libblockdev plugins on RHEL 9
* Tue Oct 20 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.3.1-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)
* Wed Sep 16 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.3.0-2
- Avoid using unnecessary udev.settle calls (#1876162)
* Thu Aug 20 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.3.0-1
- 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)
* Wed Jul 29 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.2.2-4
- set allowed disk labels for s390x as standard ones (msdos + gpt) plus dasd
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.2.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.2.2-2
- Rebuilt for Python 3.9
* Thu May 21 2020 Jan Pokorny <japokorn@redhat.com> - 3.2.2-1
- 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)
* Tue Apr 21 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.2.1-2
- Invalidate LVM caches in blivet device discovery loop (#1824418)
* Mon Apr 06 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.2.1-1
- Correctly recognize EFI format on an MD RAID device (#1695913) (vtrefny)
- Do not set empty name instead of invalid one in devicefactory (#1813710) (vtrefny)
- Fix crash for devices without ID_PATH udev property (#1814920) (vtrefny)
- Allow for reserved vg space and a growable thin pool. (#1783946) (dlehman)
- Fix name resolution for md member partitions. (#1798792) (dlehman)
* Wed Mar 11 2020 Vojtech Trefny <vtrefny@redhat.com> - 3.2.0-3
- Fix name resolution for md member partitions. (#1798792)
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1,2 +1,2 @@
SHA512 (blivet-3.2.0-tests.tar.gz) = 2c026d5f9ad54ce21773ee5ea594b1065987b903e395e80a0e2cc594991616346a76264e5dd9fa3de9ca04d01c42976a0c3cb7605372e262b7fa85831f4afb7a
SHA512 (blivet-3.2.0.tar.gz) = dca23909a646dc935bee5432cd66144aa2a56065766b0d032fbba3880e184adb00bcfb7cbec8fb9c501eb0836ffd6de02361633fe33bba558efec12145b422e7
SHA512 (blivet-3.8.1.tar.gz) = ada376aee554f953334008eb491a16f8577eebb811d284a185ce2efadad87f2fcf9cc0f76eefca85b5f36e70b18463e6d42910d90e2d35537b4405be85dbf18f
SHA512 (blivet-3.8.1-tests.tar.gz) = 5a13bcf00db17cb33f5c33419ab8fcdf89286462c8a8a0919cfa5c40180b28896a7e4191b122917f55b48dfa2ea23358cc6b6a69ad666ba0bbdae01d0e51014a

View File

@ -1 +0,0 @@
1

View File

@ -1,42 +0,0 @@
#!/usr/bin/python3
import argparse
import sys
import blivet
POOL_NAME = "blivet_test"
parser = argparse.ArgumentParser()
parser.add_argument('-d', '--disks', default='')
args = parser.parse_args()
b = blivet.Blivet()
b.reset()
disks = list()
for disk_id in args.disks.split(','):
disk = b.devicetree.resolve_device(disk_id)
if not disk.is_disk:
sys.stderr.write("specified disk '%s' is not a disk\n" % disk_id)
sys.exit(1)
disks.append(disk)
b.initialize_disk(disk)
if len(disks) > 1:
container_raid_level = "raid1"
total_size = min(d.size for d in disks)
else:
container_raid_level = None
total_size = sum(d.size for d in disks)
lv1 = b.factory_device(size=total_size*0.8, disks=disks,
name="lv1", container_name=POOL_NAME,
fstype='xfs', device_type=blivet.devicefactory.DEVICE_TYPE_LVM)
lv2 = b.factory_device(disks=disks, name="lv2",
container_name=POOL_NAME, container_raid_level='raid1',
fstype='ext4', device_type=blivet.devicefactory.DEVICE_TYPE_LVM)
b.do_it()

View File

@ -1,8 +0,0 @@
---
standard-inventory-qcow2:
qemu:
m: 1G
drive:
- size: 10737418240
- size: 10737418240

View File

@ -1,16 +0,0 @@
---
- hosts: all
roles:
- role: standard-test-basic
tags:
- classic
tests:
- list-devices-1:
dir: .
run: python3 /usr/share/doc/python3-blivet/examples/list_devices.py
- lvm-factory:
dir: .
run: python3 ./lvm_factory.py --disks=vda,vdb
- list-devices-2:
dir: .
run: python3 /usr/share/doc/python3-blivet/examples/list_devices.py