Bug 1500314

Summary: Not able to fetch rhos provider details
Product: Red Hat CloudForms Management Engine Reporter: Vatsal Parekh <vparekh>
Component: ProvidersAssignee: Sam Lucidi <slucidi>
Status: CLOSED CURRENTRELEASE QA Contact: Vatsal Parekh <vparekh>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.9.0CC: gblomqui, jfrey, jhardy, kkulkarn, lsmola, obarenbo, sbulage, simaishi, tzumainn, vparekh
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 14:49:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1436597    
Bug Blocks: 1396529    
Attachments:
Description Flags
evm.log none

Description Vatsal Parekh 2017-10-10 11:40:33 UTC
Description of problem:
After adding rhos provider, cfme is not able to fetch any details from provider.
The last refresh section shows the error
'Error - 29 Minutes Ago
undefined method `ems_ref=' for nil:NilClass'

Also, after adding rhos, if we add any other cloud provider(ec2 in my case), those provider details are also not fetched.
Version-Release number of selected component (if applicable):
Version 5.9.0.1.20171004215954_13427ce

How reproducible:
100%

Steps to Reproduce:
1.Add rhos provider
2.Wait for it to fetch
3.Add another cloud provider

Actual results:
Not able to fetch any provider details

Expected results:
Should get the details

Additional info:

Comment 3 Vatsal Parekh 2017-10-10 11:50:30 UTC
Created attachment 1336744 [details]
evm.log

Comment 4 Vatsal Parekh 2017-10-10 11:52:48 UTC
Update: If any other provider added after rhos, not that provider details are also not fetched with the error in last refresh message 
`Error - 10 Minutes Ago
expected params[:filters][0][:values][0] to be a String, got value nil (class: NilClass) instead.`

Though, if ec2 was added first, it gets details properly.

Comment 5 Tzu-Mainn Chen 2017-10-10 13:06:30 UTC
Sam, can you take a look at this one?

Comment 8 Ladislav Smola 2017-10-11 17:34:44 UTC
The EC2 error from https://bugzilla.redhat.com/show_bug.cgi?id=1500314#c4, that is targeted refresh error fixed by https://github.com/ManageIQ/manageiq-providers-amazon/pull/308

Comment 9 Vatsal Parekh 2017-10-13 05:59:50 UTC
Sam, I think all the details are given to you, removing needinfo.

Comment 10 Vatsal Parekh 2017-11-01 12:09:19 UTC
Able to verify this on 5.9.0.4