Description of problem: "edit" action is not been supported for vms resources. While trying to hit the post HTTP method for editing the name and description of specific VM ID using "edit" as action then it returns below message {"error":{"kind":"bad_request","message":"Disabled Action edit for the vms resource specified","klass":"Api::BadRequestError"}} Version-Release number of selected component (if applicable): 5.7.0 How reproducible: Always Steps to Reproduce: 1. Try to hit the curl command to edit the attributes of Vms resources 2. It will respond with message: {"error":{"kind":"bad_request","message":"Disabled Action edit for the vms resource specified","klass":"Api::BadRequestError"}} 3. Actual results: It should modify the attribute of specfic VM. Expected results: Bad request exception thrown as the "Edit" action is not enabled for vms resource. Additional info: The same is working for service resource but not for vm resource.
Greg: Can we have an ETA for this? or any workaround?
https://github.com/ManageIQ/manageiq/pull/14623
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/ec696a21ab33b3a9b6cb5b17aebf9599e47bc0e8 commit ec696a21ab33b3a9b6cb5b17aebf9599e47bc0e8 Author: Jillian Tullo <jtullo> AuthorDate: Mon Apr 3 15:53:42 2017 -0400 Commit: Jillian Tullo <jtullo> CommitDate: Tue Apr 4 11:12:08 2017 -0400 edit vm https://bugzilla.redhat.com/show_bug.cgi?id=1428250 update custom identifier app/controllers/api/vms_controller.rb | 38 +++++++++++++++++++ config/api.yml | 2 - spec/requests/api/vms_spec.rb | 69 +++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+), 2 deletions(-)
https://github.com/ManageIQ/manageiq/pull/14402
Hi Mikel, The flags to be backported to CF-4.2.3 were just added. Thank you, Jillian
Hi- Editing will only account for basic VM attributes. Updating other attributes such as operating system will require a separate action. I would suggest creating a separate RFE BZ for these cases.
Verified that it's now possible to edit vms resources using REST API.