Bug 1222497 - Openstack cloud provider refresh fails if there are no glance images loaded
Summary: Openstack cloud provider refresh fails if there are no glance images loaded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.5.0
Assignee: Ladislav Smola
QA Contact: Taras Lehinevych
URL:
Whiteboard:
: 1212080 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-18 11:14 UTC by Marius Cornea
Modified: 2016-08-03 01:33 UTC (History)
9 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:10:04 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
no glance image error (3.77 KB, text/plain)
2015-05-18 11:14 UTC, Marius Cornea
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

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


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