Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1848785

Summary: [manila-csi-driver-operator] Cannot write data to volume when using deployment with RWX PVC.
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: StorageAssignee: Mike Fedosin <mfedosin>
Status: CLOSED ERRATA QA Contact: Wei Duan <wduan>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, gouthamr, hchiramm, hekumar, jsafrane, mfedosin, piqin, scuppett, tbarron
Target Milestone: ---Keywords: Reopened
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-15 10:17:52 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: 1837421    
Bug Blocks:    

Comment 4 Jan Safranek 2020-06-19 08:46:20 UTC
*** Bug 1848214 has been marked as a duplicate of this bug. ***

Comment 5 Wei Duan 2020-06-22 08:10:15 UTC
Verified pass.

[wduan@MINT manila]$ oc get clusterversion
NAME      VERSION      AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-rc.2   True        False         19h     Cluster version is 4.5.0-rc.2



[wduan@MINT manila]$ oc rsh dpod-6wmr5 
sh-4.4$ mount | grep nfs
172.16.32.1:/volumes/_nogroup/a27a8b70-de7f-4a72-bec1-5a7593c91749 on /mnt/storage type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.131.0.19,local_lock=none,addr=172.16.32.1)

sh-4.4$ whoami
1000590000

sh-4.4$ ls -l /mnt
total 1
drwxrwxrwx. 2 99 99 0 Jun 22 08:00 storage

sh-4.4$ cp /etc/hosts /mnt/storage 
sh-4.4$ touch /mnt/storage/test
sh-4.4$ ls /mnt/storage
hosts  test

Tested with deployment and daemonset:
[wduan@MINT manila]$ oc get all
NAME                              READY   STATUS    RESTARTS   AGE
pod/dpod-6wmr5                    1/1     Running   0          7m28s
pod/dpod-pxkst                    1/1     Running   0          7m28s
pod/dpod-x6fvm                    1/1     Running   0          7m27s
pod/mydeploy02-6f777c58c9-gfchh   1/1     Running   0          10m

NAME                  DESIRED   CURRENT   READY   UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
daemonset.apps/dpod   3         3         3       3            3           <none>          7m31s

NAME                         READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/mydeploy02   1/1     1            1           23m

NAME                                    DESIRED   CURRENT   READY   AGE
replicaset.apps/mydeploy02-6f777c58c9   1         1         1       23m
[wduan@MINT manila]$ oc get pvc
NAME          STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS      AGE
mydep-pvc02   Bound    pvc-ab85e46a-4552-47c0-a421-bf8226b3d357   3Gi        RWX            csi-manila-ceph   24m
mypvc-rwx     Bound    pvc-4f378cab-14ae-465b-bbc4-d0670f46f0e9   2Gi        RWX            csi-manila-ceph   8m22s
[wduan@MINT manila]$

Comment 7 errata-xmlrpc 2020-07-15 10:17:52 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, 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/RHEA-2020:2925