Bug 1379368 - broken webpage attaching cloud volume to instance
Summary: broken webpage attaching cloud volume to instance
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Tzu-Mainn Chen
QA Contact: Ola Pavlenko
URL:
Whiteboard: openstack
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-26 13:31 UTC by Ronnie Rasouli
Modified: 2018-02-12 09:37 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-19 09:09:00 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:


Attachments (Terms of Use)
production log where error appears (210.93 KB, application/x-gzip)
2016-09-26 13:31 UTC, Ronnie Rasouli
no flags Details
last 1000 lines of evm.log (208.68 KB, text/plain)
2016-09-26 13:32 UTC, Ronnie Rasouli
no flags Details

Description Ronnie Rasouli 2016-09-26 13:31:26 UTC
Created attachment 1204839 [details]
production log where error appears

Description of problem:

Attaching a cloud volume could lead a broken page.


undefined method `vms' for nil:NilClass [cloud_volume/attach] 

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

How reproducible:
100%

Steps to Reproduce:
1. login to CFME UI
2. go to compute --> cloud --> volumes
3. create new volume
4. check the new volume created
5. go to configuration --> attach selected cloud volume to instance


Actual results:

A  broken page:  Unexpected error encountered 
Error text:

undefined method `vms' for nil:NilClass [cloud_volume/attach] 

Expected results:
A menu with volume attachment appear

Additional info:

Comment 2 Ronnie Rasouli 2016-09-26 13:32:21 UTC
Created attachment 1204840 [details]
last 1000 lines of evm.log

Comment 3 Ronnie Rasouli 2016-09-26 13:37:26 UTC
RHOS7, in case the volume did not finish fire the  action (attach)
After refreshing the cloud volume the webpage eventually appear (the volume in available status)

Comment 4 Tzu-Mainn Chen 2016-09-26 16:31:40 UTC
Ronnie, does the cloud voume have an associated tenant in the manageiq database?  If not, does the problem exist if the cloud volume *does* have an associated tenant?


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