Bug 2247666

Summary: [4.13] Host assisted clone hangs because some provisioners don't allow mounting block PVC read only
Product: Container Native Virtualization (CNV) Reporter: Adam Litke <alitke>
Component: StorageAssignee: Alex Kalenyuk <akalenyu>
Status: CLOSED ERRATA QA Contact: dalia <dafrank>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.13.0CC: akalenyu, dafrank, ngavrilo
Target Milestone: ---   
Target Release: 4.13.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: CNV v4.13.6.rhel9-31 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2247657 Environment:
Last Closed: 2023-11-28 13:45:20 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: 2247657, 2247667    
Bug Blocks:    

Comment 1 dalia 2023-11-23 16:06:18 UTC
verified on cnv 4.13.6.

Steps:
1. update storage profile to use  host assisted clone in case needed:
   spec:
     cloneStrategy: copy
2. create source pvc with block volume mode and RWO
3. clone the source PVC
4. oc get *-sourc-pod -oyaml:
     ...
  volumes:
  - name: cdi-data-vol
    persistentVolumeClaim:
      claimName: source-dv

can see that we don't have readOnly: true

Comment 7 errata-xmlrpc 2023-11-28 13:45:20 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 (Important: OpenShift Virtualization 4.13.6 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-2023:7522