Bug 1389446 - [beta1] Openstack attach volume should only list available volumes in the drop down
Summary: [beta1] Openstack attach volume should only list available volumes in the dro...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.8.0
Assignee: Sam Lucidi
QA Contact: Omri Hochman
URL:
Whiteboard: openstack:volume
Depends On:
Blocks: 1413695
TreeView+ depends on / blocked
 
Reported: 2016-10-27 15:20 UTC by Kevin Morey
Modified: 2018-06-15 13:57 UTC (History)
12 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1413695 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:36:59 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (341.89 KB, image/png)
2016-10-27 15:20 UTC, Kevin Morey
no flags Details

Description Kevin Morey 2016-10-27 15:20:13 UTC
Created attachment 1214655 [details]
screenshot

Description of problem:
When trying to attach an Openstack volume using CF. The drop down list of available volumes should automatically exclude unavailable volumes. This will help customers avoid the pitfalls of accidentally selecting a volume that cannot be mounted.


Version-Release number of selected component (if applicable):
5.7.0.7-beta1.20161025153249_9376fbd 

How reproducible:
100%


Steps to Reproduce:
1. navigate to an openstack vm
2. click on attach volume


Actual results:
you are presented with a list of volumes (some of them are available and some of them are not)

Expected results:
The drop down should automatically exclude volumes that it cannot mount

Additional info:

Unable to attach Cloud Volume "docker-vg" to gluster2: Invalid volume: status must be 'available'

Comment 2 Sam Lucidi 2016-12-12 21:01:37 UTC
I've written a patch to address this by hiding unavailable volumes on the form and disabling the button to enter the form no volumes are available at all. See here: https://github.com/ManageIQ/manageiq/pull/13126

Comment 3 Dave Johnson 2017-01-10 20:51:57 UTC
Ronnie can you please retest this and see if this is still an issue.

Comment 6 Ronnie Rasouli 2017-03-19 11:44:38 UTC
verified on 5.8.0.6


Note You need to log in before you can comment on or make changes to this bug.