New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to add custom disk offer to data disk (created from multi-disk template) #3341
Comments
Custom disk offering for multi-disk ova is not supported because the ova template already may have a data disk/template with fixed size. A custom disk offering would mean, if the provided value is smaller then the data disk is shrunk otherwise expanded. @nvazquez can you share your view? |
Hi @rhtyd I see your point but this way we would need to create all kind of disk offerings. What I mean is, a data disk can come with a size of 85GB and the next one comes with 135GB and so on. So in this case we would first need to create a disk offering which matches the exact size of the disk and after that we would be able to import the template. What I was thinking is that you can choose custom size but define there the exact size of the data disk, so it's not needed to create all the time a new offering for it if none does match. What would be required is to add a hint or something inside the UI and write "please define the disk size of the data disk in the OVA" or something like that. |
I don't think we'll have time for this one, moving it to 4.15 milestone |
@nvazquez this should fixed/changed with 4.15.0.0 vsphere advanced capabilities changes? |
@DaanHoogland the vsphere advanced capabilities change comes with 4.15. I can check it when there is a RC available. |
sorry, i meant 4.15 indeed. the final RC is GA now. |
@Doni7722 can you test latest 4.15.1? We've moved to a new deploy-as-is feature which is more streamlined with vSphere. |
ping @Doni7722 ? |
Hi @rhtyd & @DaanHoogland sorry for the (very) late response... I had a look at the deploy-as-is feature and I can tell you that it works! However I would still like to discuss the current "solution" of this new features as it does not cover all issues:
As I already said the deploy-as-is method does work and all data disks were assigned correctly and were read- & writable. It does come with some cons however were I think that the biggest would be that we are unable to assign a different disk offering or storage tiers to those data-disks as this would be the need for so many use cases (DB data disks, Archive data-disks, etc.). This was not the case under #2146 as here we could assign the correct storage tier but were just not flexible for the disk size. |
@Doni7722 , thanks for the evaluation of the feature. |
@DaanHoogland concerning point 1 - not sure if that's no problem as for example I'm also not able to re-install a VM. The message says that re-installing a VM from the template will only change the root disk but will not touch data disks. However in this case we have mulitple root disks. After trying to re-install the VM it just run into an error and the VM cannot be started. |
Ok @Doni7722 I'm not sure if the problem of .1 is that the disks are all cosidered root, or for instance a VM with multiple root disks should be able to be re-installed, but not being able to is worth an issue ticket. |
ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
With CS 4.11.2. we are able to create templates based on Multi-disks OVA file (see #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
Over API:
Make sure that the disk offer ID is from a disk offer which allows to be a custom value.
EXPECTED RESULTS
VM should be created and CS should allow us to specify a custom size for the data disk
ACTUAL RESULTS
You will retrieve the following error message if used a custom disk offer:
The text was updated successfully, but these errors were encountered: