Commit Graph

132 Commits

Author SHA1 Message Date
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
Brian C. Lane
b26771c732 - Ignore _setFormat no-member pylint error on LVMSnapShotBase (bcl)
- Include python3-bugzilla when running tests (bcl)
- Cleanup wildcard import in misc_test.py (bcl)
- Make sure filter is a list in makebumpver (bcl)
- Don't warn on unused-argument in __div__ (bcl)
- Ignore pylint false positive assertRaisesRegex deprecation (bcl)
- Change log.warn to log.warning (bcl)
- Remove references to the interruptible-system-call check (dshea)
- Add tests for FS overhead methods (jkonecny)
2016-02-19 17:02:46 -08:00
Fedora Release Engineering
3b99bb31c2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 19:07:05 +00:00
Brian C. Lane
7cd74f2a25 - Add more class methods for better use of metadata (jkonecny)
- Remove pocketlint from BuildRequires (bcl)
2016-01-08 17:15:59 -08:00
Brian C. Lane
2c63ecf9ea - Do not catch CryptoError when decrypting LUKS format (#1280239) (vtrefny)
- Do not try to get LVM cache's size from stats for inactive LV (vpodzime)
- Ignore unused memo_dict arguments in __deepcopy__ methods. (clumens)
- Do not create a copy of singleton objects (vpodzime)
- Account for LVM metadata in the LVMFactory (vpodzime)
- Rename size->space in LVMFactory._get_total_space (vpodzime)
- Put the LVM metadata size calculation into a separate property (vpodzime)
- Merge pull request #267 from atodorov/fix_1252703 (vpodzime)
- Update dmdev size when setting up disk images (atodorov)
2015-11-18 16:38:14 -08:00
Robert Kuska
add95db27d Rebuilt for Python3.5 rebuild
Also remove requires for python3-pocketlint
2015-11-05 10:27:13 +01:00
Brian C. Lane
ca6a9176e1 - Merge pull request #257 from vpodzime/master-singleton_decorator (vpodzime)
- Add pylint stuff to .gitignore (pjones)
- Minor cleanups in set_up_logging() (pjones)
- Make a logger for test data that we can automatically use later (pjones)
- edd: Fix one regexp so it matches against a real system /or/ test data.
  (pjones)
- Merge pull request #253 from dashea/libblockdev-python (vpodzime)
- Make the function adding the deprecation doc text more generic (vpodzime)
- Merge pull request #242 from dwlehman/resolveDevice-regex (dlehman)
- Fix an overly inclusive regex in DeviceTree.resolveDevice. (dlehman)
- Merge pull request #244 from atodorov/master (vpodzime)
- Require the python libblockdev packages (dshea)
- Merge pull request #243 from dwlehman/flexible-alignment (dlehman)
- Merge pull request #230 from vpodzime/master-lvm_debug (vpodzime)
- Add a 'debug' flag and use it for LVM debugging (vpodzime)
- Bypass util.run_program to avoid logging deadlock. (dlehman)
- Add an edd test data harvester. (pjones)
- Do not save None as passphrase for LUKS devices (#1269646) (vtrefny)
- edd: make logging work usefully during tests (pjones)
- edd: Get rid of biosdev_to_edd_dir(), it is pointless. (pjones)
- Make distutils.filelist.findall() do the right thing with symlinks maybe.
  (pjones)
- edd: Fix some minor 'make check' complaints. (pjones)
- edd: Make devicetree not use edd.edd_dict, instead use blivet's copy.
  (pjones)
- edd: Remove the "absurd_virt" test cases for now. (pjones)
- Add a udev settle call after instantiating parted.Disk. (#1267858) (dlehman)
- edd: Add missing directories for absurd_virt test case. (pjones)
- produce coverage-report.log and enable coverage in CI (atodorov)
- Use minimal alignment as needed when allocating small partitions. (dlehman)
- Add support for minimal alignment of very small partitions. (dlehman)
- Add an error class for alignment errors. (dlehman)
- Deprecate createSubVolumes method (vtrefny)
- Change btrfs.do_self_mount to contextmanager (#1266673) (vtrefny)
- edd: Remove a bunch of nonfunctional EDD tests. (pjones)
- edd: Add another set of test cases for our QEMU data. (pjones)
- edd: Add another set of test data. (pjones)
- edd: Add some working tests for EDD. (pjones)
- edd: Add a real EDD dataset captured from a system. (pjones)
- edd: Make our edd matcher able to use a fake sysfs root. (pjones)
- edd: Add EDD 4 code and some logging cleanups. (pjones)
- edd: Try to make EDD support actually match what the kernel does. (pjones)
- Always build python2 and python3 versions. (bcl)
- Switch to using rd.iscsi.initiator (#1268315) (bcl)
2015-10-28 18:23:08 -07:00
Brian C. Lane
4e8735583d - Fixed specfile so it will actually build. 2015-10-06 14:56:23 -07:00
Brian C. Lane
5f19b20a82 - Update Makefile to default to python3. (dlehman)
- Add test for extended partition minSize (vtrefny)
- Allow resizing of non-leaf partitions (vtrefny)
- Fix minSize for extended partitions (#1254875) (vtrefny)
- Fix calling non-existing method (#1252902) (jkonecny)
- Use the RAID classes to calculate btrfs sizes (#1264696) (dshea)
- Handle sysfs size if it is missing (#1265090) (bcl)
- Convert float to str for better precision in Size (jkonecny)
- Merge pull request #226 from dwlehman/lvactivate-lvmetad (dlehman)
- Wait for auto-activation of LVs when lvmetad is running. (#1261621) (dlehman)
- Add a function to tell us if the lvmetad socket exists. (dlehman)
- Don't teardown FSs when searching for installed systems (#1252902) (jkonecny)
- Merge pull request #218 from vpodzime/master-lvm_on_raid_improvements
  (vpodzime)
- Account for bigger LVM meta data due to alignment on MD RAID (vpodzime)
- Calculate the MD RAID superblock size from the right size (vpodzime)
- Don't be naïve about liblvm (vpodzime)
2015-10-02 17:32:45 -07:00
Brian C. Lane
0ef1b05936 - Make sure devices are torn down in findExistingInstallations (#1261439)
(vpodzime)
- Merge pull request #211 from dwlehman/multipath-member-metadata (dlehman)
- Merge pull request #212 from dwlehman/recursive-teardown (dlehman)
- Mount efivarfs during os installation (#1260799) (bcl)
- Use --whatprovides when querying for if all requirements are installed.
  (clumens)
- Add method for estimated size of formated device (#1224048) (jkonecny)
- Add support for mul,div,sub,add by float to Size (jkonecny)
- Merge pull request #220 from AdamWill/nodev-typo (vpodzime)
- fix typo in NoDevice: updateSize not udpateSize (awilliam)
- Duplicate VG names are problem even if their disks are ignored (#1198367)
  (vpodzime)
- Merge pull request #215 from vpodzime/master-lvm_on_raid (vpodzime)
- Do not reserve extra space for metadata in a VG with RAID PVs (vpodzime)
- Merge pull request #207 from vpodzime/master-lvm_pmspare (vpodzime)
- Fix currentSize for extended partitions (#1254899) (vtrefny)
- Catch problems with chassis vendor names (#1256072) (bcl)
- Don't teardown protected devices (jkonecny)
- Don't store UUIDs or labels of multipath members. (dlehman)
- Continue with recursive teardown beyond inactive devices. (dlehman)
- Reserve space for the 'pmspare' LV in a VG (vpodzime)
- Add a property to get cached LVs in a VG (vpodzime)
- Fix VG free space check when shrinking an LV (vpodzime)
- Add a property for Requests to reserve some extra space (vpodzime)
- Use Size instances for sizes in LVM cache's stats (vpodzime)
- Implement metadata size reporting for the LVM cache (vpodzime)
2015-09-11 17:56:48 -07:00
Brian C. Lane
c775463813 - Add CONTRIBUTING file to blivet. (sbueno+anaconda)
- Merge pull request #208 from vpodzime/master-luks_catch_exceptions (vpodzime)
- Fix the name of the variable specifying requested libblockdev plugins
  (#1256273) (jstodola)
- Merge pull request #209 from vpodzime/master-thinp_fix (vpodzime)
- Change labelFormatOK to classmethods (vtrefny)
- Add 'build' and '.directory' to gitignore (vtrefny)
- Fix copy method (#1254135) (bcl)
- Add OSError to list of errors in updateSysfsPath (#1252949) (bcl)
- Remove the cacheRequest kwarg for thin(pool) LVs (#1254567) (vpodzime)
- Do not propagate low-level blockdev.CryptoError when setting up LUKS
  (#1253925) (vpodzime)
- Merge pull request #199 from vpodzime/master-lvm_cache_tests (vpodzime)
- Merge pull request #201 from vpodzime/master-mountsCache_resolve_devspec
  (vpodzime)
- Prefer code consistency over pylint's complaints in tests (vpodzime)
- Add a basic test for cached LVMLogicalVolumeDevice's properties (vpodzime)
- Add a basic test for LVMLogicalVolumeDevice's properties (vpodzime)
- Make sure LV's properties reporting size return a Size instance (vpodzime)
- Add unit tests for the LVM cache support (vpodzime)
- Use device name from udev only if it's available (#1252052) (vpodzime)
- Add test for getFreeSpace aligning (vtrefny)
- Allow aligning free regions to disk grainSize (#1244671) (vtrefny)
- Fix _unalignedMaxPartSize for logical partitions (#1250890) (vtrefny)
2015-08-24 16:29:56 -07:00
Brian C. Lane
67e1790929 - Remove unusable free regions from list when setting up growth. (dlehman)
- Merge pull request #190 from vpodzime/master-lvm_cache_creation (dlehman)
- Merge pull request #194 from dwlehman/mount-cache-symlinks (dlehman)
- Merge pull request #193 from dwlehman/md-fwraid-detection (dlehman)
- Add unit tests to cover md containers. (dlehman)
- Minor cleanup of blivet.formats.fs.BTRFS._preSetup. (dlehman)
- Fix isDisk and partitionable properties for md fwraid. (dlehman)
- Don't use MD_DEVNAME as device name for md partitions. (dlehman)
- Use udev to find name of md members' container. (dlehman)
- Call superclass ctor a bit later to get size attrs set up first. (dlehman)
- updateSize for md containers is a no-op. (dlehman)
- Fix UnboundLocalError in FSMinSize (#1249304) (vtrefny)
- Fix mount cache resolution of devices with symlinks. (#1247803) (dlehman)
- Add kwarg to udev.resolve_devspec to return canonical device name. (dlehman)
- Use slow as well as fast PVs for cached LV's non-cache part (vpodzime)
- Make VG determination in Blivet.newLV() less cryptic (vpodzime)
- Reserve space for LVM cache(s) when growing LVM requests (vpodzime)
- Create cached LVs before non-cached LVs (vpodzime)
- Add support for LVM cache creation to LVM device classes (vpodzime)
- Add generic class for cache creation requests (vpodzime)
- Two minor fixes in LVMLogicalVolumeDevice's constructor's docstring
  (vpodzime)
2015-08-07 17:22:55 -07:00
Brian C. Lane
9031cbd599 - Put MDRaidArrayDevice.devices back, but mark it as deprecated. (dlehman)
- Skip tearing down devices when unmounting filesystems (bcl)
- Include details when umount fails (bcl)
- Merge pull request #183 from dwlehman/tests-20150728 (dlehman)
- Merge pull request #182 from dwlehman/devicefactory-20150728 (dlehman)
- Merge pull request #184 from dwlehman/misc-20150728 (dlehman)
- Enable unit test suite in jenkins. (dlehman)
- Disable image-backed unit tests temporarily. (dlehman)
- Add some tests for DeviceFactory. (dlehman)
- Do basic child accounting when replacing a parent. (dlehman)
- Set new raid level on correct device in MDFactory. (dlehman)
- Fix container member switching when toggling member encryption. (dlehman)
- Don't adjust actual lv size based on md metadata space requirements.
  (dlehman)
- Merge pull request #57 from vpodzime/master-luks_npass (vpodzime)
- Fix names of the keyword arguments for luks_add_key and luks_remove_key
  (vpodzime)
- Make a better effort to clean up loop devices on failure. (dlehman)
- Correctly get current size of disk files. (dlehman)
- Don't warn about missing UUIDs for non-existent containers. (dlehman)
- Only check disks for membership in a multipath. (dlehman)
- Only update md array name if MD_DEVNAME is set. (#1212073) (dlehman)
- Weed out unresolved macros in the check-requires target. (clumens)
- Merge pull request #126 from vpodzime/master-translations_subpackage
  (vpodzime)
- Put translations into a subpackage shared by Python 2 and 3 (vpodzime)
- Require pygobject3-base instead of pygobject (#1246842) (dshea)
- Add method to list primary partitions (vtrefny)
- Merge pull request #179 from dwlehman/size-followups (dlehman)
- Fix test for failure to find space for device. (dlehman)
- Make sure factory target size is within the limits of the fstype. (dlehman)
- Unset obsolete format before updating device size. (dlehman)
- Make sure size is numeric before comparing it with format minimum. (dlehman)
- Don't constrain thin lv sizes to vg free space. (dlehman)
2015-07-31 17:57:41 -07:00
Brian C. Lane
8910ff338c - Merge pull request #177 from AdamWill/1245446 (dlehman)
- use floor division in calculating amount to reclaim (#1245446) (awilliam)
- Remember to use the shell command when calling external stuff in Makefile.
  (clumens)
- Add a new makefile target that does everything needed for jenkins. (clumens)
- Add missing gobject introspection Requires (bcl)
- Add install-requires Makefile target (bcl)
- Update md and btrfs unit tests to run with recent size changes. (dlehman)
- Set format attr after super ctor for md. (dlehman)
- Account for container layer in md fwraid array properties. (dlehman)
- Ensure format is a DeviceFormat during initialization. (dlehman)
- Set target size when setting other size attrs. (dlehman)
- Use 'members' attribute to list RAID member devices. (dlehman)
- BTRFS subvolumes shouldn't inherit from RAIDDevice. (dlehman)
- Require a non-empty member set for md disks. (dlehman)
- Mock mount cache while running action tests. (dlehman)
- Account for recent lvm snapshot format changes in tests. (dlehman)
- Bump size of non-existent devices to format minimum. (dlehman)
- Don't pass createOptions along when creating the btrfs device. (clumens)
- Merge pull request #59 from vpodzime/master-tab_tab (vpodzime)
- Implement the __dir__ method of the LazyImportObject class (vpodzime)
2015-07-24 12:08:11 -07:00
Brian C. Lane
9cccf0b2fa - Apply default size for new partition earlier in constructor. (dlehman)
- Don't pass model to md fwraid constructor. (#1242610) (dlehman)
2015-07-16 16:23:28 -07:00
Brian C. Lane
88a6a099e5 - Add a bunch more gi.require_version calls (dshea)
- Merge pull request #170 from dwlehman/size-cleanups (dlehman)
- Add unit tests for device size setters and getters. (dlehman)
- Only return target size if it is set to something meaningful. (dlehman)
- Validate new formats against current device size. (dlehman)
- Device size checks do not apply to existing devices. (dlehman)
- Make sure subclasses size setters use the base setter as appropriate.
  (dlehman)
- x-initrd.mount should only be set for /var (#1238603) (bcl)
- There's a python3 anaconda now, so ditch the temporary false positives.
  (clumens)
- Fix a syntax error caused by my previous commit. (clumens)
- Fix a duplicate key caused by patch merging. (clumens)
- Add support for specifying arbitrary mkfs options. (clumens)
- Align free regions before choosing one. (dlehman)
- Align partition sizes earlier in the allocation process. (dlehman)
- Don't crash on cleanup with DASDs or iSCSI devices present. (#1166506)
  (dlehman)
- Make check-requires errors more readable. (dshea)
- Merge pull request #166 from dwlehman/autopart-snapshot-branch (dlehman)
- Default to a string when sorting mountpoints in FSSet.umountFilesystems.
  (dlehman)
- Fix order of arguments to blockdev.thsnapshotcreate. (dlehman)
- Snapshot format exists upon snapshot creation. (dlehman)
- Improve format handling for lvm snapshots. (dlehman)
- Merge pull request #160 from dwlehman/lookup-method-deprecations (dlehman)
- Deprecate some little-used devicetree lookup methods. (dlehman)
- Add a decorator to mark deprecated functions/methods. (dlehman)
- Log python warnings, including DeprecationWarning. (dlehman)
- Catch and relay more exception types from the iscsi process (dshea)
- Use the pipes as contextmanagers to ensure they are closed (dshea)
- Close the unused half of pipes after the fork (dshea)
2015-07-10 17:17:46 -07:00
Brian C. Lane
9aac2b547d - Merge pull request #167 from mulkieran/master-format-copy-b (mulkieran)
- Merge pull request #156 from vpodzime/master-lvm_cache_actually (vpodzime)
- Add cache support to the LVMLogicalVolumeDevice class (vpodzime)
- Copy all DeviceFormat objects using deepcopy. (amulhern)
- Make use of FSTask and FSUnimplementedTask in FS* tasks. (amulhern)
- Add an abstract parent of all filesystem tasks. (amulhern)
- Merge pull request #162 from dwlehman/storage-device-format-type-consistency
  (dlehman)
- Merge pull request #138 from dwlehman/partitionable-md (dlehman)
- Document the fact that StorageDevice.format is always a DeviceFormat.
  (dlehman)
- Ignore some interruptible system call warnings (dshea)
- Retry interruptible calls (dshea)
- Ignore EINTR from os.close instead of retrying the call (dshea)
- Add kwargs to eintr_retry_call (dshea)
- Specify required version of GI-imported packages (vpodzime)
- Add classes for LVM cache related functionality (vpodzime)
- Add generic classes for cache and cache stats (vpodzime)
- Merge pull request #149 from vpodzime/master-lvm_cache (vpodzime)
- Implement the support for resizing internal metadata LVs of thin pools
  (vpodzime)
- Use relations between LVs to determine parent LV (vpodzime)
- Make Blivet.lvs return all LVs not just traditional/thick LVs (vpodzime)
- Accept both list and ParentList when checking LVs parents (vpodzime)
- Create and use internal LVs instead of static values (vpodzime)
- Add classes for the internal LVs of various types (vpodzime)
- Merge pull request #137 from dwlehman/md-boot-metadata-branch (dlehman)
- Treat existing md arrays whose members are all disks like disks. (dlehman)
- Handle formatting after adding devices from format handlers. (dlehman)
- Merge pull request #158 from mulkieran/master-target-size (mulkieran)
- Move parents checking and update into a seprarate methods (vpodzime)
- Rearrange and group some of the StorageDevice's methods/properties (vpodzime)
- Don't crash when processing cached LVs (vpodzime)
- Make roundToNearest() slightly more robust. (amulhern)
- Extend Size.convertTo() to work with arbitrary Size() values. (amulhern)
- Changes to FS._setTargetSize(). (amulhern)
- Increase ext4 maximum size from 16 TiB to 1 EiB (#1231049) (bcl)
- Merge pull request #155 from atodorov/fix_issue_154 (mulkieran)
- Use len of set to check for duplicates in list of packages. (atodorov)
- Merge pull request #153 from mulkieran/master-task-names (mulkieran)
- Omit completely pointless setUp method. (amulhern)
- Make a size refer to a Size object. (amulhern)
- Add __str__ method to various subclasses of Task. (amulhern)
- Don't pass unused mountpoint dict to preCommitFixup. (dlehman)
- Use the default md metadata version for everything except /boot/efi.
  (dlehman)
2015-06-26 17:54:43 -07:00
Dennis Gilmore
ae31bacd5d - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 18:38:25 +00:00
Brian C. Lane
a06d8d58d9 - Fix indentation in action_test.py (dlehman)
- Merge pull request #133 from atodorov/fix_deprecation_warnings (mulkieran)
- Merge pull request #147 from vojtechtrefny/master_fix_undo_resize (vtrefny)
- Fix setting original size for format resize action. (#1225352) (vtrefny)
- Make unit test assertion expressions fully Python2/3 compatible. (atodorov)
- Merge pull request #151 from mulkieran/master-120 (mulkieran)
- Merge pull request #122 from atodorov/remove_doctest (mulkieran)
- Parameterize Makefile test targets on Python version. (atodorov)
- Merge pull request #148 from mulkieran/master-132 (mulkieran)
- Merge pull request #144 from mulkieran/master-128 (mulkieran)
- Remove facilities for running tests as standalone modules. (atodorov)
- Include automatic and manual test documentation. (atodorov)
- Remove an accidental variable assignment in LVMLogicalVolumeDevice (vpodzime)
- Merge pull request #143 from mulkieran/master-134 (mulkieran)
- Remove two files in tests directory. (atodorov)
- Fix typo in docstring. (atodorov)
- Merge pull request #112 from vpodzime/master-fixed_maps (vpodzime)
- Merge pull request #129 from mulkieran/master-keepers-c (mulkieran)
- Merge pull request #135 from mulkieran/master-test-fixes (mulkieran)
- Convert bytes value to str. (amulhern)
- Change new format lookup name from "msdos" to "disklabel". (amulhern)
- Get rid of pointless test case about arguments for labeling apps. (amulhern)
- Do not raise KeyError if ID_PART_ENTRY_DISK is missing. (amulhern)
- Manage backing store more independently in loop backed test cases. (amulhern)
- Pass floats as string to Decimal constructor everywhere. (amulhern)
- Fix a bug in reading a size specification with a radix in the numeric part.
  (amulhern)
- remove mention of doctest b/c target was removed in
  fed53d969af0eddaeeca58cdf3e40916497aa305 (atodorov)
- Beware of Python 3's version of the map() built-in function (vpodzime)
2015-06-10 16:52:16 -07:00
Brian C. Lane
a9a778d882 - Get rid of an unused import in blivet.zfcp (sbueno+anaconda)
- Make appropriate changes to adapt for s390 libblockdev plugin.
  (sbueno+anaconda)
- Drop check from the release build target (bcl)
- Merge pull request #127 from vpodzime/master-libblockdev_1.0 (vpodzime)
- Adapt to the new libblockdev initialization API (vpodzime)
- Merge pull request #111 from dwlehman/disk-model-branch (dlehman)
- Store vendor/model information for DiskDevice instances. (dlehman)
- Require new version of pyparted with Python 3 related fixes (vpodzime)
- Merge pull request #114 from vojtechtrefny/fix_lvmsnapshot_size2 (vtrefny)
- Merge pull request #118 from mulkieran/master-hawkey (mulkieran)
- Use python-hawkey instead of rpm-python. (amulhern)
- Add a dead simple test for some basic task and resource functionality.
  (amulhern)
- Use COW device to get actual size of LVM snapshots (vtrefny)
2015-05-28 11:39:49 -07:00