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

tizianozorzo

New Member
Apr 22, 2025
1
1
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
 
  • Like
Reactions: Rayhold
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.
 
@tizianozorzo Thank you very much for this, I couldn't understand why I couldn't connect one of our esxis, when months ago we could connect them without any issues. Lesson learned :)

If it helps, our ESXI environment is pretty old on 7.0.3q, which I didn't bothered to upgrade since Proxmox was on sights.
 
For reference, the issue has been fixed since pve-esxi-import-tools>=0.7.4 by this commit.