Errors after pve-esxi-import-tools upgrade to 0.7.3

tizianozorzo

New Member
Apr 22, 2025
1
0
1
Hi there,
after an upgrade to "pve-esxi-import-tools" some users like me experienced an error during the Esxi storage type creation.
The error is " create storage failed: 'NoneType' object has no attribute 'extraConfig' (500)".

After a quick code review the reasons seems to be in https://git.proxmox.com/?p=pve-esxi...;hpb=fd97b5d38aed97ba009dd118b5afe9b3b661dca2


Code:
vCLS = any(cfg.key == "HDCS.agent"
+                       and cfg.value.lower() == "true"
+                       for cfg in vm.config.extraConfig)

The attribute extraConfig is not present in all esxi versions / configuration.

For now the only solution is to downgrade to 0.7.2

Code:
apt install —reinstall pve-esxi-import-tools=0.7.2


I don't know if this is the right place to discuss this kind of argument, if not please let me know.


Thank you for your feedback
 
Hi there,

thanks for reporting this.

As mentioned by @fiona please use our bugzilla so we can track this. Please let us know which ESXI version you are using and how it's set up.