Bug 1399207

Summary: vm.create_snapshot fails for rhev vm with undefined method `create_snapshot'
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Lucy Fu <lufu>
Status: CLOSED ERRATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: cpelland, jhardy, kmorey, mkanoor, nstephan, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: automate:snapshot:rhev
Fixed In Version: 5.7.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1395175 Environment:
Last Closed: 2017-02-27 19:24:57 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:
Bug Depends On: 1395175    
Bug Blocks:    

Comment 2 CFME Bot 2017-01-06 17:20:51 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/4547649a00d3b6d2e49cb31aac957548c01def32

commit 4547649a00d3b6d2e49cb31aac957548c01def32
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Nov 21 12:17:23 2016 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jan 6 12:17:11 2017 -0500

    Merge pull request #12726 from lfu/ae_snapshot_1395175
    
    Move snapshot code to Vm in service model.
    (cherry picked from commit eef649356ad7bf8742b3494ea69f71fba5d82a73)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1399207

 ...e_manageiq-providers-vmware-infra_manager-vm.rb | 21 --------------
 .../service_models/miq_ae_service_vm.rb            | 24 ++++++++++++++++
 ...ageiq-providers-vmware-infra_manager-vm_spec.rb | 26 ++----------------
 .../service_methods/miq_ae_service_vm_spec.rb      | 32 ++++++++++++++++++++++
 4 files changed, 58 insertions(+), 45 deletions(-)

Comment 3 Ilanit Stein 2017-02-23 13:25:01 UTC
Verified on CFME-5.7.1.2.

automate Snapshot creation work. Snapshot is indeed created,
However the created snapshot's name is not OK:

For VM with name "test_1", create a snapshot in Automate, with name "snp1",
Creates actually snapshot with name "Snapshot:<snp1> for test_1",
though it should be called "snp1".
filed this bug 1426227 for this issue.

Comment 5 errata-xmlrpc 2017-02-27 19:24:57 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://rhn.redhat.com/errata/RHSA-2017-0320.html