Bug 1594839

Summary: RHV provider target refresh fail on "undefined method `cluster'", right after VM removal
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Martin Perina <mperina>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gblomqui, jfrey, jhardy, jprause, mgoldboi, mperina, obarenbo
Target Milestone: GAKeywords: Automation, ZStream
Target Release: 5.9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.9.3.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1592430 Environment:
Last Closed: 2018-07-12 13:17:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: RHEVM Target Upstream Version:
Embargoed:
Bug Depends On: 1592430    
Bug Blocks:    

Comment 2 CFME Bot 2018-06-25 14:18:56 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/84c49f2d3e770d97b9248e0ca8ed17d58de32450
commit 84c49f2d3e770d97b9248e0ca8ed17d58de32450
Author:     Moti Asayag <masayag>
AuthorDate: Sun Jun 24 07:45:18 2018 -0400
Commit:     Moti Asayag <masayag>
CommitDate: Sun Jun 24 07:45:18 2018 -0400

    Merge pull request #264 from borod108/bugs/1592430vm_removal

    Fix vm targeted refresh on removal
    (cherry picked from commit b29345b51ba8bf29aa9819b35fea4d82dc57c084)

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

 app/models/manageiq/providers/redhat/inventory/collector/target_collection.rb | 2 +-
 app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 2 +-
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_graph_target_vm_spec.rb | 15 +
 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_graph_target_vm_removal.yml | 4557 +
 4 files changed, 4574 insertions(+), 2 deletions(-)

Comment 3 Ilanit Stein 2018-06-28 09:16:35 UTC
Verified on CFME-5.9.3.3/RHV-4.2.3

Comment 5 errata-xmlrpc 2018-07-12 13:17:05 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:2184