Bug 2247666 - [4.13] Host assisted clone hangs because some provisioners don't allow mounting block PVC read only
Summary: [4.13] Host assisted clone hangs because some provisioners don't allow mounti...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Storage
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.13.6
Assignee: Alex Kalenyuk
QA Contact: dalia
URL:
Whiteboard:
Depends On: 2247657 2247667
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-02 16:07 UTC by Adam Litke
Modified: 2023-11-28 13:45 UTC (History)
3 users (show)

Fixed In Version: CNV v4.13.6.rhel9-31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2247657
Environment:
Last Closed: 2023-11-28 13:45:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt containerized-data-importer pull 2959 0 None Merged [release-v1.56] Mount block PVC rw in clone source pods 2023-11-19 19:15:20 UTC
Red Hat Issue Tracker CNV-34788 0 None None None 2023-11-02 16:09:56 UTC
Red Hat Product Errata RHSA-2023:7522 0 None None None 2023-11-28 13:45:49 UTC

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


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