Bug 2115121

Summary: [DDF] The volume handle for the target PV that we create in openshift-storage needs to have a different handle than the
Product: [Red Hat Storage] Red Hat OpenShift Data Foundation Reporter: Direct Docs Feedback <ddf-bot>
Component: documentationAssignee: Agil Antony <agantony>
Status: CLOSED CURRENTRELEASE QA Contact: Erin Donnelly <edonnell>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10CC: agantony, kbg, ocs-bugs, odf-bz-bot, pbyregow
Target Milestone: ---Keywords: NoDocsQEReview, ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-08 14:51:41 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:

Description Direct Docs Feedback 2022-08-03 21:51:18 UTC
The volume handle for the target PV that we create in openshift-storage needs to have a different handle than the original application PV, we could just add "-legacy" at the end of the handle for example.

If both PVs have the same handle you get and error when you mount the nooba nsfs pod and the application pod on the same node. Mount Error " MountVolume.SetUp failed for volume "pvc-6eee3082-7d92-4b79-a861-cecc13878851" : rpc error: code = Internal desc = failed to bind-mount /var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-6eee3082-7d92-4b79-a861-cecc13878851/globalmount to /var/lib/kubelet/pods/4ff422da-60b5-4d0b-9234-658d4577133e/volumes/kubernetes.io~csi/pvc-6eee3082-7d92-4b79-a861-cecc13878851/mount: an error (exit status 32) occurred while running mount args: [-o bind,_netdev /var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-6eee3082-7d92-4b79-a861-cecc13878851/globalmount /var/lib/kubelet/pods/4ff422da-60b5-4d0b-9234-658d4577133e/volumes/kubernetes.io~csi/pvc-6eee3082-7d92-4b79-a861-cecc13878851/mount"

Reported by: dparkes

https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.10/html/managing_hybrid_and_multicloud_resources/managing-namespace-buckets_rhodf#annotations:5ea8dca5-a721-4502-9f64-1bfb076d6b3c