shwstppr commented on pull request #5135:
URL: https://github.com/apache/cloudstack/pull/5135#issuecomment-865619844
@Pearl1594 this problem can be with other APIs as well.
```
(localcloud) SBCM5> > create volume name=
diskofferingid=b91448e2-4070-4b4a-8757-e7a5c12f9101
zoneid=e5dff225-ecd6-44d1-b393-2fe1cb233f52
{
"volume": {
"account": "admin",
"created": "2021-06-22T05:54:02+0000",
"destroyed": false,
"diskofferingdisplaytext": "Small Disk, 5 GB",
"diskofferingid": "b91448e2-4070-4b4a-8757-e7a5c12f9101",
"diskofferingname": "Small",
"displayvolume": true,
"domain": "ROOT",
"domainid": "4f507c55-cd47-11eb-bd54-1e009200048a",
"hypervisor": "None",
"id": "f1e40752-9254-4f2d-84f7-724a8961ecb5",
"isextractable": true,
"jobid": "7980a914-7d80-4a7e-ba3d-dfb5aaeaee1b",
"jobstatus": 0,
"name": "b1e98a1f-e9a4-42ed-b59c-970e49a29cac",
"provisioningtype": "thin",
"quiescevm": false,
"size": 5368709120,
"state": "Allocated",
"storagetype": "shared",
"supportsstoragesnapshot": false,
"tags": [],
"type": "DATADISK",
"zoneid": "e5dff225-ecd6-44d1-b393-2fe1cb233f52",
"zonename": "pr5075-t943-vmware-67u3"
}
}
```
Maybe we can add a check in ApiServer that when a param is required, it is
not empty? cc @rhtyd @davidjumani
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]