Comments (10)
Thanks, @agrare , just a little typo in the documentation : for a disk resize, option is better with disk_resize than disk_remove.
from manageiq-api.
mention it's on tested on kasparov1 and kasparov2
from manageiq-api.
Thanks for the bug report @szajac01, is provider was this VM on? Can you tell from the logs if the request ran at all? If so did it fail?
from manageiq-api.
Hi @agrare , provider is VMware.
From the API response, the request run and finish in successful state .
"request_type": "vm_reconfigure", "request_state": "finished", "message": "VM Reconfigure complete", "status": "Ok",
from automation.log, also no error, i can share with you logs if needed
from manageiq-api.
Thanks @szajac01, I'll try to reproduce this locally and if I can't I might ask for some additional logs.
from manageiq-api.
Hi guys, any news on the subject ?
did you reproduce issue ? Is there any workaround ?
from manageiq-api.
Hey @szajac01 sorry for the delay I am investigating this issues now. When I used the payload that you provided, specifically "vm_fields":[ { "vm_memory": "8192" } ]
I ended up with a reconfig spec that was empty.
It appears that the correct payload would be:
{ "action":"create", "options":{ "src_ids":[ "2" ], "request_type":"vm_reconfigure", "vm_memory": "8192" }, "auto_approve":true }
That would be the same for the CPU options as well ("cores_per_socket"
and "number_of_cpus"
)
from manageiq-api.
Where did you see the "vm_fields"
style? I want to make sure to correct any documentation that is inaccurate. I also don't see any API examples in the docs of reconfigure so I'll add one
from manageiq-api.
I see vm_fields comes from the miq_provision request, this isn't the same for reconfigure.
@szajac01 See https://www.manageiq.org/docs/reference/latest/api/examples/reconfigure_vm.html for examples of VM reconfigure requests
from manageiq-api.
Nice catch @szajac01 do you want to contribute a fix? If not I can do it. File in question is in https://github.com/ManageIQ/manageiq-documentation/blob/master/api/examples/reconfigure_vm.md
from manageiq-api.
Related Issues (20)
- Slow API requests part deux HOT 17
- Switch tag subcollection missing HOT 2
- Api for timeline charts. HOT 7
- Need API for Cloud Volume Snapshot Subcollection HOT 3
- Sporadic test failure in authentication_spec HOT 4
- Need Policy Simulation Endpoints for non-VM options HOT 2
- Template API Issue with child_resources HOT 5
- If a resource doesnโt come in as hash or `{}` return bad request error HOT 4
- Sporadic test failure with authentication_spec HOT 12
- API Interface Changes HOT 6
- Issue while creating a Custom Button with expression via API HOT 9
- Incorrect work of role accesses in API HOT 6
- New API endpoints HOT 2
- [OPARIN] API Interface Changes
- Add support for Native Console over the API /vm#request_console
- [RFE] Ability to change Catalog Item Request Info via API HOT 9
- Auth API action
- Can't create a user for multiple groups HOT 7
- Dependency Dashboard
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manageiq-api.