Bug 1657341

Summary: Provisioned VM through CloudForms shows no host associated with provider(VMWare)
Product: Red Hat CloudForms Management Engine Reporter: Tuan <tuado>
Component: ProvidersAssignee: Adam Grare <agrare>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Kedar Kulkarni <kkulkarn>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.9.4CC: agrare, dmetzger, jfrey, jhardy, jocarter, jprause, kkulkarn, obarenbo, tuado
Target Milestone: GA   
Target Release: 5.10.z   
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: 2019-07-26 18:16:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: VMware Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1692488, 1704905    

Comment 25 Adam Grare 2019-02-05 21:02:46 UTC
https://github.com/ManageIQ/manageiq/pull/18433

Comment 26 Adam Grare 2019-02-05 21:07:14 UTC
I don't want to say the PR has fixed this issue, more like it allows the refresh to finish if a lan wasn't saved for whatever reason and thus couldn't load the ID for future use.
We still need to investigate why a lan in the collection wasn't saved but there is a log warning with the lan uid_ems and the switch ID when this happens which can help us further diagnose.

Comment 28 CFME Bot 2019-02-13 04:33:36 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/82ef8ce89ae9d4ef597b4f8723cf7bc7919faee9
commit 82ef8ce89ae9d4ef597b4f8723cf7bc7919faee9
Author:     Adam Grare <agrare>
AuthorDate: Tue Feb  5 15:08:18 2019 -0500
Commit:     Adam Grare <agrare>
CommitDate: Tue Feb  5 15:08:18 2019 -0500

    Fix save_inventory error if lan can't be found

    When loading IDs of newly saved lans skip any that can't be found by
    uid_ems.

    https://bugzilla.redhat.com/show_bug.cgi?id=1657341

 app/models/ems_refresh/save_inventory_infra.rb | 8 +
 1 file changed, 8 insertions(+)