Bug 1468614

Summary: Not able to retire VM/instance via API unless "Set Retirement Date" feature is checked for role
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: Jillian Tullo <jtullo>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.7.0CC: igortiunov, jhardy, jtullo, mkourim, obarenbo, simaishi, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.7.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1464093 Environment:
Last Closed: 2017-12-18 20:26:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1464093    
Bug Blocks:    

Comment 2 CFME Bot 2017-07-07 14:30:58 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/f3a41dda0a4e142aecd59fa1dd1ca3563362c949

commit f3a41dda0a4e142aecd59fa1dd1ca3563362c949
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Wed Jul 5 16:35:41 2017 -0400
Commit:     Satoe Imaishi <simaishi>
CommitDate: Fri Jul 7 10:25:17 2017 -0400

    Merge pull request #15509 from jntullo/bz/wrong_retirement_product_feature
    
    Use correct identifier for VM Retirement
    (cherry picked from commit 30f51d5eec8695e68ad0205a477e636d2c86892a)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1468614

 config/api.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 3 Martin Kourim 2017-09-25 14:29:09 UTC
Verified on 5.7.4.0 that it's possible to retire a VM using the REST API when "Set Retirement Date" is unchecked.

Comment 6 errata-xmlrpc 2017-12-18 20:26:49 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-2017:3484