"message": "must NOT have additional properties"
Hi,
I have an issue like this, not creating a new vm but on import a .ova to xen orchestra.
Xen Orchestra, commit e69ae
xo-server 5.102.0
xo-web 5.103.0
I cannot import .ova to Xen Orchestra.
See below the log error:
vm.import
{
"type": "ova",
"data": {
"descriptionLabel": "Other_64",
"disks": [
{
"capacity": 500107862016,
"descriptionLabel": "Disk Image",
"nameLabel": "disk1",
"path": "WMS-WINDOWS-ANJUSS-disk001.vmdk",
"position": 0
}
],
"memory": 4294967296,
"nameLabel": "wms-winsrv-anjuss",
"networks": [
"91be313d-099b-c310-7125-c6a2c8fedaff"
],
"nCpus": 1,
"tables": {}
},
"sr": "892d9a2e-9688-ff37-dd53-2e502981f46a"
}
{
"code": 10,
"data": {
"errors": [
{
"instancePath": "/data",
"schemaPath": "#/properties/data/additionalProperties",
"keyword": "additionalProperties",
"params": {
"additionalProperty": "tables"
},
"message": "must NOT have additional properties"
}
]
},
"message": "invalid parameters",
"name": "XoError",
"stack": "XoError: invalid parameters
at Module.invalidParameters (/opt/xen-orchestra/packages/xo-common/api-errors.js:26:11)
at Xo.call (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:65:20)
at Api.#callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:390:19)"
}
Please help! Thanks!