Bug 1506463 - Graph refresh fails when targeting a vm.
Summary: Graph refresh fails when targeting a vm.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.9.0
Assignee: Jan Zmeskal
QA Contact: Angelina Vasileva
URL:
Whiteboard: rhev:graph refresh
Depends On:
Blocks: 1532255
TreeView+ depends on / blocked
 
Reported: 2017-10-26 07:01 UTC by Ilanit Stein
Modified: 2019-08-19 09:08 UTC (History)
9 users (show)

Fixed In Version: 5.9.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-01 13:20:20 UTC
Category: Bug
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
evm.log (1.74 MB, application/x-gzip)
2017-10-26 07:09 UTC, Ilanit Stein
no flags Details
evm.log from verification (307.73 KB, text/plain)
2017-11-27 16:39 UTC, Jan Zmeskal
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Description Ilanit Stein 2017-10-26 07:01:32 UTC
Description of problem:
There seem to be a problem with the refresh, that follow VM status change:

Activate on CFME machine, the RHV Graph refresh, 
and added a RHV provider.

Full refresh ended up successfully.

Powered off a VM on RHV side,
and on the CFME side, under VMs this VM indeed turned into down state,
however the refresh itself failed on "undefined method `split' for #<Hash:0x0000000c9f7868>"
See evm.log attached.

The CFME has 2 disks one for OS, and one for the DB.


Version-Release number of selected component (if applicable):
CFME-5.9.0.4
RHV-4.1.7

How reproducible:
Occurred once, but did not try to reproduce.

Additional info:
It is not clear if this problem is related to Graph refresh activation or not.

Comment 2 Ilanit Stein 2017-10-26 07:09:50 UTC
Created attachment 1343574 [details]
evm.log

Comment 4 CFME Bot 2017-10-30 14:04:23 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/3a88df10a7c50a5a53aedf2509e801526c2bca00

commit 3a88df10a7c50a5a53aedf2509e801526c2bca00
Author:     Ladislav Smola <lsmola>
AuthorDate: Thu Oct 26 10:44:26 2017 +0200
Commit:     Ladislav Smola <lsmola>
CommitDate: Thu Oct 26 10:44:26 2017 +0200

    We need to use lazy_find_by for hash index
    
    We need to use lazy_find_by for hash index
    
    Fixes BZ:
    https://bugzilla.redhat.com/show_bug.cgi?id=1506463

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

Comment 5 Jan Zmeskal 2017-11-27 16:38:49 UTC
Verified on:
CFME 5.9.0.9
RHV 4.1.7.6

Verification steps:
1. Activate graph refresh in /var/www/miq/vmdb/config/settings.yml
2. Add RHV provider to CFME
3. Do full relationships/power states refresh
4. Shutdown VM on RHV side, observe evm.log

evm.log is attached. there is no relevant error during targeted VM refresh. There is one error in the beginning, but I am pretty sure this is because I tried to do provider's refresh via checkbox and at this time this bug prevents it: https://bugzilla.redhat.com/show_bug.cgi?id=1514334

Comment 6 Jan Zmeskal 2017-11-27 16:39:30 UTC
Created attachment 1359567 [details]
evm.log from verification

Comment 10 errata-xmlrpc 2018-03-01 13:20:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0380


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