Closed klxfeiyang closed 1 year ago
Right, govc doesn't do any client side manifest validation. That is something we could add. You could also try the govc library.* commands. library.import may also need client side validation, but library.deploy may take care of that on the vCenter side.
The UI did switch to a different API at some point in 6.7 I believe, but the API is internal.
Thanks for responding, Doug! We will try the the library.* commands to take advantage of the vCenter side validation.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen
. Mark the issue as
fresh by adding the comment /remove-lifecycle stale
.
Reopening as requested
Issue
govc import.ova
does not verify the included manifest uploadingova
to vCenter, since it directly uploadsovf
andvmdk
files according to here. This behavior is different than uploading anova
using the vCenter UI commandDeploy OVF Template
which provides verification of the provided manifest file.Reproduce
govc import.ova
See logs below:
Uploading the same ova file via vCenter UI results in an error:
Version
Notes
It appears that uploading OVA using the vCenter UI shows the
Import OVF package
task insteadgovc import.ova
shows theDeploy OVF template
task. This suggests that thegovc
client is using a different vCenter API for uploading theova
file.