This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2102569 - [RFE] Please, add the mount option `-o context=XYZ` in the CSI drivers to speed up SELinux relabelling [NEEDINFO]
Summary: [RFE] Please, add the mount option `-o context=XYZ` in the CSI drivers to spe...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: csi-driver
Version: 4.10
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: krishnaram Karthick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-30 08:51 UTC by nravinas
Modified: 2023-08-09 16:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-19 08:14:17 UTC
Embargoed:
muagarwa: needinfo? (mhackett)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-csi issues 757 0 None open Honor mount options in NodeStage RPC as well 2023-03-30 07:49:31 UTC
Github red-hat-storage ocs-ci pull 7511 0 None Merged Selinux-relabel solution 2023-08-04 06:01:27 UTC
Red Hat Issue Tracker   RHSTOR-4507 0 None None None 2023-08-04 06:01:26 UTC
Red Hat Issue Tracker STOR-438 0 None None None 2022-06-30 13:02:53 UTC

Description nravinas 2022-06-30 08:51:16 UTC
Description of problem (please be detailed as possible and provide log
snippests):

Please, add the mount option `-o context=XYZ` in the CSI drivers to speed up SELinux relabelling.

Comment 7 Jan Safranek 2022-06-30 09:52:08 UTC
This is the epic: https://issues.redhat.com/browse/STOR-438

In theory, it should not require any changes in CSI drivers.

Comment 8 Niels de Vos 2022-06-30 13:02:54 UTC
(In reply to Jan Safranek from comment #7)
> This is the epic: https://issues.redhat.com/browse/STOR-438
> 
> In theory, it should not require any changes in CSI drivers.

Thanks!

Marking this as a tracker for the OCP Storage epic. Ideally no changes to Ceph-CSI are needed, possibly only a new option in the CSIDriver config.

Comment 27 Niels de Vos 2023-03-30 07:55:50 UTC
There does seem to be an issue with Ceph-CSI where it does not pass the mount options from Kubelet. This is a bug that needs to be addressed, removing the tracking-only annotations.

- https://github.com/ceph/ceph-csi/issues/757

Comment 29 Niels de Vos 2023-06-19 08:14:17 UTC
The work on this feature is tracked at https://issues.redhat.com/browse/RHSTOR-4507, please us that for the latest updates.


Note You need to log in before you can comment on or make changes to this bug.