Bug 2158521
| Summary: | LVMS "topolvm.io" storageProfile is missing accessModes and volumeMode | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | Jenia Peimer <jpeimer> |
| Component: | Storage | Assignee: | Jenia Peimer <jpeimer> |
| Status: | CLOSED ERRATA | QA Contact: | Harel Meir <hmeir> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.12.0 | CC: | alitke, apinnick, yadu |
| Target Milestone: | --- | ||
| Target Release: | 4.12.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | CNV v4.12.1-8 | Doc Type: | Known Issue |
| Doc Text: |
* The `TopoLVM` provisioner name string has changed in {VirtProductName} 4.12. As a result, the automatic import of operating system images might fail with the following error message: `DataVolume.storage spec is missing accessMode and volumeMode, cannot get access mode from StorageProfile`.
** As a workaround, update the `claimPropertySets` array of the storage profile:
. Patch the `storageProfile` object as in the following example:
+
----
$ oc patch storageprofile <storage_profile> --type=merge -p '{"spec": {"claimPropertySets": [{"accessModes": ["ReadWriteOnce"], "volumeMode": "Block"}, {"accessModes": ["ReadWriteOnce"], "volumeMode": "Filesystem"}]}}'
----
. Delete the affected data volumes in the `openshift-virtualization-os-images` namespace. They will be recreated with the access mode and volume mode from the updated storage profile.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-02-28 20:06:27 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
Jenia Peimer
2023-01-05 16:03:21 UTC
Verified(output check and vm creation) 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 (OpenShift Virtualization 4.12.1 Images), 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-2023:1023 |