cloudify-cosmo / cloudify-vsphere-plugin

Cloudify vSphere Plugin
Apache License 2.0
10 stars 17 forks source link

CYBL-2073-Handle-NVRAM-OVF #238

Closed ahmadiesa-abu closed 1 year ago

ahmadiesa-abu commented 1 year ago

if the ova file contains nvram file vSphere will throw 405 error, and based on this issue

https://github.com/vmware/pyvmomi-community-samples/issues/540 , it seems we can ignore that file from the upload

description about the file : it is holding state of of the VM BIOS - and is considered by VMware Workstation or VMware Fusion - not vSphere.

File "/opt/mgmtworker/env/plugins/default_tenant/cloudify-vsphere-plugin/2.20.1/lib64/python3.6/site-packages/cloudify_vsphere/ovf/__init__.py", line 99, in upload_disks
  'Hit an error in upload: {0}'.format(ex))
cloudify.exceptions.NonRecoverableError: Hit an error in upload: HTTP Error 405: Method Not Allowed