New Question

MarcelMertens's profile - activity

2017-04-14 10:27:09 +0200 received badge  Notable Question (source)
2017-04-14 10:27:09 +0200 received badge  Famous Question (source)
2016-03-27 14:58:01 +0200 received badge  Popular Question (source)
2016-03-24 08:27:12 +0200 answered a question 'NetworkConfigPlugin' failed with error '(-2147217398, 'OLE error 0x8004100a'..

Hi,

let me tell what i try to archiv:

I'd like to deploy a Windows Server OS with installed Microsoft SCCM Client. The installation of the SCCM Client should be done via USERDATA Commands.

So i see two possiblities:

  1. (i currently try) Configure Network, download/install/configure SCCM Client during Sysprep. For downloading and configuring i need a network connection.

  2. Configure Network, download/install/configure SCCM Client during normal startup (Cloudbase-Init Service). Here i'm not 100% clear: The USERDATA Script will be executed every time the instance starts up? So i have to insert a precheck if the script was executed before?

2016-03-23 17:31:36 +0200 received badge  Editor (source)
2016-03-23 17:23:30 +0200 asked a question 'NetworkConfigPlugin' failed with error '(-2147217398, 'OLE error 0x8004100a'..

Hello, i try to deploy Windows Server 2012 R2 with the lastest Cloudbase-Init. Hypervisor is VMware vSphere 6.0 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 ...
(more)