Bug 1982269
Summary: | [4.8.1] Cloning DataVolumes between namespaces fails while creating cdi-upload pod | ||
---|---|---|---|
Product: | Container Native Virtualization (CNV) | Reporter: | Adam Litke <alitke> |
Component: | Storage | Assignee: | Alexander Wels <awels> |
Status: | CLOSED ERRATA | QA Contact: | Kevin Alon Goldblatt <kgoldbla> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.8.0 | CC: | alitke, awels, cnv-qe-bugs, kgershon, kgoldbla, nashok, yadu |
Target Milestone: | --- | ||
Target Release: | 4.8.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | v4.8.1-12 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1967086 | Environment: | |
Last Closed: | 2021-08-24 12:49:09 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: | 1967086 | ||
Bug Blocks: |
Comment 1
Adam Litke
2021-07-14 15:12:48 UTC
Verified with the following code: ------------------------------------ oc version Client Version: 4.8.0-202106281541.p0.git.1077b05.assembly.stream-1077b05 Server Version: 4.8.0 Kubernetes Version: v1.21.1+f36aa36 [cnv-qe-jenkins@alex48-451-xzjsk-executor ~]$ oc get csv -n openshift-cnv NAME DISPLAY VERSION REPLACES PHASE kubevirt-hyperconverged-operator.v4.8.1 OpenShift Virtualization 4.8.1 kubevirt-hyperconverged-operator.v4.8.0 Succeeded Verified with the following scenario: --------------------------------------- 1. Created ns source-ns and target-ns 2. Created a limitrange in source-ns apiVersion: v1 kind: LimitRange metadata: creationTimestamp: "2021-08-19T07:20:06Z" name: cpu-limit-range namespace: source-ns resourceVersion: "53908165" uid: f3638eb4-b78b-4cf3-aaa8-ef9ecd643cf5 spec: limits: - defaultRequest: cpu: 1m type: Container 3. Created a dv in source-ns apiVersion: cdi.kubevirt.io/v1alpha1 kind: DataVolume metadata: name: source-fedora namespace: source-ns spec: source: #namespace: source-ns http: url: "http://cnv-qe-server.rhevdev.lab.eng.rdu2.redhat.com/files/cnv-tests/fedora-images/Fedora-Cloud-Base-33-1.2.x86_64.qcow2" pvc: storageClassName: ocs-storagecluster-ceph-rbd accessModes: - ReadWriteOnce resources: requests: storage: 5Gi oc get dv -A NAMESPACE NAME PHASE PROGRESS RESTARTS AGE source-ns source-fedora Succeeded 100.0% 171m 4. Created a dv clone target-fedora of source dv source-fedora apiVersion: cdi.kubevirt.io/v1alpha1 kind: DataVolume metadata: name: target-fedora namespace: target-ns spec: pvc: storageClassName: ocs-storagecluster-ceph-rbd accessModes: - ReadWriteOnce resources: requests: storage: 5Gi source: pvc: name: source-fedora namespace: source-ns oc get dv -A -w NAMESPACE NAME PHASE PROGRESS RESTARTS AGE source-ns source-fedora Succeeded 100.0% 166m target-ns target-fedora CloneScheduled N/A 7s target-ns target-fedora CloneInProgress N/A 13s target-ns target-fedora CloneInProgress N/A 15s target-ns target-fedora CloneInProgress N/A 16s target-ns target-fedora CloneInProgress N/A 16s target-ns target-fedora CloneInProgress N/A 25s target-ns target-fedora CloneInProgress 0.92% 26s target-ns target-fedora CloneInProgress 0.92% 27s target-ns target-fedora CloneInProgress 1.60% 27s . . . target-ns target-fedora CloneInProgress 43.14% 111s target-ns target-fedora Succeeded 100.0% 2m22s oc get dv -A NAMESPACE NAME PHASE PROGRESS RESTARTS AGE source-ns source-fedora Succeeded 100.0% 171m target-ns target-fedora Succeeded 100.0% 4m20s Moving to verified! 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 (Moderate: OpenShift Virtualization 4.8.1 Images 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-2021:3259 |