Bug 1827787
| Summary: | Unable to do future retirement of a VM via REST | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Parthvi Vala <pvala> |
| Component: | API | Assignee: | Gregg Tanzillo <gtanzill> |
| Status: | POST --- | QA Contact: | Sudhir Mallamprabhakara <smallamp> |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> |
| Priority: | medium | ||
| Version: | 5.11.0 | CC: | dmetzger, mshriver |
| Target Milestone: | GA | ||
| Target Release: | 5.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | Bug | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | CFME Core | Target Upstream Version: | |
| Embargoed: | |||
New commit detected on ManageIQ/manageiq-api/master: https://github.com/ManageIQ/manageiq-api/commit/d0ba780ba03b7a2f07288521f1d6fc1d45330eb3 commit d0ba780ba03b7a2f07288521f1d6fc1d45330eb3 Author: d-m-u <drewuhlmann> AuthorDate: Fri Apr 24 20:46:00 2020 +0000 Commit: d-m-u <drewuhlmann> CommitDate: Fri Apr 24 20:46:00 2020 +0000 add functionality to retire vms in future fixes https://bugzilla.redhat.com/show_bug.cgi?id=1827787 app/controllers/api/vms_controller.rb | 26 +- spec/requests/vms_spec.rb | 8 + 2 files changed, 28 insertions(+), 6 deletions(-) New commit detected on ManageIQ/manageiq-api/jansa: https://github.com/ManageIQ/manageiq-api/commit/a3fc02aeaa7e76b943b1fcad62b86a1573df500d commit a3fc02aeaa7e76b943b1fcad62b86a1573df500d Author: Brandon Dunne <bdunne> AuthorDate: Fri May 1 21:01:29 2020 +0000 Commit: Brandon Dunne <bdunne> CommitDate: Fri May 1 21:01:29 2020 +0000 Merge pull request #813 from d-m-u/vm_future_retirement add functionality to retire vms in future (cherry picked from commit 414f9aa3970857d84712c72cfcb4fd9b96c7127b) https://bugzilla.redhat.com/show_bug.cgi?id=1827787 app/controllers/api/vms_controller.rb | 26 +- spec/requests/vms_spec.rb | 8 + 2 files changed, 28 insertions(+), 6 deletions(-) This bug has been in POST for a long time and no target release has been set. Can I get an update on when the fix will be released? will not be fixed resolved in Red Hat CloudForms |
Description of problem: Version-Release number of selected component (if applicable): 5.11.0 How reproducible: Always Steps to Reproduce: 1. Provision a VM. 2. Send a request to retire the VM for future i. /api/vms/:vm_id {'action': 'request_retire', 'resource': {'date': '2020/04/29', 'warn': '4'}} ii. /api/vms {'action': 'request_retire', 'resources': [{'date': '2020/04/29', 'warn': '4', 'href': 'https://<hostname>/api/vms/:vm_id'}]} Actual results: Retires the VM immediately. Expected results: Should not retire the VM immediately. Additional info: This is broken on 510 as well.