Skip to content
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

Add OVF properties to library deploy #1755

Merged
merged 2 commits into from
Dec 31, 2019

Conversation

sneal
Copy link
Contributor

@sneal sneal commented Dec 18, 2019

This addresses issue #1718 so you can deploy an OVA from the content library and specify properties typically required to deploy an OVA.

We're using this to deploy nsx-unified-appliance-2.5.0.0.0.14663978 from our local content library.

@vmwclabot
Copy link
Member

@sneal, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@vmwclabot
Copy link
Member

@sneal, VMware has approved your signed contributor license agreement.

Copy link
Member

@dougm dougm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sneal , looks good.

However, CI failed due to gofmt: https://travis-ci.org/vmware/govmomi/jobs/626805866

@dougm dougm added this to the 0.22 milestone Dec 31, 2019
@dougm dougm merged commit 4000182 into vmware:master Dec 31, 2019
@uempfel
Copy link

uempfel commented Mar 13, 2020

This addresses issue #1718 so you can deploy an OVA from the content library and specify properties typically required to deploy an OVA.

We're using this to deploy nsx-unified-appliance-2.5.0.0.0.14663978 from our local content library.

@sneal Hi,
we're trying to do exactly that for our automated NSX-T deployment.
We took the spec json (via govc import.spec nsx-unified-appliance-2.5.1.0.0.15314292.ova) and adapted it to our needs.

When we tried to apply the spec via the -optionsflag, vCenter started the process the request but failed with the following message:
A general runtime error occurred. An error occurred: Could not convert field 'selected key' of structure 'com.vmware.vcenter.ovf.deployment option params'

I suppose we just configured the spec wrong. Could you provide a working example spec for the nsx-appliance? Thanks in advance!

@uempfel
Copy link

uempfel commented Mar 15, 2020

We found the issue, it is related to this bug:

Building govc from master resolved the issue, we'll just wait for the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants