Doni7722 opened a new issue #3341: Ability to add custom disk offer to data disk (created from multi-disk template) URL: https://github.com/apache/cloudstack/issues/3341 <!-- Verify first that your issue/request is not already reported on GitHub. Also test if the latest release and master branch are affected too. Always add information AFTER of these HTML comments, but no need to delete the comments. --> ##### ISSUE TYPE <!-- Pick one below and delete the rest --> * Improvement Request ##### COMPONENT NAME <!-- Categorize the issue, e.g. API, VR, VPN, UI, etc. --> ~~~ API, UI ~~~ ##### CLOUDSTACK VERSION <!-- New line separated list of affected versions, commit ID for issues on master branch. --> ~~~ 4.11.2 ~~~ ##### CONFIGURATION <!-- Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise --> N/A ##### OS / ENVIRONMENT <!-- Information about the environment if relevant, N/A otherwise --> N/A ##### SUMMARY <!-- Explain the problem/feature briefly --> With CS 4.11.2. we are able to create templates based on Multi-disks OVA file (see https://github.com/apache/cloudstack/pull/2146). If you launch a VM based on this template you need to specify a disk offer per disk you would like to create. The disk offer for the data disks (only data disks are affected) are not allowed to be custom. ##### STEPS TO REPRODUCE <!-- For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate. For new features, show how the feature would be used. --> Over API: <!-- Paste example playbooks or commands between quotes below --> ~~~ deploy virtualmachine templateid=(ID of the MultiOVA template) name=(VM NAME) displayname=(DISPLAYNAME) zoneid=(ZONEIID) serviceofferingid=(SERVICE OFFERING ID ie small, medium,etc) datadiskofferinglist[0].datadisktemplateid=(this is the template UUID for the first data disk) datadiskofferinglist[0].diskofferingid=(ID of a disk offering) ~~~ Make sure that the disk offer ID is from a disk offer which allows to be a custom value. <!-- You can also paste gist.github.com links for larger files --> ##### EXPECTED RESULTS <!-- What did you expect to happen when running the steps above? --> VM should be created and CS should allow us to specify a custom size for the data disk ~~~ ~~~ ##### ACTUAL RESULTS <!-- What actually happened? --> You will retrieve the following error message if used a custom disk offer: <!-- Paste verbatim command output between quotes below --> ~~~ Error: (HTTP 431, error code 4350) Invalid disk offering id X specified for datadisk template X. Custom Disk offerings are not supported for Datadisk templates ~~~
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services