Bug 1437624

Summary: OpenStack refresh fail with nil:NilClass
Product: Red Hat CloudForms Management Engine Reporter: Saif Ali <saali>
Component: ProvidersAssignee: Tzu-Mainn Chen <tzumainn>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Ovadia <iovadia>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: iovadia, jfrey, jhardy, jwarnica, obarenbo, sacpatil, simaishi, tachoi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1442763 1442764 (view as bug list) Environment:
Last Closed: 2018-03-06 14:46:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1442763, 1442764    

Description Saif Ali 2017-03-30 17:15:43 UTC
Description of problem:
OpenStack cloud provider refresh fail with nil:NilClass when one the flavor ID has been changed or when the flavor has been removed while its still been reference by existing instance.

Error - 8 Minutes Ago undefined method `[]' for nil:NilClass.


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

How reproducible:


Steps to Reproduce:
1. added OSP provider
2. after the provider refresh completed remove one of the existing flavor or change the flavor id ensure the flavor associate with instance
3.

Actual results:


Expected results:


Additional info:

Comment 2 Tzu-Mainn Chen 2017-04-06 18:10:33 UTC
Should be fixed by: https://github.com/ManageIQ/manageiq-providers-openstack/pull/1

Comment 5 Ido Ovadia 2018-01-14 12:46:20 UTC
Verified
========
CFME 5.9.0.16