Bug 1962484 - [RHEL7][RBD][4.7.z clone] FailedMount error when using restored PVC on app pod
Summary: [RHEL7][RBD][4.7.z clone] FailedMount error when using restored PVC on app pod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Container Storage
Classification: Red Hat Storage
Component: csi-driver
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 4.7.1
Assignee: Rakshith
QA Contact: Jilju Joy
URL:
Whiteboard:
Depends On: 1956232
Blocks: 1962483
TreeView+ depends on / blocked
 
Reported: 2021-05-20 07:50 UTC by Mudit Agarwal
Modified: 2021-06-15 16:50 UTC (History)
11 users (show)

Fixed In Version: 4.7.1-403.ci
Doc Type: Bug Fix
Doc Text:
Previously, a newly restored PVC could not mount if some of the OCP nodes were running on a Red Hat Enterprise Linux version less than 8.2. Additionally, the snapshot from which it was restored is also deleted. With this update, before mounting the Red Hat Enterprise Linux nodes version less than 8.2 kernels the CephCSI flattens the RBD image if the parent RBD image is not present in the pool.
Clone Of: 1956232
Environment:
Last Closed: 2021-06-15 16:50:37 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ceph-csi pull 47 0 None closed BUG 1962483: Fix image flattening when snapshot and parent PVC is deleted 2021-06-01 13:58:54 UTC
Red Hat Product Errata RHBA-2021:2449 0 None None None 2021-06-15 16:50:53 UTC

Comment 7 Jilju Joy 2021-05-31 18:27:53 UTC
Verified by 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 and parent PVC before attaching the restored RBD PVC to the pod.

Test case logs : http://magna002.ceph.redhat.com/ocsci-jenkins/openshift-clusters/jijoy-may31/jijoy-may31_20210531T142523/logs/ocs-ci-logs-1622479448/tests/manage/pv_services/pvc_snapshot/test_snapshot_at_different_pvc_utlilization_level.py/TestSnapshotAtDifferentPvcUsageLevel/test_snapshot_at_different_usage_level/logs

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

Verified in version:
OCS operator	v4.7.1-403.ci
Cluster Version	4.7.0-0.nightly-2021-05-29-015423
Ceph Version	14.2.11-147.el8cp (1f54d52f20d93c1b91f1ec6af4c67a4b81402800) nautilus (stable)

Comment 14 errata-xmlrpc 2021-06-15 16:50:37 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 (Red Hat OpenShift Container Storage 4.7.1 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/RHBA-2021:2449


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