Bug 1449293

Summary: Block storage volume list configuration button attach/detach/delete actions are not working
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: UI - OPSAssignee: Aparna Karve <akarve>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: akarve, cpelland, dajohnso, gregor.berginc, hkataria, jhardy, mmojzis, mpovolny, obarenbo
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:cloud:storage:volume
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1459190 (view as bug list) Environment:
Last Closed: 2018-03-06 15:16:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: AWS Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1459190    

Description Matouš Mojžíš 2017-05-09 14:28:51 UTC
Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Have an ec2 provider
2. Go to Storage -> Block Storage -> Managers
3. Go to summary of a manager
4. Select Block volumes
5. Check a block volume and use configuration actions

Actual results:
Attach/detach/delele actions do nothing. When selecting delete action it asks for confirmation, but volume or volumes are not deleted.

Expected results:


Additional info:

Comment 2 Gregor Berginc 2017-05-09 18:58:17 UTC
Matouš, may I ask you for the exact URl you tried where none of the operations worked?

You mentione in step 4 that you select block volumes (two or more), but as soon as I select more than one, all but the "delete" operation are disabled. It's true that "delete" does not work, but others (when only one is selected) do for me.

Thus, can you let me know if attach/detach work for you? Please ensure, the data are refreshed after attach/detach operation.

I'll look into delete in the meantime.

Comment 3 Aparna Karve 2017-05-09 19:21:44 UTC
Matouš, you mentioned that Attach/detach/delele actions do nothing, but that does not seem to be the case. 

At least for the Attach and Detach actions, I do see the form load.
Can you please confirm that?

Thanks,
Aparna

Comment 4 Gregor Berginc 2017-05-10 19:47:27 UTC
I've opened an issue in manageiq-ui-classic repo because I am not sure what would be the proper approach.

Comment 7 Matouš Mojžíš 2017-05-11 12:10:40 UTC
As Gregor can't see private comments so I am going to copy private comment without IP address and will send it to you via email.

I tried attach and detach single volume of course and it didn't work.
This BZ is not AWS specific issue then. Same thing happens with Openstack.

Comment 8 Gregor Berginc 2017-05-11 12:29:42 UTC
Here are two videos showing what works for me:

o attach: http://x.k00.fr/jxbl3
o detach: http://x.k00.fr/n64hx

Before detaching I manually refreshed the provider because I don't have automatic refresh configured.

Can you check them and let me know what you did differently?

Comment 9 Matouš Mojžíš 2017-05-11 12:47:37 UTC
So we had BlueJeans session with Gregor and it looks like these actions works on upstream.
It doesn't work on downstream 5.8/5.7.

Comment 10 Gregor Berginc 2017-05-11 16:07:20 UTC
Thanks Matous for the bluejeans. I think we found the problem. Some of the volume related PRs were not backported. Now I've seen a question from Martin (https://github.com/ManageIQ/manageiq-ui-classic/pull/746#issuecomment-291155430), but I did not know how to answer.

With respect to the delete action, I've created a PR that should resolve that: https://github.com/ManageIQ/manageiq-ui-classic/pull/1331.

Comment 12 Matouš Mojžíš 2017-12-15 12:13:22 UTC
Verified in 5.9.0.13. Block volume actions triggered from block storage manager -> volumes list are working.