sureshanaparti opened a new issue, #148:
URL: https://github.com/apache/cloudstack-cloudmonkey/issues/148

   
   serviceofferingid autocomplete in deploy virtualmachine api cmd doesn't list 
the offering ids, instead picks some integer id.
   Maybe, parsing issue in the API response.
   
   Noticed this issue in cmk 6.3.0 / 6.4.0 RC1.
   
   `(cmk) 🐱 > deploy virtualmachine serviceofferingid=[debug] Possible related 
noun for the arg: serviceofferings and type: uuid`
   `[debug] Autocomplete: API found using heuristics: listServiceOfferings`
   `[debug] NewAPIRequest API request 
URL:http://10.0.33.31:8080/client/api?apiKey=LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q&command=listServiceOfferings&listall=true&response=json&signature=e9sFQuJdyq2gz75ckAM6Yz6CKuA%3D
   ⣟ 😺 fetching options, please wait... [debug] NewAPIRequest response status 
code:200`
   `[debug] NewAPIRequest response 
body:{"listserviceofferingsresponse":{"count":2,"serviceoffering":[{"id":"6e9f3119-2040-4390-89a6-c18c0688eb9a","name":"Small
 Instance","displaytext":"Small 
Instance","cpunumber":1,"cpuspeed":500,"memory":512,"created":"2024-02-21T14:23:19+0000","storagetype":"shared","provisioningtype":"thin","offerha":false,"limitcpuuse":false,"isvolatile":false,"issystem":false,"defaultuse":false,"iscustomized":false,"rootdisksize":0,"dynamicscalingenabled":true,"diskofferingstrictness":false,"encryptroot":false,"hasannotations":false},{"id":"6d4414ad-cafb-419a-b48d-a84cb74dff7f","name":"Medium
 Instance","displaytext":"Medium 
Instance","cpunumber":1,"cpuspeed":1000,"memory":1024,"created":"2024-02-21T14:23:19+0000","storagetype":"shared","provisioningtype":"thin","offerha":false,"limitcpuuse":false,"isvolatile":false,"issystem":false,"defaultuse":false,"iscustomized":false,"rootdisksize":0,"dynamicscalingenabled":true,"diskofferingstrictness":false,"encryptroot":
 false,"hasannotations":false}]}}`
   `(cmk) 🐱 > deploy virtualmachine serviceofferingid=6`
   
   


-- 
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: dev-unsubscr...@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to