Bug 1623574
| Summary: | unable to add disk to vm via rest-api vm reconfiguration on vmware [request backport from existing commit] | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Satoe Imaishi <simaishi> |
| Component: | API | Assignee: | Gregg Tanzillo <gtanzill> |
| Status: | CLOSED ERRATA | QA Contact: | Kedar Kulkarni <kkulkarn> |
| Severity: | low | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.8.2 | CC: | agrare, bascar, mkourim, obarenbo, smallamp |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.8.5 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 5.8.5.1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1618517 | Environment: | |
| Last Closed: | 2018-09-26 18:36:56 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1618517 | ||
| Bug Blocks: | |||
|
Comment 2
CFME Bot
2018-09-04 17:56:26 UTC
With API Payload like :
{
"action": "create",
"options": {
"src_ids": [
"7"
],
"request_type": "vm_reconfigure",
"disk_add": [
{
"disk_size_in_mb": 2048,
"sync": true,
"datastore": "Datastore_1",
"persistent": true,
"thin_provisioned": false,
"dependent": true,
"bootable": false
}
]
},
"auto_approve": false
}
to API : https://{{ appliance_ip }}/api/requests
I was able to reconfigure VM to create a new disk and attach to the VM by vm_id.
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/RHSA-2018:2745 |