Bug 1593202 - RHV provider full refresh fail on "undefined method `keys' for "<some guid>":String
Summary: RHV provider full refresh fail on "undefined method `keys' for "<some guid>":...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Boriso
QA Contact: Angelina Vasileva
URL:
Whiteboard: rhev
Depends On:
Blocks: 1584695 1588577 1589297 1590430 1591355 1591361 1593684
TreeView+ depends on / blocked
 
Reported: 2018-06-20 09:44 UTC by Ilanit Stein
Modified: 2019-08-19 13:21 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1593684 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:08:57 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:
istein: needinfo+


Attachments (Terms of Use)
evm.log (476.95 KB, application/x-gzip)
2018-06-20 09:47 UTC, Ilanit Stein
no flags Details
automation.log (22.78 KB, application/x-gzip)
2018-06-20 09:48 UTC, Ilanit Stein
no flags Details
rhevm.log (11.71 KB, application/x-gzip)
2018-06-20 09:48 UTC, Ilanit Stein
no flags Details

Description Ilanit Stein 2018-06-20 09:44:35 UTC
Description of problem:
When adding a new RHV provider to CFME,
last refresh fail 

Version-Release number of selected component (if applicable):
CFME-5.9.3.2
RHV-4.2.3

How reproducible:
100%

Steps to Reproduce:
1.Add a RHV provider
2.Track the last refresh field - once initial full refresh end,
such error appear:
Error - Less Than A Minute Ago
undefined method `keys' for "48921a37-198d-4003-bbb2-b96bd2b2241d":String

Actual results:
RHV full refresh fail

Expected results:
RHV full refresh should succeed

Additional info:
This bug do not exist on cfme-5.9.3.1

Comment 2 Ilanit Stein 2018-06-20 09:47:51 UTC
Created attachment 1453166 [details]
evm.log

Comment 3 Ilanit Stein 2018-06-20 09:48:29 UTC
Created attachment 1453167 [details]
automation.log

Comment 4 Ilanit Stein 2018-06-20 09:48:51 UTC
Created attachment 1453168 [details]
rhevm.log

Comment 5 Dave Johnson 2018-06-20 10:02:27 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 6 Ilanit Stein 2018-06-20 11:02:56 UTC
After RHV provider first full refresh failure, 
Triggering a "Refresh relationships and power states" fail on the same error.
That is the RHV components data are not collected at all.

Comment 9 CFME Bot 2018-06-21 09:19:30 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/923d54b62a854a2ea021b848d3f8fd2d2a11e480
commit 923d54b62a854a2ea021b848d3f8fd2d2a11e480
Author:     Boris Odnopozov <bodnopoz>
AuthorDate: Wed Jun 20 15:38:39 2018 -0400
Commit:     Boris Odnopozov <bodnopoz>
CommitDate: Wed Jun 20 15:38:39 2018 -0400

    Fix refresh failing on guest device lan collection

    Pass hash to find_by instead of string.

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

 app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 11 Ilanit Stein 2018-06-25 11:22:24 UTC
Fix was implemented manually on CFME-5.9.3.2/RHV-4.2.3.5 and verified.

Comment 12 Ilanit Stein 2018-06-27 12:40:26 UTC
Verified on CFME-5.10.0.2/RHV-4.2.3.5


Note You need to log in before you can comment on or make changes to this bug.