Skip to content

[Vmware][Deploy-as-is] DB exception when the template/appliance has empty default values #5747

@nvazquez

Description

@nvazquez

Cannot deploy VM from a template when:

  • 'Read Settings from OVA' = true
  • The template has one or more properties without a default value (null values)

Example (missing the ovf:value property):

<Property ovf:key="SCHProxyPort" ovf:type="string" ovf:userConfigurable="true">
        <Label>Smart Call Home HTTP Proxy port number</Label>
        <Description>HTTP proxy server port number (Defaults to port 80 if omitted.)</Description>
</Property>

Leads to:
image

ISSUE TYPE
  • Enhancement Request
COMPONENT NAME
VMware
CLOUDSTACK VERSION
4.16 (main)
STEPS TO REPRODUCE
- Register a template missing default values for properties as described above using 'Read Settings from OVA' = true
- Deploy VM
EXPECTED RESULTS
Deployment succeeds
ACTUAL RESULTS
Exception (picture above)

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions