Bug 1962483

Summary: [RHEL7][RBD][4.6.z clone] FailedMount error when using restored PVC on app pod
Product: [Red Hat Storage] Red Hat OpenShift Container Storage Reporter: Mudit Agarwal <muagarwa>
Component: csi-driverAssignee: Rakshith <rar>
Status: CLOSED ERRATA QA Contact: Jilju Joy <jijoy>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: agantony, dwalveka, ebenahar, idryomov, jijoy, madam, mrajanna, muagarwa, ocs-bugs, owasserm, rar
Target Milestone: ---Keywords: Automation, ZStream
Target Release: OCS 4.6.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 4.6.5-411.ci Doc Type: Bug Fix
Doc Text:
Currently, a newly restored PVC can not be mounted if some of the OpenShift Container Platform nodes are running on a version of Red Hat Enterprise Linux which is less than 8.2, and the snapshot from which the PVC was restored is deleted. Workaround: Do not delete the snapshot from which the PVC was restored until the restored PVC is deleted.
Story Points: ---
Clone Of: 1956232 Environment:
Last Closed: 2021-06-17 15:46:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1956232, 1962484    
Bug Blocks: 1964865    

Comment 7 Jilju Joy 2021-05-27 09:53:03 UTC
Verified using the test case tests/manage/pv_services/pvc_snapshot/test_snapshot_at_different_pvc_utlilization_level.py::TestSnapshotAtDifferentPvcUsageLevel::test_snapshot_at_different_usage_level.
The test case deletes snapshot before attaching the restored RBD PVC to the pods.

Worker nodes kernel version is 3.10.0-1160.25.1.el7.x86_64

Verified in version:
OCS 4.6.5-411.ci
OCP 4.6.0-0.nightly-2021-05-27-000320
Ceph 14.2.11-147.el8cp (1f54d52f20d93c1b91f1ec6af4c67a4b81402800) nautilus (stable)
rook_csi_ceph	cephcsi@sha256:2fee74dd326bba49c6e1c029beeb973ba238e8bf17818d9561b2672dc69de004

Comment 8 Jilju Joy 2021-05-27 09:55:01 UTC
(In reply to Jilju Joy from comment #7)
> Verified using the test case
> tests/manage/pv_services/pvc_snapshot/
> test_snapshot_at_different_pvc_utlilization_level.py::
> TestSnapshotAtDifferentPvcUsageLevel::test_snapshot_at_different_usage_level.
Test case log - http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/jijoy-may27/jijoy-may27_20210527T045858/logs/ocs-ci-logs-1622100402/tests/manage/pv_services/pvc_snapshot/test_snapshot_at_different_pvc_utlilization_level.py/
> The test case deletes snapshot before attaching the restored RBD PVC to the
> pods.
> 
> Worker nodes kernel version is 3.10.0-1160.25.1.el7.x86_64
> 
> Verified in version:
> OCS 4.6.5-411.ci
> OCP 4.6.0-0.nightly-2021-05-27-000320
> Ceph 14.2.11-147.el8cp (1f54d52f20d93c1b91f1ec6af4c67a4b81402800) nautilus
> (stable)
> rook_csi_ceph
> cephcsi@sha256:
> 2fee74dd326bba49c6e1c029beeb973ba238e8bf17818d9561b2672dc69de004

Comment 18 errata-xmlrpc 2021-06-17 15:46:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat OpenShift Container Storage 4.6.5 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2479