Bug 1449294

Summary: In block volume snapshot summary selecting volumes based on snapshot results in exception
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvidersAssignee: Ladislav Smola <lsmola>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: dajohnso, hkataria, jfrey, jhardy, mmojzis, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:cloud:storage:snapshot:ec2
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1496930 (view as bug list) Environment:
Last Closed: 2018-03-06 14:43:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1496930    
Attachments:
Description Flags
snapshot volume exception none

Description Matouš Mojžíš 2017-05-09 14:35:13 UTC
Created attachment 1277393 [details]
snapshot volume exception

Description of problem:
I think this exception is based on that AMIs and EBS volumes are not differentiated for snapshots.

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

How reproducible:
Always

Steps to Reproduce:
1. Have an ec2 provider
2. Have a volume based on snapshot
3. Go to Storage -> Block storage -> Volumes snapshots
4. Select an snapshot
5. Select volumes based on this snapshot

Actual results:
Exception added as attachment.

Expected results:


Additional info:

Comment 2 Bronagh Sorota 2017-06-05 15:15:15 UTC
Hi Harpreet,
Do you think this is a UI issue?

Thanks
Bronagh

Comment 4 Bronagh Sorota 2017-07-19 17:17:05 UTC
Hi Matouš
This works for me, see attachment. Can you please retest with the latest build or provide clarification.

thanks
Bronagh

Comment 5 Matouš Mojžíš 2017-07-21 12:17:46 UTC
I will clarify it:
1) Create a volume and make a snapshot from it
2) Create an image from that snapshot
3) Create a volume from that snapshot
4) Go to snapshot's summary
5) Select volumes based on snapshot.

Comment 7 CFME Bot 2017-09-15 06:03:36 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/dac84e8b31e111c47fb083477ffcb22b94022e99

commit dac84e8b31e111c47fb083477ffcb22b94022e99
Author:     Ladislav Smola <lsmola>
AuthorDate: Tue Sep 5 08:16:46 2017 +0200
Commit:     Ladislav Smola <lsmola>
CommitDate: Tue Sep 5 08:16:46 2017 +0200

    Fix based_volumes sublist
    
    Fix based_volumes sublist
    
    Fixes:
    https://bugzilla.redhat.com/show_bug.cgi?id=1449294

 app/controllers/cloud_volume_snapshot_controller.rb | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comment 9 Matouš Mojžíš 2018-01-02 13:06:06 UTC
Verified in 5.9.0.14. Selecting volumes based on snapshot works correctly now.