Guest User

cloudbase-init-unattend

a guest
Nov 15th, 2021
17
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2021-11-16 08:11:54.753 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  2. 2021-11-16 08:11:56.691 5008 DEBUG cloudbaseinit.osutils.windows [-] Checking if service exists: cloudbase-init check_service_exists C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1092
  3. 2021-11-16 08:11:56.691 5008 DEBUG cloudbaseinit.osutils.windows [-] Getting service username: cloudbase-init get_service_username C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1225
  4. 2021-11-16 08:11:56.691 5008 INFO cloudbaseinit.osutils.windows [-] Skipping password reset, service running as a built-in account: LocalSystem
  5. 2021-11-16 08:11:56.706 5008 INFO cloudbaseinit.init [-] Cloudbase-Init version: 1.1.2
  6. 2021-11-16 08:11:56.706 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  7. 2021-11-16 08:11:56.721 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.createuser.CreateUserPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  8. 2021-11-16 08:11:56.753 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  9. 2021-11-16 08:11:56.815 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.networkconfig.NetworkConfigPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  10. 2021-11-16 08:11:56.847 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  11. 2021-11-16 08:11:56.940 5008 INFO cloudbaseinit.init [-] Executing plugins for stage 'PRE_NETWORKING':
  12. 2021-11-16 08:11:56.940 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  13. 2021-11-16 08:11:56.940 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.createuser.CreateUserPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  14. 2021-11-16 08:11:56.940 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  15. 2021-11-16 08:11:56.956 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.networkconfig.NetworkConfigPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  16. 2021-11-16 08:11:56.956 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  17. 2021-11-16 08:11:56.956 5008 INFO cloudbaseinit.init [-] Executing plugins for stage 'PRE_METADATA_DISCOVERY':
  18. 2021-11-16 08:11:56.956 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.nocloudservice.NoCloudConfigDriveService' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  19. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "config_drive_types" from group "DEFAULT" is deprecated. Use option "types" from group "config_drive".
  20. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "config_drive_locations" from group "DEFAULT" is deprecated. Use option "locations" from group "config_drive".
  21. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "config_drive_raw_hhd" from group "DEFAULT" is deprecated. Use option "raw_hdd" from group "config_drive".
  22. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "raw_hdd" from group "config_drive" is deprecated for removal. Its value may be silently ignored in the future.
  23. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "config_drive_cdrom" from group "DEFAULT" is deprecated. Use option "cdrom" from group "config_drive".
  24. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "cdrom" from group "config_drive" is deprecated for removal. Its value may be silently ignored in the future.
  25. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "config_drive_vfat" from group "DEFAULT" is deprecated. Use option "vfat" from group "config_drive".
  26. 2021-11-16 08:11:57.237 5008 WARNING oslo_config.cfg [-] Deprecated: Option "vfat" from group "config_drive" is deprecated for removal. Its value may be silently ignored in the future.
  27. 2021-11-16 08:11:57.237 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.osconfigdrive.windows.WindowsConfigDriveManager' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  28. 2021-11-16 08:11:57.268 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  29. 2021-11-16 08:11:57.284 5008 DEBUG cloudbaseinit.metadata.services.osconfigdrive.windows [-] Looking for Config Drive iso in hdd with expected label cidata get_config_drive_files C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\osconfigdrive\windows.py:218
  30. 2021-11-16 08:11:57.284 5008 DEBUG cloudbaseinit.metadata.services.osconfigdrive.windows [-] Looking for Config Drive iso in cdrom with expected label cidata get_config_drive_files C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\osconfigdrive\windows.py:218
  31. 2021-11-16 08:11:57.284 5008 INFO cloudbaseinit.metadata.services.osconfigdrive.windows [-] Config Drive found on D:\
  32. 2021-11-16 08:11:57.316 5008 DEBUG cloudbaseinit.metadata.services.baseconfigdrive [-] Metadata copied to folder: 'C:\\Windows\\TEMP\\tmpv3uw3wkp' load C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\baseconfigdrive.py:79
  33. 2021-11-16 08:11:57.316 5008 INFO cloudbaseinit.init [-] Metadata service loaded: 'NoCloudConfigDriveService'
  34. 2021-11-16 08:11:57.316 5008 DEBUG cloudbaseinit.init [-] Instance id: kvm-windows configure_host C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:202
  35. 2021-11-16 08:11:57.316 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  36. 2021-11-16 08:11:57.316 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.createuser.CreateUserPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  37. 2021-11-16 08:11:57.331 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  38. 2021-11-16 08:11:57.331 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.networkconfig.NetworkConfigPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  39. 2021-11-16 08:11:57.331 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.userdata.UserDataPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  40. 2021-11-16 08:11:57.331 5008 INFO cloudbaseinit.init [-] Executing plugins for stage 'MAIN':
  41. 2021-11-16 08:11:57.331 5008 INFO cloudbaseinit.init [-] Executing plugin 'SetHostNamePlugin'
  42. 2021-11-16 08:11:57.331 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  43. 2021-11-16 08:11:57.346 5008 DEBUG cloudbaseinit.plugins.common.sethostname [-] Hostname not found in metadata execute C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\sethostname.py:30
  44. 2021-11-16 08:11:57.346 5008 INFO cloudbaseinit.init [-] Executing plugin 'CreateUserPlugin'
  45. 2021-11-16 08:11:57.346 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  46. 2021-11-16 08:11:57.346 5008 INFO cloudbaseinit.plugins.common.createuser [-] Creating user "Admin" and setting password
  47. 2021-11-16 08:11:57.675 5008 DEBUG cloudbaseinit.osutils.windows [-] Creating logon session for user: True\Admin create_user_logon_session C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:649
  48. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser [-] Cannot create a user logon session for user: "Admin": cloudbaseinit.exception.WindowsCloudbaseInitException: Cannot load user profile: 'The device is not ready.'
  49. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser Traceback (most recent call last):
  50. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\windows\createuser.py", line 32, in _create_user_logon
  51. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser True)
  52. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py", line 670, in create_user_logon_session
  53. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser "Cannot load user profile: %r")
  54. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser cloudbaseinit.exception.WindowsCloudbaseInitException: Cannot load user profile: 'The device is not ready.'
  55. 2021-11-16 08:12:00.050 5008 ERROR cloudbaseinit.plugins.windows.createuser
  56. 2021-11-16 08:12:00.065 5008 INFO cloudbaseinit.init [-] Executing plugin 'SetUserPasswordPlugin'
  57. 2021-11-16 08:12:00.065 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  58. 2021-11-16 08:12:00.097 5008 INFO cloudbaseinit.plugins.common.setuserpassword [-] Password succesfully updated for user Admin
  59. 2021-11-16 08:12:00.097 5008 INFO cloudbaseinit.plugins.common.setuserpassword [-] Cannot set the password in the metadata as it is not supported by this service
  60. 2021-11-16 08:12:00.097 5008 INFO cloudbaseinit.init [-] Executing plugin 'NetworkConfigPlugin'
  61. 2021-11-16 08:12:00.112 5008 INFO cloudbaseinit.init [-] Executing plugin 'UserDataPlugin'
  62. 2021-11-16 08:12:00.112 5008 DEBUG cloudbaseinit.plugins.common.userdata [-] User data content length: 244 execute C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\userdata.py:50
  63. 2021-11-16 08:12:00.112 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.utils.template_engine.jinja2_template.Jinja2TemplateEngine' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  64. 2021-11-16 08:12:00.393 5008 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.osutils.windows.WindowsUtils' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
  65. 2021-11-16 08:12:03.238 5008 DEBUG cloudbaseinit.plugins.common.userdatautils [-] User_data stdout:
  66. b'The command completed successfully.\r\n\r\nThe command completed successfully.\r\n\r\nThe command completed successfully.\r\n\r\n' execute_user_data_script C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\userdatautils.py:93
  67. 2021-11-16 08:12:03.238 5008 DEBUG cloudbaseinit.plugins.common.userdatautils [-] User_data stderr:
  68. b'The user or group account specified cannot be found.\r\n\r\nThe user was successfully created but could not be added\r\nto the USERS local group.\r\n\r\nMore help is available by typing NET HELPMSG 3774.\r\n\r\n' execute_user_data_script C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\userdatautils.py:94
  69. 2021-11-16 08:12:03.254 5008 INFO cloudbaseinit.plugins.common.userdatautils [-] User_data script ended with return code: 0
  70. 2021-11-16 08:12:03.254 5008 DEBUG cloudbaseinit.metadata.services.baseconfigdrive [-] Deleting metadata folder: 'C:\\Windows\\TEMP\\tmpv3uw3wkp' cleanup C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\baseconfigdrive.py:91
  71. 2021-11-16 08:12:03.254 5008 INFO cloudbaseinit.init [-] Plugins execution done
  72.  
RAW Paste Data