Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1506463 - Graph refresh fails when targeting a vm.
Graph refresh fails when targeting a vm.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers (Show other bugs)
5.7.0
Unspecified Unspecified
medium Severity high
: GA
: 5.9.0
Assigned To: Jan Zmeskal
Jan Zmeskal
rhev:graph refresh
: Regression
Depends On:
Blocks: 1532255
  Show dependency treegraph
 
Reported: 2017-10-26 03:01 EDT by Ilanit Stein
Modified: 2018-03-01 08:20 EST (History)
9 users (show)

See Also:
Fixed In Version: 5.9.0.5
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-01 08:20:20 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: Bug
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 13:37:12 EST

  None (edit)
Description Ilanit Stein 2017-10-26 03:01:32 EDT
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 03:09 EDT
Created attachment 1343574 [details]
evm.log
Comment 4 CFME Bot 2017-10-30 10:04:23 EDT
New commit detected on ManageIQ/manageiq-providers-ovirt/master:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/3a88df10a7c50a5a53aedf2509e801526c2bca00

commit 3a88df10a7c50a5a53aedf2509e801526c2bca00
Author:     Ladislav Smola <lsmola@redhat.com>
AuthorDate: Thu Oct 26 10:44:26 2017 +0200
Commit:     Ladislav Smola <lsmola@redhat.com>
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 11:38:49 EST
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 11:39 EST
Created attachment 1359567 [details]
evm.log from verification
Comment 10 errata-xmlrpc 2018-03-01 08:20:20 EST
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.