-
Notifications
You must be signed in to change notification settings - Fork 23
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
COT considers OVF with different CPU InstanceID across different profiles as invalid #68
Comments
Hm, this is not a use case I've previously encountered. I can look into it (could you provide an OVF file?) but I'm curious, is there a reason you're using a different InstanceID for different configurations, instead of using the same InstanceID for each config-specific CPU item? |
Because according to the OVF spec, section 8.3:
Although, looking back at the VCSA .ovf, that does re-use the InstanceID too. I don't see anything in either the VirtualHardwareSection or DeploymentOptionSection parts of the docs that actually says you can though :-) I've attached an example OVF also. |
Thanks! You want section 9.8 (DeploymentOptionSection):
That said, your approach is also valid (if less common in my own experience), so I will keep looking into this issue 😄 Thanks! |
Aaah. OK. I'll switch over then. There's no need to make life harder :-) If I could get cot to add disks with no images, I think I could ditch my own work altogether, then. |
"Disks with no images" - as in Disk elements with no associated fileRef? COT recognizes these as valid but I don't currently have support for creating them. Wouldn't be hard to add though I think. If that's not what you're looking for, please clarify. |
yes - A type 17 <Item> and a <Disk> with a capacity but no fileRef or populatedSize, so it shows up as an unformatted block device in the final VM. I think a few things use this kind of arrangement for log or database partitions where the sizing is different depending on the deployment option chosen. In my use case, the extra disks only exist in some of the configurations. |
I've just spent a few days writing a similar tool to cot (which I just found, d'oh!), to feed packer output into, as part of an automated build process. My tool also adds properties and DeploymentOptions, to have small/medium/large deploys from one OVA. This is working fine with ovftool.
However, if I say
cot info my-appliance.ova
I getWhich is true, but each of those has a different configuration attribute, which again, is correctly picked up by ovftool. Any ideas what could cause this? I based my changes on the VMware VCSA OVA file, which uses ovf: as a default namespace, whereas cot-generated ovf files explicitly namespace everything...
The text was updated successfully, but these errors were encountered: