Hide Forgot
Description of problem: vmreconfigure functionality in CloudForms does not include support for quota or approval. As such, a user with self service access can provision a VM under approval and quota requirements and then resize it beyond quota and approval. Version-Release number of selected component (if applicable): 5.6.2.2 How reproducible: Apply quota and approval settings (I'm using group for quota). Provision over those limits and see it require approval and be denied for quota. Provision under those limits and see it complete successfully. Reconfigure the VM to be over those same limits and see it be auto approved and not check quota. Expected results: vmreconfigure activities should honor the same quota and approval limits.
Nick Catling added reconfigure support for quota and will be making a pull request. https://github.com/supernoodz/CloudForms/blob/master/Quota/System/CommonMethods/QuotaMethods.class/__methods__/requested.rb
I updated the spec tests and created a pull request https://github.com/ManageIQ/manageiq-content/pull/56. I had to make a few minor changes to the request method to get the spec tests to work properly. I added a few log messages and removed provisioned_storage from the initial prov value since the value is the amount to be increased or decreased. Nick needs to update his pull request with this updated method. I emailed Nick the modified request method. Billy
Methods changes in PR: https://github.com/ManageIQ/manageiq-content/pull/71
This PR fixes this problem, setting to POST. https://github.com/ManageIQ/manageiq-content/pull/56 I merged the changes from https://github.com/ManageIQ/manageiq-content/pull/71 and that PR will be closed. Billy
*** Bug 1450180 has been marked as a duplicate of this bug. ***
Able to verify this on Version 5.9.0.2.20171010190026_0413a06