Bug 1291774

Summary: Accessing Availability Zone summary screen throws an error.
Product: Red Hat CloudForms Management Engine Reporter: Harpreet Kataria <hkataria>
Component: ProvidersAssignee: Richard Su <rwsu>
Status: CLOSED ERRATA QA Contact: Alex Newman <anewman>
Severity: high Docs Contact:
Priority: high    
Version: 5.5.0CC: jfrey, jhardy, obarenbo, rwsu
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-29 15:20:37 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:

Description Harpreet Kataria 2015-12-15 15:15:33 UTC
Description of problem:Accessing Availability Zone summary screen throws an error.


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


How reproducible:
100%

Steps to Reproduce:
1. Go to list of Availability Zones
2. Click on a Availability Zone to go to it's summary screen
3.

Actual results: throws an error


Expected results: should display Availability Zone summary screen


Additional info:
[----] I, [2015-12-15T09:47:30.620220 #5193:94b998]  INFO -- :   Rendered availability_zone/show.html.haml within layouts/application (7.2ms)
[----] F, [2015-12-15T09:47:30.620378 #5193:94b998] FATAL -- : Error caught: [NoMethodError] undefined method `infra_ems' for nil:NilClass
/home/hkataria/dev/manageiq/app/models/manageiq/providers/openstack/cloud_manager/availability_zone.rb:8:in `block_storage_disk_capacity'
/home/hkataria/dev/manageiq/app/helpers/availability_zone_helper/textual_summary.rb:39:in `textual_block_storage_disk_capacity'
/home/hkataria/dev/manageiq/app/helpers/textual_summary_helper.rb:16:in `expand_textual_summary'
/home/hkataria/dev/manageiq/app/helpers/textual_summary_helper.rb:39:in `block in expand_textual_group'
/home/hkataria/dev/manageiq/app/helpers/textual_summary_helper.rb:39:in `map'
/home/hkataria/dev/manageiq/app/helpers/textual_summary_helper.rb:39:in `expand_textual_group'

Comment 2 Richard Su 2015-12-18 19:05:18 UTC
Submitted fix for review, https://github.com/ManageIQ/manageiq/pull/5901

Comment 3 Alex Newman 2016-04-18 19:00:07 UTC
5.6.0.1-beta2.20160413141124_e25ac0e

Comment 5 errata-xmlrpc 2016-06-29 15:20:37 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, 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/RHBA-2016:1348