Bug 1286976

Summary: Add "terminate" action for cloud instance
Product: Red Hat CloudForms Management Engine Reporter: Prasad Mukhedkar <pmukhedk>
Component: APIAssignee: Tim Wade <twade>
Status: CLOSED ERRATA QA Contact: Taras Lehinevych <tlehinev>
Severity: high Docs Contact:
Priority: high    
Version: 5.0.1CC: dajohnso, gkeegan, jhardy, jprause, mfeifer, obarenbo, twade
Target Milestone: GA   
Target Release: 5.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.6.0.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1290196 (view as bug list) Environment:
Last Closed: 2016-06-29 15:14:15 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:    
Bug Blocks: 1290196    

Description Prasad Mukhedkar 2015-12-01 09:34:06 UTC
Description of problem:

Through cloudforms dashboard it is possible to terminate an instance 
running on AWS Cloud Provider. "Instance > Power > Terminate". However,
This action is not exposed in Cloudfroms RESTAPI. 

In order to integrate cloudfroms with external IT Process application
and manage complete life cycle of instances. This action is very much
necessary

Comment 2 John Hardy 2015-12-10 09:42:02 UTC
There is a simple workaround here, that is create automate that vm.stop and call from rest api  as custom automation.

Comment 4 Tim Wade 2016-01-06 17:21:02 UTC
PR: https://github.com/ManageIQ/manageiq/pull/5807

Comment 5 Taras Lehinevych 2016-05-13 11:52:46 UTC
Verified in 5.6.0.6-beta2.5

Comment 7 errata-xmlrpc 2016-06-29 15:14:15 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:1348

Comment 8 Red Hat Bugzilla 2023-09-14 03:14:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days