Description of problem:
Add source dialog box terminated silently when no storage class exists.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install a 4.7 cluster using the assisted installer flow (no storage class is created by default).
2. Deploy Openshift Virtualization 2.6 and create an instance.
3. Go to Virtualization -> Template, and press on add source of one of the templates.
A new dialog opened for 2 seconds and then get closed without any errors.
The add source should be grayed out when no storage class is defined, or a proper message should inform the user about this.
From looking on the requests, it can be seen that the dialog is closed right after the ListStoragePool retr returns an empty list.
It also looks related (or even the same issue) like this https://bugzilla.redhat.com/show_bug.cgi?id=1930064
Could you help verify this bug or share a cluster to me to verify it?
I am currently don't have a cluster with 4.8. This bug however should be very easy to reproduce on any cluster without a defined storage class, as described in the steps above.
If still relevant, I can try to install a 4.8 cluster next week and verify it.
(In reply to Chen Yosef from comment #3)
> Hi Guohua,
> I am currently don't have a cluster with 4.8. This bug however should be
> very easy to reproduce on any cluster without a defined storage class, as
> described in the steps above.
> If still relevant, I can try to install a 4.8 cluster next week and verify
It's easy to verify the bug, the problem is that QE's environment always has storageClass defined which is not removable.
If you have a chance, please help verify the bug.
I'll also try to get a cluster without storageClass to verify the bug.
I installed a 4.8 cluster with CNV 2.6.2. When trying to add source to template without defined storage class, the UI blocks me from doing so with a clear message on the missing storage class.
Moving to verified.
(In reply to Chen Yosef from comment #5)
> Hi Guohua,
> I installed a 4.8 cluster with CNV 2.6.2. When trying to add source to
> template without defined storage class, the UI blocks me from doing so with
> a clear message on the missing storage class.
> Moving to verified.
Thank you very much!
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.8.2 bug fix and security 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.