Hello, i try to deploy Windows Server 2012 R2 with the lastest Cloudbase-Init Imaged. Meta-data ist Provided via ConfigDrive, during sysprep phase i receive the following error:
cloudbase-init-unattend.log
2016-03-16 14:52:52.685 1896 DEBUG cloudbaseinit.utils.debiface [-] Found new interface: {'mac': 'FA:16:3E:59:E2:B0', 'netmask6': None, 'dnsnameservers': ['145.228.121.70'], 'name': 'eth0', 'broadcast': '10.6.228.127', 'gateway6': None, 'netmask': '255.255.255.192', 'address': '10.6.228.74', 'address6': None, 'gateway': '10.6.228.65'} _add_nic c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\debiface.py:103
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init [-] plugin 'NetworkConfigPlugin' failed with error '(-2147217398, 'OLE error 0x8004100a', None, None)'
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init [-] (-2147217398, 'OLE error 0x8004100a', None, None)
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init Traceback (most recent call last):
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 75, in _exec_plugin
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init shared_data)
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\plugins\common\networkconfig.py", line 131, in execute
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init network_adapters = osutils.get_network_adapters()
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py", line 474, in get_network_adapters
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init q = conn.query(wql)
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\wmi.py", line 1030, in query
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init return [ _wmi_object (obj, instance_of, fields) for obj in self._raw_query(wql) ]
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\wmi.py", line 1030, in <listcomp>
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init return [ _wmi_object (obj, instance_of, fields) for obj in self._raw_query(wql) ]
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\win32com\client\dynamic.py", line 247, in __getitem__
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init return self._get_good_object_(self._enum_.__getitem__(index))
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\win32com\client\util.py", line 37, in __getitem__
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init return self.__GetIndex(index)
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\win32com\client\util.py", line 53, in __GetIndex
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init result = self._oleobj_.Next(1)
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init pywintypes.com_error: (-2147217398, 'OLE error 0x8004100a', None, None)
2016-03-16 14:52:52.763 1896 ERROR cloudbaseinit.init
After sysprep the Windows System will boot up and the Cloudbase Service will set the IP Config successful.
Any idea what i'm doing wrong?
Thank you