I am trying to connect an EXSi host version 8.0.3 in a VMWare cluster. I am connecting directly to the host, but when I try to import it, I get the following error:
create storage failed: Skipping vCLS agent VM: vCLS-4c4c4544-0058-5410-8057-c3c04f485132 'NoneType' object has no attribute 'files' (500)
I am running pve-exsi-import-tools 7.2.4. Looking at the python script, it has been updated to ignore the vCLS items based on this
with connect_to_esxi_host(connection_args) as connection:
data = {}
for vm in list_vms(connection):
# drop vCLS machines
if is_vcls_agent_vm(vm):
print(f"Skipping vCLS agent VM: {vm.name}", file=sys.stderr)
continue
# drop vms with empty datastore
if is_diskless_vm(vm):
print(f"Skipping diskless VM: {vm.name}", file=sys.stderr)
continue
try:
fetch_and_update_vm_data(vm, data)
except Exception as err:
print(
f"Failed to get info for VM {vm.name}: {err}",
file=sys.stderr,
)
json.dump(data, sys.stdout, indent=2, default=json_dump_helper)
I am working on a production environment and can not remove Retreat at this time. Is that the only option I have right now? Proxmox cannot directly access the datastore on the VMware host, as it can not read the LUN.
create storage failed: Skipping vCLS agent VM: vCLS-4c4c4544-0058-5410-8057-c3c04f485132 'NoneType' object has no attribute 'files' (500)
I am running pve-exsi-import-tools 7.2.4. Looking at the python script, it has been updated to ignore the vCLS items based on this
with connect_to_esxi_host(connection_args) as connection:
data = {}
for vm in list_vms(connection):
# drop vCLS machines
if is_vcls_agent_vm(vm):
print(f"Skipping vCLS agent VM: {vm.name}", file=sys.stderr)
continue
# drop vms with empty datastore
if is_diskless_vm(vm):
print(f"Skipping diskless VM: {vm.name}", file=sys.stderr)
continue
try:
fetch_and_update_vm_data(vm, data)
except Exception as err:
print(
f"Failed to get info for VM {vm.name}: {err}",
file=sys.stderr,
)
json.dump(data, sys.stdout, indent=2, default=json_dump_helper)
I am working on a production environment and can not remove Retreat at this time. Is that the only option I have right now? Proxmox cannot directly access the datastore on the VMware host, as it can not read the LUN.