During the configuration of network it give an error and the bond is not configure and no IP either. If I dont do anything and reboot, the configuration does work and the bond and is configured
Cloudbase-Init version: 0.9.12.dev52 with configdrive metadata
Windows Server 2012 R2
Windows Server Datacenter 2012 R2
During the configuration of network it give an error and the bond is not configure and no IP either. If I dont do anything and reboot, the configuration does work and the bond and is configured
Cloudbase-Init version: 0.9.12.dev52 with configdrive metadata
Windows Server 2012 R2
Windows Server Datacenter 2012 R2
part of the log with the error:
2019-05-31 16:13:45.185 1136 INFO cloudbaseinit.init [-] Executing plugins for stage 'MAIN': lugin' utils.classload er [-] Loading class 'cloudbaseinit. osutils. windows. WindowsUtils' load_class c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ utils\classload er.py:27 plugins. common. networkconfig [-] Renaming network adapter "Ethernet 2" to "eth0" plugins. common. networkconfig [-] Setting MTU on network adapter "eth0": 1500 _process_ link_common c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ plugins\ common\ networkconfig. py:180 osutils. windows [-] Setting MTU for interface "eth0" with value "1500" set_network_ adapter_ mtu c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ osutils\ windows. py:780 plugins. common. networkconfig [-] Enable network adapter "eth0": True _process_ link_common c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ plugins\ common\ networkconfig. py:185 plugins. common. networkconfig [-] Renaming network adapter "Ethernet" to "eth1" plugins. common. networkconfig [-] Setting MTU on network adapter "eth1": 1500 _process_ link_common c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ plugins\ common\ networkconfig. py:180 osutils. windows [-] Setting MTU for interface "eth1" with value "1500" set_network_ adapter_ mtu c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ osutils\ windows. py:780 plugins. common. networkconfig [-] Enable network adapter "eth1": True _process_ link_common c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ plugins\ common\ networkconfig. py:185 plugins. common. networkconfig [-] Creating network team: bond_bond0 utils.classload er [-] Loading class 'cloudbaseinit. utils.windows. netlbfo. NetLBFOTeamMana ger' load_class c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ utils\classload er.py:27 utils.classload er [-] Loading class 'cloudbaseinit. osutils. windows. WindowsUtils' load_class c:\program files\cloudbase solutions\ cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ utils\classload er.py:27 lugin' failed with error '<x_wmi: MI_RESULT_FAILED (0, 'MI_RESULT_FAILED', (0, None, 'MI_RESULT_FAILED', None, None, 0), None)>': wmi.x_wmi: <x_wmi: MI_RESULT_FAILED (0, 'MI_RESULT_FAILED', (0, None, 'MI_RESULT_FAILED', None, None, 0), None)> cloudbase- init\python\ lib\site- packages\ wmi\__init_ _.py", line 98, in func_wrapper cloudbase- init\python\ lib\site- packages\ wmi\__init_ _.py", line 50, in wrapper cloudbase- init\python\ lib\site- packages\ wmi\__init_ _.py", line 696, in create_instance cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ init.py" , line 67, in _exec_plugin cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ plugins\ common\ networkconfig. py", line 305, in execute network_ details_ v2(network_ details) cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ plugins\ common\ networkconfig. py", line 295, in _process_ network_ details_ v2 ugin._process_ bond_links( osutils, network_details) cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ plugins\ common\ networkconfig. py", line 220, in _process_bond_links nic_vlan_ id, link.bond. lacp_rate) cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ osutils\ windows. py", line 974, in create_network_team nic_vlan_ id, lacp_timer) cloudbase- init\python\ lib\site- packages\ cloudbaseinit\ utils\windows\ netlbfo. py", line 150, in create_team operation_ options= operation_ options) cloudbase- init\python\ lib\site- packages\ wmi\__init_ _.py", line 98, in func_wrapper cloudbase- init\python\ lib\site- packages\ wmi\__init_ _.py", line 306, in put create_ instance( self, operation_options) cloudbase- init\python\ lib\site- packages\ wmi\__init_ _.py", line 111, in func_wrapper
2019-05-31 16:13:45.185 1136 INFO cloudbaseinit.init [-] Executing plugin 'NetworkConfigP
2019-05-31 16:13:45.185 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:45.185 1136 INFO cloudbaseinit.
2019-05-31 16:13:45.798 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:45.798 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:45.829 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:46.001 1136 INFO cloudbaseinit.
2019-05-31 16:13:46.282 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:46.282 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:46.314 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:46.470 1136 INFO cloudbaseinit.
2019-05-31 16:13:46.470 1136 DEBUG cloudbaseinit.
2019-05-31 16:13:46.470 1136 DEBUG cloudbaseinit.
2019-05-31 16:14:23.586 1136 ERROR cloudbaseinit.init [-] plugin 'NetworkConfigP
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init [-] <x_wmi: MI_RESULT_FAILED (0, 'MI_RESULT_FAILED', (0, None, 'MI_RESULT_FAILED', None, None, 0), None)>: wmi.x_wmi: <x_wmi: MI_RESULT_FAILED (0, 'MI_RESULT_FAILED', (0, None, 'MI_RESULT_FAILED', None, None, 0), None)>
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init Traceback (most recent call last):
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init return func(*args, **kwargs)
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init return f(*args, **kwargs)
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init operation_options)
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init PyMI.error: {'error_code': 0, 'mi_result': 1, 'message': 'MI_RESULT_FAILED'}
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init During handling of the above exception, another exception occurred:
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init Traceback (most recent call last):
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init shared_data)
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init return self._process_
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init NetworkConfigPl
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init primary_
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init primary_nic_name, primary_
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init team.put(
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init return func(*args, **kwargs)
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init self._conn.
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init File "c:\program files\cloudbase solutions\
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init raise x_wmi(err_msg, com_ex)
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init wmi.x_wmi: <x_wmi: MI_RESULT_FAILED (0, 'MI_RESULT_FAILED', (0, None, 'MI_RESULT_FAILED', None, None, 0), None)>
2019-05-31 16:14:23.601 1136 ERROR cloudbaseinit.init