Bug 1618517
| 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: | Reartes Guillermo <greartes> | |
| Component: | API | Assignee: | Gregg Tanzillo <gtanzill> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Parthvi Vala <pvala> | |
| Severity: | low | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.8.2 | CC: | agrare, mkourim, obarenbo, simaishi, smallamp | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.10.0 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1623573 1623574 (view as bug list) | Environment: | ||
| Last Closed: | 2019-02-12 16:49:52 UTC | Type: | Bug | |
| 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: | ||||
| Bug Blocks: | 1623573, 1623574 | |||
|
Description
Reartes Guillermo
2018-08-16 20:13:22 UTC
FIXED. Verified on 5.10.0.23.20181106165157_92dd189 with vmware (vCenter 6.7).
POST /api/requests
{
"action": "create",
"options": {
"src_ids": ["92"],
"request_type": "vm_reconfigure",
"disk_add": [
{
"disk_size_in_mb": 20480,
"sync": true,
"datastore": "NFS_Datastore_1",
"persistent": true,
"thin_provisioned": false,
"dependent": true,
"bootable": false
}
]
},
"auto_approve": false
}
GET /api/requests/:id
{
"href": "https://<ip_address>/api/requests/:id",
"id": "3",
"description": "VM Reconfigure for: pvala_vm_001 - Add Disks: 1",
"approval_state": "approved",
"type": "VmReconfigureRequest",
"created_on": "2018-11-13T10:00:35Z",
"updated_on": "2018-11-13T10:05:17Z",
"fulfilled_on": "2018-11-13T10:05:17Z",
"requester_id": "1",
"requester_name": "Administrator",
"request_type": "vm_reconfigure",
"request_state": "finished",
"message": "VM Reconfigure complete",
"status": "Ok",
"options": {
"src_ids": [
"92"
],
"request_type": "vm_reconfigure",
"disk_add": [
{
"disk_size_in_mb": 20480,
"sync": true,
"disk_name": "New Disk",
"datastore": "NFS_Datastore_1",
"persistent": true,
"thin_provisioned": false,
"dependent": true,
"bootable": false
}
],
"executed_on_servers": [
1,
1
],
"delivered_on": "2018-11-13T10:00:48.109Z"
},
"userid": "admin",
"source_id": null,
"source_type": null,
"destination_id": null,
"destination_type": null,
"tenant_id": "1",
"service_order_id": null,
"process": true,
"cancelation_status": null,
"actions": [
...
]
}
|