-
Story
-
Resolution: Duplicate
-
Undefined
-
None
-
rhel-9.2.0
-
None
-
rhel-storage-lvm
-
ssg_filesystems_storage_and_HA
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
Unspecified
-
None
-
57,005
Description of problem:
In RHEL 9 an LVM devices file gets created by Anaconda if the install includes an LVM storage configuration [1]. This is an RFE to make the creation of the devices file in `/etc/` always happen (at least for new installs) via RPM scriptlets instead.
Background:
RHCOS (basis of OpenShift) doesn't use Anaconda to perform an installation. It does use a tool (`coreos-installer`), but the tool mostly just does a dd of a prebuilt image to the disk (basic partition+filesystems, no LVM). The pre-built image does include the LVM RPMs, though.
We are currently encountering an issue [2] where Kubevirt guests (virtual machines) where the users choose to put LVM on attached block devices is conflicting with the host (both guest and host are interacting with the LVM devices). Here are a few details:
- Running pods (containers) that start VirtualMachines.
- These VirtualMachines can have block storage attached to them.
- Users can choose to create LVM PVs out of this block storage.
- Both the Host (RHCOS Running OpenShift) and Guest see LVM signatures on these devices.
- Need a way to tell the host to completely ignore the devices attached to the guest.
- lvmdevices is relatively new, but presents an option
- RHCOS can implement a workaround/fix for this for now
- but would like to not behave differently than RHEL in the long term
For RHCOS we are planning to implement a workaround for this where upgrading nodes have a script that gets run to create an LVM devices file (either empty or with any detected LVM devices from the host), but in the long run we'd like to not differ from RHEL here, which means have a solution to this problem in the RPMs I believe.
- external trackers