weizhouapache commented on issue #7776:
URL: https://github.com/apache/cloudstack/issues/7776#issuecomment-1653667060

   
   > > 
   > > ok, agree @soreana ?
   > 
   > @DaanHoogland Yeah, that is makes sense, CloudStack should throw an error 
when only the domain id is provided.
   > 
   > Btw, @DaanHoogland @harikrishna-patnala @weizhouapache the `createNetwork` 
API call was a tip of an ice burg, even if we make it works other API calls 
still have an issue, I've tested a few (`deployVirtualmachine`, 
`createSnapshot`, `createVolume` ) they are all have the same issue ...
   > 
   > ```
   > (localcloud)  > deploy virtualmachine  domainid=<domain id>  
networkids=<network id> serviceofferingid=<service offering id> 
templateid=<template id> zoneid=<zone id>
   > {
   >   "virtualmachine": {
   >     "account": "admin",
   >     "domain": "ROOT",
   >     "domainid": "ea2dcd59-249f-11ee-bb7d-1e000d003377",
   > ...
   >   }
   > }
   > (localcloud)  > create snapshot domainid=<domain id> volumeid=<volume id>
   > {
   >   "snapshot": {
   >     "account": "admin",
   >     "domain": "ROOT",
   >     "domainid": "ea2dcd59-249f-11ee-bb7d-1e000d003377",
   > ..
   >   }
   > }
   > (localcloud)  > create volume  domainid=<domain id> snapshotid=<snapshot 
id>
   > {
   >   "volume": {
   >     "account": "admin",
   >     "domain": "ROOT",
   >     "domainid": "ea2dcd59-249f-11ee-bb7d-1e000d003377",
   > ...
   >   }
   > }
   > ```
   
   @soreana 
   yes
   I prefer not to change any of them. We do not know what the changes might 
cause.
   ui, cmk, users' scripts, terraform, etc


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to