Description of problem:
VM import from VMware/VM, without specifying the target storage class.
import wizard, storage tab displays the target storage class name: "-".
It should display the name of the default storage class.
Version-Release number of selected component (if applicable):
Corner case: If there is more than one default storage class, the VM import should be blocked.
This bug was reported during the "Migration to Openshift Virtualization Test day" on Oct 20 2020.
Tested on Openshift 4.7.0-fc.0
Issue is still not fixed.
Please see "screenshot" attached.
Created attachment 1742260 [details]
Can you make sure that:
1) The user has permissions to 'list' the StorageClassModel.
2) At least one Storage Class has the annotation 'storageclass.kubernetes.io/is-default-class': true
Apparently the fix was included yet on my environment. I'll verify it again on a newly deployed environment.
Verified on 4.7.0-fc.1
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 Container Platform 4.7.0 security, bug fix, and enhancement 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.