New Question

Revision history [back]

click to hide/show revision 1
initial version

my local script do not run

I have simple batch

rem cmd echo 2 >c:\text.txt

in C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts

for some reason it does not run

this is the log

2019-11-12 03:42:12.144 1460 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:12.769 1460 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: cloudbase-init checkserviceexists c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:894 2019-11-12 03:42:12.785 1460 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloudbase-init getserviceusername c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1027 2019-11-12 03:42:12.785 1460 DEBUG cloudbaseinit.osutils.windows [-] Resetting password for service user: .\cloudbase-init resetservicepassword c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1050 2019-11-12 03:42:12.848 1460 DEBUG cloudbaseinit.osutils.windows [-] Setting service credentials: cloudbase-init setservicecredentials c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1010 2019-11-12 03:42:12.894 1460 INFO cloudbaseinit.init [-] Respawning current process with updated credentials. 2019-11-12 03:42:12.894 1460 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user: .\cloudbase-init createuserlogonsession c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:566 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell [-] Cannot load user profile: 'The device is not ready.' 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell Traceback (most recent call last): 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\shell.py", line 41, in main 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell init.InitManager().configurehost() 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 166, in configurehost 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell self.resetservicepasswordandrespawn(osutils) 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 156, in _resetservicepasswordandrespawn 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell logontype=osutils.LOGON32LOGONBATCH) 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py", line 587, in createuserlogonsession 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell "Cannot load user profile: %r") 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell cloudbaseinit.exception.WindowsCloudbaseInitException: Cannot load user profile: 'The device is not ready.' 2019-11-12 03:42:12.894 1460 ERROR cloudbaseinit.shell 2019-11-12 03:42:56.803 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:57.037 1444 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: cloudbase-init checkserviceexists c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:894 2019-11-12 03:42:57.053 1444 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloudbase-init getserviceusername c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1027 2019-11-12 03:42:57.053 1444 DEBUG cloudbaseinit.osutils.windows [-] Resetting password for service user: .\cloudbase-init resetservicepassword c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1050 2019-11-12 03:42:57.131 1444 DEBUG cloudbaseinit.osutils.windows [-] Setting service credentials: cloudbase-init setservicecredentials c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1010 2019-11-12 03:42:57.162 1444 INFO cloudbaseinit.init [-] Respawning current process with updated credentials. 2019-11-12 03:42:57.162 1444 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user: .\cloudbase-init createuserlogonsession c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:566 2019-11-12 03:42:57.162 1444 DEBUG cloudbaseinit.osutils.windows [-] Executing process as user, command line: ['C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Scripts\cloudbase-init', '--config-file', 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf', '--noresetservicepassword'] executeprocessasuser c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:620 2019-11-12 03:42:57.725 1876 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:57.787 1876 INFO cloudbaseinit.init [-] Cloudbase-Init version: 0.9.11 2019-11-12 03:42:57.787 1876 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:57.834 1876 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:57.865 1876 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:57.959 1876 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:58.084 1876 DEBUG cloudbaseinit.utils.classloader [-] Loading class '' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell [-] list index out of range 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell Traceback (most recent call last): 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\shell.py", line 41, in main 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell init.InitManager().configurehost() 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 173, in configurehost 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell pluginsbase.PLUGINSTAGEPRENETWORKING) 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 105, in handlepluginsstage 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell plugins = pluginsfactory.loadplugins(stage) 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\plugins\factory.py", line 68, in loadplugins 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell plugincls = cl.loadclass(classpath) 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py", line 29, in loadclass 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell module = import(parts[0], fromlist=parts[1]) 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell IndexError: list index out of range 2019-11-12 03:42:58.100 1876 ERROR cloudbaseinit.shell 2019-11-12 03:42:58.256 1444 INFO cloudbaseinit.init [-] Process execution ended with exit code: 1 2019-11-12 03:43:23.591 1436 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:43:23.654 1436 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: cloudbase-init checkserviceexists c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:894 2019-11-12 03:43:23.669 1436 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloudbase-init getserviceusername c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1027 2019-11-12 03:43:23.669 1436 DEBUG cloudbaseinit.osutils.windows [-] Resetting password for service user: .\cloudbase-init resetservicepassword c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1050 2019-11-12 03:43:23.810 1436 DEBUG cloudbaseinit.osutils.windows [-] Setting service credentials: cloudbase-init setservicecredentials c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1010 2019-11-12 03:43:23.841 1436 INFO cloudbaseinit.init [-] Respawning current process with updated credentials. 2019-11-12 03:43:23.841 1436 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user: .\cloudbase-init createuserlogonsession c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:566 2019-11-12 03:43:23.841 1436 DEBUG cloudbaseinit.osutils.windows [-] Executing process as user, command line: ['C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Scripts\cloudbase-init', '--config-file', 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf', '--noresetservicepassword'] executeprocessasuser c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:620 2019-11-12 03:43:24.373 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:43:24.435 1444 INFO cloudbaseinit.init [-] Cloudbase-Init version: 0.9.11 2019-11-12 03:43:24.435 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:43:24.451 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:43:24.451 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:43:24.466 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:43:24.482 1444 DEBUG cloudbaseinit.utils.classloader [-] Loading class '' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell [-] list index out of range 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell Traceback (most recent call last): 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\shell.py", line 41, in main 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell init.InitManager().configurehost() 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 173, in configurehost 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell pluginsbase.PLUGINSTAGEPRENETWORKING) 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 105, in _handlepluginsstage 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell plugins = pluginsfactory.loadplugins(stage) 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\plugins\factory.py", line 68, in loadplugins 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell plugincls = cl.loadclass(classpath) 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py", line 29, in loadclass 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell module = import(parts[0], fromlist=parts[1]) 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell IndexError: list index out of range 2019-11-12 03:43:24.482 1444 ERROR cloudbaseinit.shell 2019-11-12 03:43:24.591 1436 INFO cloudbaseinit.init [-] Process execution ended with exit code: 1 2019-11-12 03:58:36.490 1516 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:58:36.552 1516 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: cloudbase-init checkserviceexists c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:894 2019-11-12 03:58:36.562 1516 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloudbase-init getserviceusername c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1027 2019-11-12 03:58:36.572 1516 DEBUG cloudbaseinit.osutils.windows [-] Resetting password for service user: .\cloudbase-init resetservicepassword c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1050 2019-11-12 03:58:36.627 1516 DEBUG cloudbaseinit.osutils.windows [-] Setting service credentials: cloudbase-init setservicecredentials c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1010 2019-11-12 03:58:36.648 1516 INFO cloudbaseinit.init [-] Respawning current process with updated credentials. 2019-11-12 03:58:36.649 1516 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user: .\cloudbase-init createuserlogonsession c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:566 2019-11-12 03:58:36.653 1516 DEBUG cloudbaseinit.osutils.windows [-] Executing process as user, command line: ['C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Scripts\cloudbase-init', '--config-file', 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf', '--noresetservicepassword'] executeprocessasuser c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:620 2019-11-12 03:58:37.181 916 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:58:37.243 916 INFO cloudbaseinit.init [-] Cloudbase-Init version: 0.9.11 2019-11-12 03:58:37.247 916 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:58:37.259 916 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:58:37.270 916 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:58:37.287 916 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:58:37.303 916 DEBUG cloudbaseinit.utils.classloader [-] Loading class '' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell [-] list index out of range 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell Traceback (most recent call last): 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\shell.py", line 41, in main 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell init.InitManager().configurehost() 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 173, in configurehost 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell pluginsbase.PLUGINSTAGEPRENETWORKING) 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 105, in _handlepluginsstage 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell plugins = pluginsfactory.loadplugins(stage) 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\plugins\factory.py", line 68, in loadplugins 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell plugincls = cl.loadclass(classpath) 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py", line 29, in loadclass 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell module = import(parts[0], fromlist=parts[1]) 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell IndexError: list index out of range 2019-11-12 03:58:37.311 916 ERROR cloudbaseinit.shell 2019-11-12 03:58:37.430 1516 INFO cloudbaseinit.init [-] Process execution ended with exit code: 1 2019-11-12 03:59:15.216 1296 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:59:15.528 1296 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: cloudbase-init checkserviceexists c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:894 2019-11-12 03:59:15.528 1296 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloudbase-init getserviceusername c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1027 2019-11-12 03:59:15.544 1296 DEBUG cloudbaseinit.osutils.windows [-] Resetting password for service user: .\cloudbase-init resetservicepassword c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1050 2019-11-12 03:59:15.622 1296 DEBUG cloudbaseinit.osutils.windows [-] Setting service credentials: cloudbase-init setservicecredentials c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1010 2019-11-12 03:59:15.653 1296 INFO cloudbaseinit.init [-] Respawning current process with updated credentials. 2019-11-12 03:59:15.653 1296 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user: .\cloudbase-init createuserlogonsession c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:566 2019-11-12 03:59:15.653 1296 DEBUG cloudbaseinit.osutils.windows [-] Executing process as user, command line: ['C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Scripts\cloudbase-init', '--config-file', 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf', '--noresetservicepassword'] executeprocessasuser c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:620 2019-11-12 03:59:16.137 1236 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:59:16.201 1236 INFO cloudbaseinit.init [-] Cloudbase-Init version: 0.9.11 2019-11-12 03:59:16.201 1236 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:59:16.231 1236 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:59:16.247 1236 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:59:16.278 1236 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:59:16.325 1236 DEBUG cloudbaseinit.utils.classloader [-] Loading class '' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell [-] list index out of range 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell Traceback (most recent call last): 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\shell.py", line 41, in main 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell init.InitManager().configurehost() 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 173, in configurehost 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell pluginsbase.PLUGINSTAGEPRENETWORKING) 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 105, in _handlepluginsstage 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell plugins = pluginsfactory.loadplugins(stage) 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\plugins\factory.py", line 68, in loadplugins 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell plugincls = cl.loadclass(classpath) 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py", line 29, in loadclass 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell module = import(parts[0], fromlist=parts[1]) 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell IndexError: list index out of range 2019-11-12 03:59:16.325 1236 ERROR cloudbaseinit.shell 2019-11-12 03:59:16.465 1296 INFO cloudbaseinit.init [-] Process execution ended with exit code: 1 2019-11-12 04:01:36.283 2664 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 04:01:36.346 2664 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: cloudbase-init checkserviceexists c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:894 2019-11-12 04:01:36.346 2664 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloudbase-init getserviceusername c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1027 2019-11-12 04:01:36.361 2664 DEBUG cloudbaseinit.osutils.windows [-] Resetting password for service user: .\cloudbase-init resetservicepassword c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1050 2019-11-12 04:01:36.393 2664 DEBUG cloudbaseinit.osutils.windows [-] Setting service credentials: cloudbase-init setservicecredentials c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:1010 2019-11-12 04:01:36.424 2664 INFO cloudbaseinit.init [-] Respawning current process with updated credentials. 2019-11-12 04:01:36.424 2664 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user: .\cloudbase-init createuserlogonsession c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:566 2019-11-12 04:01:36.424 2664 DEBUG cloudbaseinit.osutils.windows [-] Executing process as user, command line: ['C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\Scripts\cloudbase-init', '--config-file', 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\cloudbase-init.conf', '--noresetservicepassword'] executeprocessasuser c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\osutils\windows.py:620 2019-11-12 04:01:36.908 2712 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 04:01:36.971 2712 INFO cloudbaseinit.init [-] Cloudbase-Init version: 0.9.11 2019-11-12 04:01:36.971 2712 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 04:01:36.986 2712 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 04:01:36.986 2712 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 04:01:37.002 2712 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 04:01:37.018 2712 DEBUG cloudbaseinit.utils.classloader [-] Loading class '' loadclass c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py:27 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell [-] list index out of range 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell Traceback (most recent call last): 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\shell.py", line 41, in main 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell init.InitManager().configurehost() 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 173, in configurehost 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell pluginsbase.PLUGINSTAGEPRENETWORKING) 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\init.py", line 105, in _handlepluginsstage 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell plugins = pluginsfactory.loadplugins(stage) 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\plugins\factory.py", line 68, in loadplugins 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell plugincls = cl.loadclass(classpath) 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell File "c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\utils\classloader.py", line 29, in loadclass 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell module = import(parts[0], fromlist=parts[1]) 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell IndexError: list index out of range 2019-11-12 04:01:37.018 2712 ERROR cloudbaseinit.shell 2019-11-12 04:01:37.127 2664 INFO cloudbaseinit.init [-] Process execution ended with exit code: 1