Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
cbaefbbfbb | ||
|
c9de56f7a2 | ||
|
6413ea1e41 | ||
|
85fca544d4 |
4
.gitignore
vendored
4
.gitignore
vendored
@ -121,3 +121,7 @@
|
|||||||
/blivet-3.1.6-tests.tar.gz
|
/blivet-3.1.6-tests.tar.gz
|
||||||
/blivet-3.2.0-tests.tar.gz
|
/blivet-3.2.0-tests.tar.gz
|
||||||
/blivet-3.2.0.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
|
||||||
|
22
0001-Fix-name-resolution-for-md-member-partitions.patch
Normal file
22
0001-Fix-name-resolution-for-md-member-partitions.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From 97cdeb7ba3db01bcd510b35a44b21549703fe545 Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Lehman <dlehman@redhat.com>
|
||||||
|
Date: Tue, 30 Apr 2019 12:49:39 -0400
|
||||||
|
Subject: [PATCH] Fix name resolution for md member partitions. (#1798792)
|
||||||
|
|
||||||
|
---
|
||||||
|
blivet/udev.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/blivet/udev.py b/blivet/udev.py
|
||||||
|
index 5063e733..7ebdbcb9 100644
|
||||||
|
--- a/blivet/udev.py
|
||||||
|
+++ b/blivet/udev.py
|
||||||
|
@@ -202,7 +202,7 @@ def device_get_name(udev_info):
|
||||||
|
""" Return the best name for a device based on the udev db data. """
|
||||||
|
if "DM_NAME" in udev_info:
|
||||||
|
name = udev_info["DM_NAME"]
|
||||||
|
- elif "MD_DEVNAME" in udev_info:
|
||||||
|
+ elif "MD_DEVNAME" in udev_info and os.path.exists(device_get_sysfs_path(udev_info) + "/md"):
|
||||||
|
mdname = udev_info["MD_DEVNAME"]
|
||||||
|
if device_is_partition(udev_info):
|
||||||
|
# for partitions on named RAID we want to use the raid name, not
|
@ -0,0 +1,41 @@
|
|||||||
|
From 394ff40554ab8b3ce9ff0aa5af0c8c2ead6522a3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Adam Williamson <awilliam@redhat.com>
|
||||||
|
Date: Mon, 20 Apr 2020 11:01:10 -0700
|
||||||
|
Subject: [PATCH] Invalidate LVM caches in blivet device discovery loop
|
||||||
|
(#1824418)
|
||||||
|
|
||||||
|
This should work around a problem where we sometimes fail to
|
||||||
|
correctly evaluate existing logical volumes, though it is not a
|
||||||
|
correct fix for the underlying problem (which we haven't exactly
|
||||||
|
identified yet) but a workaround for Fedora 32 release.
|
||||||
|
|
||||||
|
Signed-off-by: Adam Williamson <awilliam@redhat.com>
|
||||||
|
---
|
||||||
|
blivet/populator/populator.py | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/blivet/populator/populator.py b/blivet/populator/populator.py
|
||||||
|
index 465c272d..3e1d16f3 100644
|
||||||
|
--- a/blivet/populator/populator.py
|
||||||
|
+++ b/blivet/populator/populator.py
|
||||||
|
@@ -24,6 +24,7 @@ import os
|
||||||
|
import pprint
|
||||||
|
import copy
|
||||||
|
import parted
|
||||||
|
+import time
|
||||||
|
from six import add_metaclass
|
||||||
|
|
||||||
|
import gi
|
||||||
|
@@ -454,6 +455,9 @@ class PopulatorMixin(object):
|
||||||
|
callbacks.populate_started(n_devices=n_devices)
|
||||||
|
report = False
|
||||||
|
|
||||||
|
+ time.sleep(2)
|
||||||
|
+ self.drop_lvm_cache()
|
||||||
|
+ mpath_members.drop_cache()
|
||||||
|
log.info("devices to scan: %s", [udev.device_get_name(d) for d in devices])
|
||||||
|
for dev in devices:
|
||||||
|
self.handle_device(dev)
|
||||||
|
--
|
||||||
|
2.26.1
|
||||||
|
|
@ -19,11 +19,11 @@
|
|||||||
Summary: A python module for system storage configuration
|
Summary: A python module for system storage configuration
|
||||||
Name: python-blivet
|
Name: python-blivet
|
||||||
Url: https://storageapis.wordpress.com/projects/blivet
|
Url: https://storageapis.wordpress.com/projects/blivet
|
||||||
Version: 3.2.0
|
Version: 3.2.2
|
||||||
|
|
||||||
#%%global prerelease .b2
|
#%%global prerelease .b2
|
||||||
# prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
|
# prerelease, if defined, should be something like .a1, .b1, .b2.dev1, or .c2
|
||||||
Release: 2%{?prerelease}%{?dist}
|
Release: 1%{?prerelease}%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
%global realname blivet
|
%global realname blivet
|
||||||
@ -191,6 +191,32 @@ configuration.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (blivet-3.2.0-tests.tar.gz) = 2c026d5f9ad54ce21773ee5ea594b1065987b903e395e80a0e2cc594991616346a76264e5dd9fa3de9ca04d01c42976a0c3cb7605372e262b7fa85831f4afb7a
|
SHA512 (blivet-3.2.2.tar.gz) = 6eebec62dae55c888156ce4de3285cc23a7fd6f41e8c2e7a951c172d35aa4e7a1450586f21173186db4eaa7876e42da9608e304f11496fd21b6ba64e15118a3e
|
||||||
SHA512 (blivet-3.2.0.tar.gz) = dca23909a646dc935bee5432cd66144aa2a56065766b0d032fbba3880e184adb00bcfb7cbec8fb9c501eb0836ffd6de02361633fe33bba558efec12145b422e7
|
SHA512 (blivet-3.2.2-tests.tar.gz) = 1c8e43139e17eff5e944718ffb3b5235492352e2f5c421b56dfdcce29f29c1aeef0fbfc13d54962198617de308c60e7e894d0954b66ffef8da3e5f8a969ac6c7
|
||||||
|
Loading…
Reference in New Issue
Block a user