Bug 2066782

Summary: Attached disk keeps in loading status when add disk to a power off VM by non-privileged user
Product: OpenShift Container Platform Reporter: Yan Du <yadu>
Component: Console Kubevirt PluginAssignee: Aviv Turgeman <aturgema>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10CC: aturgema, cnv-qe-bugs, gouyang, tnisan, yzamir
Target Milestone: ---Flags: aturgema: needinfo-
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2088361 (view as bug list) Environment:
Last Closed: 2022-08-10 10:55:23 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:
Bug Depends On:    
Bug Blocks: 2066817, 2088281    

Description Yan Du 2022-03-22 13:34:52 UTC
Description of problem:
Attached disk keeps in loading status when add disk to a power off VM

Version-Release number of selected component (if applicable):
4.10.0

How reproducible:
Always

Steps to Reproduce:
1. Login as non-privileged user in UI
2. Create a PVC in Storage->PersistentVolumeClaims
3. Create a VM in Virtualization->Virtual Machines
4. Stop the VM
5. Add disk to the VM in VM page ->Disk->Add disk-> Use an existing disk -> choose the pvc created in step2 
6. Click Add button


Actual results:
Attached disk keeps in loading status when add disk to a power off VM, Size and storage class doesn't display correctly, please refer to the attachment

Expected results:
Attached disk's size and storage class display correctly and will not in loading status.

Additional info:

Comment 1 Yan Du 2022-03-22 13:36:05 UTC
Created attachment 1867498 [details]
disk in loading status

Comment 2 Guohua Ouyang 2022-03-23 09:49:52 UTC
Could reproduce the bug on 4.10 as well.

Comment 3 Adam Litke 2022-03-28 17:04:34 UTC
Hi Tal,

It seems we have some issues with the UI when an unprivileged user attempts some storage operations.

Comment 5 Guohua Ouyang 2022-05-11 09:31:04 UTC
move to cnv-ux for a look.

Comment 6 Yaacov Zamir 2022-05-19 05:32:46 UTC
Aviv hi,
I see you already fixed it :-)

NOTE:
We only fix bugs for static plugin after they where reviewed and QE/Dev agreed they are critical for 4.10
If we agree they are critical, Tal will assign them to someone.

Tal, hi assiging to Aviv because he already fixed it

Comment 8 errata-xmlrpc 2022-08-10 10:55:23 UTC
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 (Important: OpenShift Container Platform 4.11.0 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.

https://access.redhat.com/errata/RHSA-2022:5069

Comment 9 Red Hat Bugzilla 2023-09-15 01:53:07 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days