Bug 1467405

Summary: Azure refresh fails if provider has no orchestration stacks
Product: Red Hat CloudForms Management Engine Reporter: Daniel Berger <dberger>
Component: ProvidersAssignee: Bronagh Sorota <bsorota>
Status: CLOSED CURRENTRELEASE QA Contact: Leo Khomenko <lkhomenk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: bascar, cpelland, gblomqui, jfrey, jhardy, lkhomenk, ltsai, ncatling, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1468606 1468703 (view as bug list) Environment:
Last Closed: 2018-03-06 15:29:14 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: 1468606, 1468703    

Description Daniel Berger 2017-07-03 16:57:31 UTC
Description of problem:

If there are no orchestration stacks for a given Azure provider, a refresh will fail.

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

5.8

How reproducible:

Always, if provider has no orchestration stacks.

Steps to Reproduce:
1. Add an Azure cloud provider
2. Remove any orchestration stacks if present
3. Refresh provider

Actual results:

undefined method 'each' for nil:NilClass

Expected results:

Refresh is successful

Additional info:

This was already addressed on master.

https://github.com/ManageIQ/manageiq-providers-azure/pull/84

Comment 3 Bronagh Sorota 2017-07-05 16:45:07 UTC
*** Bug 1467929 has been marked as a duplicate of this bug. ***