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
The attribute extraConfig is not present in all esxi versions / configuration.
For now the only solution is to downgrade to 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
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