NetworkConfigPlugin has no attribute 'NetworkDetails'
Hi,
currently we want to deploy a windows virtual machine in VMWare and inject the users password and network configuration with cloudbase init. Since we updated our cloudbase init version from 0.9.11 to the latest 1.1.1 we receive the following error after deploying the vm:
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init [-] module 'cloudbaseinit.metadata.services.base' has no attribute 'NetworkDetails': AttributeError: module 'cloudbaseinit.metadata.services.base' has no attribute 'NetworkDetails'
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init Traceback (most recent call last):
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py", line 67, in execplugin
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init shared_data)
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\networkconfig.py", line 309, in execute
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init networkdetails = service.getnetwork_details()
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cbinitvmware\metadata.py", line 212, in getnetworkdetails
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init nicdetails = self.processnicconfig(nic_config)
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cbinitvmware\metadata.py", line 190, in processnic_config
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init return servicebase.NetworkDetails(name=ifname, mac=if_mac.upper(),
- 2020-05-05 11:39:16.826 3272 ERROR cloudbaseinit.init AttributeError: module 'cloudbaseinit.metadata.services.base' has no attribute 'NetworkDetails'
Furthermore the application does not set the password correctly. I had to reset at to get access to the console. Unfortunately cloudbase init wrote, that the change was successfully:
- INFO cloudbaseinit.plugins.common.setuserpassword [-] Password succesfully updated for user Administrator
Do you have a clue what this behaviour could cause? If you need further information, please let me know.