Bug 1290196

Summary: Add "terminate" action for cloud instance
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: APIAssignee: Tim Wade <twade>
Status: CLOSED ERRATA QA Contact: Nandini Chandra <nachandr>
Severity: high Docs Contact:
Priority: high    
Version: 5.0.1CC: adahms, cpelland, dajohnso, gkeegan, gtanzill, jhardy, mfeifer, obarenbo, pmukhedk, twade
Target Milestone: GAKeywords: ZStream
Target Release: 5.5.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, the 'terminate' action was not exposed in the Red Hat CloudForms REST API. This prevented users from integrating CloudForms with external IP process applications to manage the complete life cycle of instances. With this update, this functionality has now been exposed in the REST API.
Story Points: ---
Clone Of: 1286976 Environment:
Last Closed: 2016-02-10 15:23:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1286976    
Bug Blocks:    

Comment 4 Nandini Chandra 2016-01-27 18:36:21 UTC
Successfully terminated an ec2 instance using REST API in 5.5.2.2.Marking the BZ as VERIFIED.

from utils.api import API
api = API("https://xx.yy.zz.aa/api/", auth=('admin','smartvm'))
inc = api.collections.instances.get(id=2024)
inc.action.terminate()

Comment 5 errata-xmlrpc 2016-02-10 15:23:47 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/RHBA-2016:0159