| Summary: | cannot trigger VM retirement via API | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Colin Arnott <carnott> | |
| Component: | API | Assignee: | Tim Wade <twade> | |
| Status: | CLOSED ERRATA | QA Contact: | Martin Kourim <mkourim> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.5.0 | CC: | benglish, carnott, cpelland, dajohnso, jhardy, jocarter, jprause, mfeifer, obarenbo, twade | |
| Target Milestone: | GA | Keywords: | Reopened, ZStream | |
| Target Release: | 5.6.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | rest:retirement | |||
| Fixed In Version: | 5.6.0.0 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1309746 (view as bug list) | Environment: | ||
| Last Closed: | 2016-06-29 15:41:19 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1309746 | |||
|
Description
Colin Arnott
2016-02-11 20:21:39 UTC
Colin,
You can retire a vm with the following API call:
POST /api/vms/:id
{
"action": "retire"
}
Please let me know if that doesn't meet your needs.
Thanks,
Tim
This looks like what we would like. Thanks for the info. Tim/Colin, if we can cleanly merge this to downstream 5.5.z, then there is no reason to wait. This was fixed upstream in https://github.com/ManageIQ/manageiq/pull/5718 Verified in 5.6.0.4-beta2.3 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 |