Bug 1433980

Summary: VM extend retirement fails
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Tina Fitzgerald <tfitzger>
Status: CLOSED ERRATA QA Contact: Mike Shriver <mshriver>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, gmccullo, jhardy, mkanoor, mshriver, obarenbo, sacpatil, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: retirement
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1427503 Environment:
Last Closed: 2017-04-12 14:45:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1427503    
Bug Blocks:    

Comment 2 CFME Bot 2017-03-20 14:55:56 UTC
New commit detected on ManageIQ/manageiq/euwe:

commit 92d185a740c6ce8324fee4f58e2d0aa242fde3bf
Author:     Greg McCullough <gmccullo>
AuthorDate: Thu Mar 16 12:10:04 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Mar 20 10:24:04 2017 -0400

    Merge pull request #14143 from tinaafitz/retire_extends_on_fix
    Fix extend_retires_on method for number of days.
    (cherry picked from commit f20cab897166492f3fe8e766d2b57e69769c7420)

 app/models/mixins/retirement_mixin.rb              |  5 ++--
 .../service_methods/miq_ae_service_service_spec.rb | 25 ++++++++++++--------
 .../service_methods/miq_ae_service_vm_spec.rb      | 27 +++++++++++++---------
 3 files changed, 34 insertions(+), 23 deletions(-)

Comment 3 CFME Bot 2017-03-20 14:56:01 UTC
New commit detected on ManageIQ/manageiq/euwe:

commit 647760573e46e2807718b862d4dcdc78500a1881
Author:     Greg McCullough <gmccullo>
AuthorDate: Fri Mar 17 17:00:58 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Mar 20 10:53:43 2017 -0400

    Merge pull request #62 from psachin/BZ#1427503
    Fixes VM extend retirement
    (cherry picked from commit f8add0c3bb362acf41f4607d790dbe0a2957e120)

 .../Cloud/VM/Retirement/Email.class/__methods__/vm_retire_extend.rb     | 2 +-
 .../VM/Retirement/Email.class/__methods__/vm_retire_extend.rb           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 5 Mike Shriver 2017-03-27 18:10:38 UTC
Verified in CFME

A rhevm virtual machine with a set retirement date can have its retirement date extended by using the automation buttons.  The retirement date was extended the default value of 14 days past the originally set date.

Comment 6 errata-xmlrpc 2017-04-12 14:45:40 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.