Bug 1425057

Summary: Refresh is broken for ec2 provider with instances without name
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvidersAssignee: Greg Blomquist <gblomqui>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: agrare, jfrey, jhardy, mfalesni, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-23 20:03:18 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:
Attachments:
Description Flags
evm.log errors none

Description Matouš Mojžíš 2017-02-20 13:10:52 UTC
Created attachment 1255679 [details]
evm.log errors

Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Add an instance without name to ec2 region (I had 3 instances without name and stopped)
2. Add that region provider to CFME
3. Try to do manual refresh when autorefresh fails...

Actual results:
Evm.log error log attached.

Expected results:


Additional info:

Comment 2 Adam Grare 2017-02-23 13:17:48 UTC
This sounds like a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1353979

Comment 3 Matouš Mojžíš 2017-02-23 13:25:54 UTC
Yes, it does. But it was working in previous versions so I thought it might be different issue.

Comment 4 Adam Grare 2017-02-23 13:34:17 UTC
Interesting...can you try applying the changes from https://github.com/ManageIQ/manageiq-providers-amazon/pull/35 and see if it resolves the issue?

Comment 5 Matouš Mojžíš 2017-02-23 13:37:29 UTC
There is no folder amazon in /var/www/miq/vmdb/app/models/manageiq/providers

Comment 6 Adam Grare 2017-02-23 13:39:35 UTC
It was pulled out of the main repo, check /var/www/miq/vmdb/gems/manageiq-providers-amazon

Comment 7 Matouš Mojžíš 2017-02-23 13:43:40 UTC
Yes, I can see the old code here. Trying with the new one now.

Comment 8 Matouš Mojžíš 2017-02-23 20:01:51 UTC
Okay, I can confirm that it works with applying this PR.

Comment 9 Adam Grare 2017-02-23 20:02:57 UTC
Awesome, I'll mark this as a duplicate and request a 5.6.z on 1353979

Comment 10 Adam Grare 2017-02-23 20:03:18 UTC

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