Bug 1465934

Summary: After deletion of Cloud provider "Refresh Relationships and Power States" throwing "error [NoMethodError]: undefined method `each' for nil:NilClass" in evm.log
Product: Red Hat CloudForms Management Engine Reporter: Satyajit Bulage <sbulage>
Component: UI - OPSAssignee: Marek Aufart <maufart>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: low    
Version: 5.8.0CC: dajohnso, hkataria, jhardy, mpovolny, obarenbo, sbulage, slucidi, vparekh
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:provider:openstack
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-17 18:03:08 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:
Bug Depends On:    
Bug Blocks: 1478802    

Description Satyajit Bulage 2017-06-28 13:18:04 UTC
Created attachment 1292651 [details]
evm.log during Refresh on Cloud Provider

Description of problem: 


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


How reproducible:100%


Steps to Reproduce:
1.Add RHOS provider
2.Navigate to Compute--> Cloud --> Provider 
3.select cloud provider and click on "Refresh Relationships and Power States"

Actual results: Error "[NoMethodError]: undefined method `each' for nil:NilClass" in evm.log


Expected results: It should Refresh provider without any error in evm.log


Additional info:

Comment 6 Oleksandr Kolisnyk 2017-07-11 15:47:09 UTC
I can't reproduce it in 5.8.1.0 (refresh was successful either for Cloud provider or Swift Manager).

However, Satyajit mentioned that this issue was seen in CF version 5.8.1.0.20170623170756_3ed4411 . Any chance to provision a VM with this build ?

Comment 22 Sam Lucidi 2018-10-17 18:03:08 UTC
As far as I can tell, this is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1437549 which was fixed by changes to prevent refresh jobs from running while a provider is being deleted. This was a non-Openstack-specific issue that has been fixed on 5.9 and later, but the fix involves schema changes and cannot be backported to 5.8.

*** This bug has been marked as a duplicate of bug 1437549 ***