Bug 1917908
| Summary: | [VMIO] vmimport pod fail to create when using ceph-rbd/block | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Amos Mastbaum <amastbau> |
| Component: | V2V | Assignee: | Sam Lucidi <slucidi> |
| Status: | CLOSED ERRATA | QA Contact: | Daniel Gur <dagur> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 2.6.0 | CC: | cnv-qe-bugs, fdupont, istein |
| Target Milestone: | --- | Keywords: | TestBlocker |
| Target Release: | 2.6.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: | 2021-03-10 11:23:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Amos Mastbaum
2021-01-19 16:35:30 UTC
The vmimport pod: http://pastebin.test.redhat.com/932545 if i understand correctly, block pvc should got under volumeDevices, and not volumeMounts The vmimport pod events are quite clear: Unable to attach or mount volumes: unmounted volumes=[4203f1a6-76ce-d255-3c79-35a333df8f3c-2000], unattached volumes=[4203f1a6-76ce-d255-3c79-35a333df8f3c-2000 libvirt-domain-xml default-token-rdjr9]: volume 4203f1a6-76ce-d255-3c79-35a333df8f3c-2000 has volumeMode Block, but is specified in volumeMounts And indeed the MakeGuestConversionJobSpec method [1] only uses volumeMounts, even though the volumes are in Block mode. [1] https://github.com/kubevirt/vm-import-operator/blob/6b83b8a1dd37f1f88b8a3aaa6a68cfd9eb3f105b/pkg/guestconversion/guestconversion.go#L24 This downstream images are part of hco-bundle-registry-container-v2.6.0-520 and onward. Moving to ON_QA. Verified on hco-bundle-registry-container-v2.6.0-520. VM import from VMware via api of a RHEL7 VM to target Ceph-RBD/Block ended successfully and VM was started OK. (Tested with "default" namespace). 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 2.6.0 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:0799 |