Bug 1222497

Summary: Openstack cloud provider refresh fails if there are no glance images loaded
Product: Red Hat CloudForms Management Engine Reporter: Marius Cornea <mcornea>
Component: ProvidersAssignee: Ladislav Smola <lsmola>
Status: CLOSED ERRATA QA Contact: Taras Lehinevych <tlehinev>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: cbolz, dajohnso, jfrey, jhardy, ncatling, obarenbo, rananda, simaishi, tlehinev
Target Milestone: GA   
Target Release: 5.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.5.0.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-08 13:10:04 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:
Attachments:
Description Flags
no glance image error none

Description Marius Cornea 2015-05-18 11:14:15 UTC
Created attachment 1026663 [details]
no glance image error

Description of problem:
Openstack cloud provider refresh fails if there are no glance images loaded. 

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

How reproducible:
Every time. 

Steps to Reproduce:
1. Add an Openstack Cloud provider that has no Glance images loaded
2. Run refresh
3.

Actual results:
Last Refresh shows Error - Less Than A Minute Ago; undefined method `id' for nil:NilClass

Expected results:
Refresh runs OK with 0 images.

Additional info:
After adding a Glance image refresh goes OK. Attaching the evm.log.

Comment 2 Ladislav Smola 2015-07-20 07:14:34 UTC
should be already fixed by https://github.com/ManageIQ/manageiq/pull/2967

Comment 3 Ladislav Smola 2015-07-20 07:59:43 UTC
*** Bug 1212080 has been marked as a duplicate of this bug. ***

Comment 4 Taras Lehinevych 2015-10-30 15:12:50 UTC
Verified fixed in version 5.5.0.8

Added the openstack cloud provider with no glance images loaded and test the refresh function. Refresh runs OK with 0 images.

Comment 6 errata-xmlrpc 2015-12-08 13:10:04 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/RHSA-2015:2551