Title: ACS 4.18 diskofferingid missing from deployVirtualMachine response · Issue #8120 · apache/cloudstack · GitHub
Open Graph Title: ACS 4.18 diskofferingid missing from deployVirtualMachine response · Issue #8120 · apache/cloudstack
X Title: ACS 4.18 diskofferingid missing from deployVirtualMachine response · Issue #8120 · apache/cloudstack
Description: ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Hypervisor: XenServer OS / ENVIRONMENT CentOS 7 SUMMARY In ACS up until 4.11.2.0, the response to the deployVirtualMachine API call contained the data disk di...
Open Graph Description: ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Hypervisor: XenServer OS / ENVIRONMENT CentOS 7 SUMMARY In ACS up until 4.11.2.0, the response to the deployVirtualMac...
X Description: ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Hypervisor: XenServer OS / ENVIRONMENT CentOS 7 SUMMARY In ACS up until 4.11.2.0, the response to the deployVirtualMac...
Opengraph URL: https://github.com/apache/cloudstack/issues/8120
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ACS 4.18 diskofferingid missing from deployVirtualMachine response","articleBody":"##### ISSUE TYPE\r\n * Bug Report\r\n\r\n\r\n##### COMPONENT NAME\r\n~~~\r\nAPI\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n~~~\r\n4.18\r\n~~~\r\n\r\n##### CONFIGURATION\r\nHypervisor: XenServer\r\n\r\n##### OS / ENVIRONMENT\r\nCentOS 7\r\n\r\n##### SUMMARY\r\nIn ACS up until 4.11.2.0, the response to the _deployVirtualMachine_ API call contained the data disk _diskofferingid_ and _diskofferingname_\r\n\r\nI noticed that on ACS 4.18, this is no longer the case.\r\n\r\n##### STEPS TO REPRODUCE\r\ndeploy a virtual machine with disk offering and size set.\r\n\r\nAPI call extracted from ACS log file:\r\n~~~\r\n2023-10-19 09:41:56,493 DEBUG [c.c.a.ApiServlet] (qtp1444635922-841947:ctx-fcdbc879) (logid:08db5be6) ===START=== 10.12.0.248 -- GET details%5B0%5D.cpuNumber=2\u0026serviceOfferingId=8b6add88-0261-4d05-b04b-146032b8f35b\u0026networkids=6710de0c-d4f5-48bf-bd8b-1543c4d3f888\u0026size=20\u0026details%5B0%5D.cpuSpeed=1000\u0026displayname=test-deb-4%20test-deb-4\u0026name=test-deb-4\u0026zoneId=e99e796c-4e5c-4549-a0d7-ddd3d8526c06\u0026templateId=e9606f2c-a1d1-4548-ae52-00dc36e17662\u0026command=deployVirtualMachine\u0026details%5B0%5D.memory=2048\u0026diskofferingid=05255aa1-1ef4-4698-a151-67809848a646\u0026apiKey=xxxx\u0026signature=xxxx\r\n~~~\r\n\r\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\r\n\r\nMy application polls the job result, and also depends on the returned diskofferingid and diskofferingname fields in the resulting XML document. But both fields are missing, making the application think there is no data disk.\r\n\r\nBefore the upgrade to ACS 4.18, this did work.\r\nThe API docs still list both fields for the response: https://cloudstack.apache.org/api/apidocs-4.18/apis/deployVirtualMachine.html\r\n\r\n\r\n##### ACTUAL RESULTS\r\n\u003c!-- What actually happened? --\u003e\r\n\r\nThe fields are missing now. Result of the job: \r\n\r\n\u003c!-- Paste verbatim command output between quotes below --\u003e\r\n~~~\r\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\r\n\u003cqueryasyncjobresultresponse cloud-stack-version=\"4.18.1.0-SNAPSHOT\"\u003e\r\n \u003caccountid\u003e813308c2-8405-46c3-aa09-0e6bbd90e3b1\u003c/accountid\u003e\r\n \u003cuserid\u003e5f52698d-cdd1-4ce2-ad15-128e414eb42d\u003c/userid\u003e\r\n \u003ccmd\u003eorg.apache.cloudstack.api.command.user.vm.DeployVMCmd\u003c/cmd\u003e\r\n \u003cjobstatus\u003e1\u003c/jobstatus\u003e\r\n \u003cjobprocstatus\u003e0\u003c/jobprocstatus\u003e\r\n \u003cjobresultcode\u003e0\u003c/jobresultcode\u003e\r\n \u003cjobresulttype\u003eobject\u003c/jobresulttype\u003e\r\n \u003cjobresult\u003e\r\n \u003cvirtualmachine\u003e\r\n \u003cid\u003ec4563c04-4e2f-43df-874f-44b90c6627a4\u003c/id\u003e\r\n \u003cname\u003etest-deb-4\u003c/name\u003e\r\n \u003cdisplayname\u003etest-deb-4 test-deb-4\u003c/displayname\u003e\r\n \u003caccount\u003eadmin\u003c/account\u003e\r\n \u003cuserid\u003e5f52698d-cdd1-4ce2-ad15-128e414eb42d\u003c/userid\u003e\r\n \u003cusername\u003eadmin\u003c/username\u003e\r\n \u003cdomainid\u003ef8082002-79f2-41f8-affe-7b8328a8dd20\u003c/domainid\u003e\r\n \u003cdomain\u003eXX\u003c/domain\u003e\r\n \u003ccreated\u003e2023-10-19T09:41:56+0200\u003c/created\u003e\r\n \u003clastupdated\u003e2023-10-19T09:42:33+0200\u003c/lastupdated\u003e\r\n \u003cstate\u003eRunning\u003c/state\u003e\r\n \u003chaenable\u003etrue\u003c/haenable\u003e\r\n \u003czoneid\u003ee99e796c-4e5c-4549-a0d7-ddd3d8526c06\u003c/zoneid\u003e\r\n \u003czonename\u003eXXX\u003c/zonename\u003e\r\n \u003chostcontrolstate\u003eEnabled\u003c/hostcontrolstate\u003e\r\n \u003ctemplateid\u003ee9606f2c-a1d1-4548-ae52-00dc36e17662\u003c/templateid\u003e\r\n \u003ctemplatename\u003edebian-12\u003c/templatename\u003e\r\n \u003ctemplatedisplaytext\u003eDebian 12.2 20231018\u003c/templatedisplaytext\u003e\r\n \u003cpasswordenabled\u003efalse\u003c/passwordenabled\u003e\r\n \u003cserviceofferingid\u003e8b6add88-0261-4d05-b04b-146032b8f35b\u003c/serviceofferingid\u003e\r\n \u003cserviceofferingname\u003exxx\u003c/serviceofferingname\u003e\r\n \u003ccpunumber\u003e2\u003c/cpunumber\u003e\r\n \u003ccpuspeed\u003e1000\u003c/cpuspeed\u003e\r\n \u003cmemory\u003e2048\u003c/memory\u003e\r\n \u003cguestosid\u003e9a37c197-7197-4eee-93ef-e428560d4244\u003c/guestosid\u003e\r\n \u003crootdeviceid\u003e0\u003c/rootdeviceid\u003e\r\n \u003crootdevicetype\u003eROOT\u003c/rootdevicetype\u003e\r\n \u003cnic\u003e\r\n \u003cid\u003e903ff7fa-c03d-4277-b6e6-c86216090921\u003c/id\u003e\r\n \u003cnetworkid\u003e6710de0c-d4f5-48bf-bd8b-1543c4d3f888\u003c/networkid\u003e\r\n \u003cnetworkname\u003exxx\u003c/networkname\u003e\r\n \u003cnetmask\u003exxx\u003c/netmask\u003e\r\n \u003cgateway\u003exxx\u003c/gateway\u003e\r\n \u003cipaddress\u003exxx\u003c/ipaddress\u003e\r\n \u003cisolationuri\u003exxx\u003c/isolationuri\u003e\r\n \u003cbroadcasturi\u003exxx\u003c/broadcasturi\u003e\r\n \u003ctraffictype\u003eGuest\u003c/traffictype\u003e\r\n \u003ctype\u003eShared\u003c/type\u003e\r\n \u003cisdefault\u003etrue\u003c/isdefault\u003e\r\n \u003cmacaddress\u003exxx\u003c/macaddress\u003e\r\n \u003cdeviceid\u003e0\u003c/deviceid\u003e\r\n \u003c/nic\u003e\r\n \u003chypervisor\u003eXenServer\u003c/hypervisor\u003e\r\n \u003cdetails\u003e\r\n {cpuNumber=2, memory=2048, cpuSpeed=1000, hypervisortoolsversion=xenserver56,\r\n platform=device-model:qemu-upstream-compat;apic:true;viridian:true;timeoffset:0;pae:true;acpi:1;hpet:true;secureboot:false;nx:true}\u003c/details\u003e\r\n \u003creadonlydetails\u003edataDiskController, rootDiskController\u003c/readonlydetails\u003e\r\n \u003cisdynamicallyscalable\u003etrue\u003c/isdynamicallyscalable\u003e\r\n \u003costypeid\u003e9a37c197-7197-4eee-93ef-e428560d4244\u003c/ostypeid\u003e\r\n \u003cosdisplayname\u003eDebian GNU/Linux 12 (64-bit)\u003c/osdisplayname\u003e\r\n \u003cpooltype\u003ePreSetup\u003c/pooltype\u003e\r\n \u003creceivedbytes\u003e0\u003c/receivedbytes\u003e\r\n \u003csentbytes\u003e0\u003c/sentbytes\u003e\r\n \u003chasannotations\u003efalse\u003c/hasannotations\u003e\r\n \u003cjobid\u003eabbf6274-ccd1-437d-912a-d94999e8771c\u003c/jobid\u003e\r\n \u003cjobstatus\u003e0\u003c/jobstatus\u003e\r\n \u003c/virtualmachine\u003e\r\n \u003c/jobresult\u003e\r\n \u003cjobinstancetype\u003eVirtualMachine\u003c/jobinstancetype\u003e\r\n \u003cjobinstanceid\u003ec4563c04-4e2f-43df-874f-44b90c6627a4\u003c/jobinstanceid\u003e\r\n \u003ccreated\u003e2023-10-19T09:41:56+0200\u003c/created\u003e\r\n \u003ccompleted\u003e2023-10-19T09:42:33+0200\u003c/completed\u003e\r\n \u003cjobid\u003eabbf6274-ccd1-437d-912a-d94999e8771c\u003c/jobid\u003e\r\n\u003c/queryasyncjobresultresponse\u003e\r\n~~~\r\n","author":{"url":"https://github.com/MartinEmrich","@type":"Person","name":"MartinEmrich"},"datePublished":"2023-10-19T08:03:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/8120/cloudstack/issues/8120"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:86fc107e-d02f-91d4-f2b6-0783410a198e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF88:AF773:1AF0232:25289B5:6A4EB1D9 |
| html-safe-nonce | 29f3189d70f5be04699eb5bbf8249f259f33193e26c30b57d75cda2585c5df52 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjg4OkFGNzczOjFBRjAyMzI6MjUyODlCNTo2QTRFQjFEOSIsInZpc2l0b3JfaWQiOiIzMjY4MTkxMjgwNDY3NzE4NjE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 975a49471ad7ff75383456253c880ad9c2155d707ed03b435bbe532267a97ab4 |
| hovercard-subject-tag | issue:1951545259 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/8120/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7d3af68239413c1b3f744a46a5b3269fe34bcf05113c7d0aa3cd574f089b4610/apache/cloudstack/issues/8120 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7d3af68239413c1b3f744a46a5b3269fe34bcf05113c7d0aa3cd574f089b4610/apache/cloudstack/issues/8120 |
| og:image:alt | ISSUE TYPE Bug Report COMPONENT NAME API CLOUDSTACK VERSION 4.18 CONFIGURATION Hypervisor: XenServer OS / ENVIRONMENT CentOS 7 SUMMARY In ACS up until 4.11.2.0, the response to the deployVirtualMac... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MartinEmrich |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width