Bug 1581287

Summary: [RHV] VM snapshot removal cause failure in RHV provider refresh
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Boriso <bodnopoz>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gblomqui, jfrey, jhardy, jprause, mperina, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: rhev
Fixed In Version: 5.9.3.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1571291 Environment:
Last Closed: 2018-07-12 13:15:10 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: 1571291    
Bug Blocks:    

Comment 2 CFME Bot 2018-05-22 13:11:22 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:

https://github.com/ManageIQ/manageiq/commit/cdde57eb3836288533a9ee2ccc366f7cd492f8a7
commit cdde57eb3836288533a9ee2ccc366f7cd492f8a7
Author:     Adam Grare <agrare>
AuthorDate: Tue May 22 08:33:05 2018 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue May 22 08:33:05 2018 -0400

    Merge pull request #17462 from Ladas/do_not_delete_snapshot_children_with_parent

    Do not delete children snapshots as part of parent
    (cherry picked from commit 2903440a061372c76f0e949dcd35a93f7b9d0e65)

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

 app/models/snapshot.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 3 CFME Bot 2018-05-22 13:14:15 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/5643660ddede56d74d9b1553e5b33b6611fb2cad
commit 5643660ddede56d74d9b1553e5b33b6611fb2cad
Author:     Adam Grare <agrare>
AuthorDate: Tue May 22 08:50:38 2018 -0400
Commit:     Adam Grare <agrare>
CommitDate: Tue May 22 08:50:38 2018 -0400

    Merge pull request #241 from borod108/bugs/1571291snapshot_removal

    Fix refreshing targeted vm after snapshot removal
    (cherry picked from commit 233273d4a229a5580ef8615e4c725d09a87dc733)

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

 app/models/manageiq/providers/redhat/inventory/collector/target_collection.rb | 14 +-
 spec/models/manageiq/providers/redhat/infra_manager/refresh/refresher_graph_target_vm_spec.rb | 14 +-
 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_graph_target_vm_deleted_snapshot.yml | 2452 +
 3 files changed, 2469 insertions(+), 11 deletions(-)

Comment 4 Ilanit Stein 2018-05-24 11:44:28 UTC
Verified on CFME-5.9.3.0/RHV-4.2.2.5

Followed the steps in the bug description.

Comment 6 errata-xmlrpc 2018-07-12 13:15:10 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