Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows server 2022 failed to execute SetUserSSHPublicKeysPlugin #128

Open
ChAnYaNG97 opened this issue Dec 4, 2023 · 2 comments
Open

Comments

@ChAnYaNG97
Copy link

ChAnYaNG97 commented Dec 4, 2023

cloudbase-init version: 1.1.2
OS type and version: Windows Server2022 H1
Cloudbase-init is configured to use cloudbaseinit.metadata.services.httpservice.HttpService with plugins as shown below.

[DEFAULT]
username=Administrator
groups=Administrators
inject_user_password=true
first_logon_behaviour=no
config_drive_raw_hhd=true
config_drive_cdrom=true
config_drive_vfat=true
bsdtar_path=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\bsdtar.exe
mtools_path=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\bin\
verbose=true
debug=true
logdir=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log\
logfile=cloudbase-init.log
default_log_levels=comtypes=INFO,suds=INFO,iso8601=WARN,requests=WARN
logging_serial_port_settings=
mtu_use_dhcp_config=true
ntp_use_dhcp_config=true
local_scripts_path=C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts\
metadata_services=cloudbaseinit.metadata.services.httpservice.HttpService
plugins=cloudbaseinit.plugins.common.mtu.MTUPlugin,cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin,cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin,cloudbaseinit.plugins.common.networkconfig.NetworkConfigPlugin,cloudbaseinit.plugins.windows.ntpclient.NTPClientPlugin,cloudbaseinit.plugins.common.userdata.UserDataPlugin,cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin,cloudbaseinit.plugins.common.setuserpassword.SetUserPasswordPlugin,cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin
allow_reboot=true
netbios_host_name_compatibility=False

On first boot, the log shows that the meta_data is correctly fetched, but the SetUserSSHPublicKeysPlugin failed to execute.
image

The log points to the source code

'ProfileList\\%s' % user_sid) as key:

where the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<user_sid> can not be found.

Any suggestions will be helpful, Thanks!

@ader1990
Copy link
Member

ader1990 commented Dec 4, 2023

Hello,

This seems like an issue with the locale or there is no user home because the user has not been initialized yet (it has another name).

The cloudbase-init configuration looks good here:

username=Administrator
groups=Administrators

The output of these commands from the Windowsinstance PowerShell would be great for debug / reproduction of the issue:

net user
net localgroup
Get-WinSystemLocale

Also, if you can please attach the full cloudbase-init log as text?

Thank you.

@ChAnYaNG97
Copy link
Author

Some sensitive info is replaced with xxxx.

Cloudbase-init log

2023-12-05 13:46:19.608 9860 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
2023-12-05 13:46:20.068 9860 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
2023-12-05 13:46:20.068 9860 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
2023-12-05 13:46:20.068 9860 INFO cloudbaseinit.osutils.windows [-] Skipping password reset, service running as a built-in account: LocalSystem
2023-12-05 13:46:20.068 9860 INFO cloudbaseinit.init [-] Cloudbase-Init version: 1.1.2
2023-12-05 13:46:20.068 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:20.078 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:20.078 9860 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
2023-12-05 13:46:20.088 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:20.088 9860 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
2023-12-05 13:46:20.098 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.ntpclient.NTPClientPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:20.098 9860 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
2023-12-05 13:46:20.118 9860 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
2023-12-05 13:46:20.128 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:20.128 9860 INFO cloudbaseinit.init [-] Executing plugins for stage 'PRE_NETWORKING':
2023-12-05 13:46:20.128 9860 INFO cloudbaseinit.init [-] Executing plugin 'NTPClientPlugin'
2023-12-05 13:46:20.128 9860 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
2023-12-05 13:46:20.128 9860 DEBUG cloudbaseinit.osutils.windows [-] Getting service start mode for: w32time get_service_start_mode C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1112
2023-12-05 13:46:20.148 9860 DEBUG cloudbaseinit.osutils.windows [-] Getting service status for: w32time get_service_status C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1102
2023-12-05 13:46:20.148 9860 INFO cloudbaseinit.plugins.common.ntpclient [-] NTP client service enabled
2023-12-05 13:46:25.170 9860 DEBUG cloudbaseinit.plugins.common.ntpclient [-] Could not obtain the NTP configuration via DHCP execute C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\ntpclient.py:71
2023-12-05 13:46:25.170 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:25.170 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:25.170 9860 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
2023-12-05 13:46:25.170 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:25.170 9860 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
2023-12-05 13:46:25.170 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.ntpclient.NTPClientPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:25.170 9860 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
2023-12-05 13:46:25.170 9860 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
2023-12-05 13:46:25.170 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:25.170 9860 INFO cloudbaseinit.init [-] Executing plugins for stage 'PRE_METADATA_DISCOVERY':
2023-12-05 13:46:25.170 9860 INFO cloudbaseinit.init [-] Executing plugin 'MTUPlugin'
2023-12-05 13:46:25.170 9860 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
2023-12-05 13:46:30.182 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.httpservice.HttpService' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:30.187 9860 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
2023-12-05 13:46:30.187 9860 DEBUG cloudbaseinit.utils.network [-] Testing url: http://169.254.169.254/ check_url C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\network.py:41
2023-12-05 13:46:30.187 9860 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/latest/meta_data.json _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:46:30.197 9860 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:46:30.207 9860 DEBUG urllib3.connectionpool [-] http://169.254.169.254:80 "GET /openstack/latest/meta_data.json HTTP/1.1" 200 716 _make_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:442
2023-12-05 13:46:30.207 9860 INFO cloudbaseinit.init [-] Metadata service loaded: 'HttpService'
2023-12-05 13:46:30.207 9860 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:74
2023-12-05 13:46:30.207 9860 DEBUG cloudbaseinit.init [-] Instance id: bm-cn-qa-cm-4radmbja configure_host C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:202
2023-12-05 13:46:30.207 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:30.207 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:30.207 9860 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
2023-12-05 13:46:30.207 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:30.207 9860 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
2023-12-05 13:46:30.207 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.ntpclient.NTPClientPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:30.207 9860 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
2023-12-05 13:46:30.207 9860 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
2023-12-05 13:46:30.207 9860 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:46:30.207 9860 INFO cloudbaseinit.init [-] Executing plugins for stage 'MAIN':
2023-12-05 13:46:30.207 9860 INFO cloudbaseinit.init [-] Executing plugin 'LocalScriptsPlugin'
2023-12-05 13:46:30.207 9860 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
2023-12-05 13:46:36.540 9860 DEBUG cloudbaseinit.plugins.common.fileexecutils [-] User_data stdout: [xxxxx]
exec_file C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\fileexecutils.py:35
2023-12-05 13:46:36.540 9860 DEBUG cloudbaseinit.plugins.common.fileexecutils [-] User_data stderr:
b'' exec_file C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\fileexecutils.py:36
2023-12-05 13:46:36.540 9860 INFO cloudbaseinit.plugins.common.fileexecutils [-] Script "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\LocalScripts\xxxx.ps1" ended with exit code: 0
2023-12-05 13:46:36.540 9860 INFO cloudbaseinit.init [-] Executing plugin 'SetHostNamePlugin'
2023-12-05 13:46:36.540 9860 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
2023-12-05 13:46:36.540 9860 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:74
2023-12-05 13:46:36.540 9860 INFO cloudbaseinit.utils.hostname [-] Setting hostname: xxxx
2023-12-05 13:46:36.550 9860 INFO cloudbaseinit.init [-] Rebooting
2023-12-05 13:49:56.783 5968 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
2023-12-05 13:49:56.973 5968 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
2023-12-05 13:49:56.973 5968 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
2023-12-05 13:49:56.973 5968 INFO cloudbaseinit.osutils.windows [-] Skipping password reset, service running as a built-in account: LocalSystem
2023-12-05 13:49:56.973 5968 INFO cloudbaseinit.init [-] Cloudbase-Init version: 1.1.2
2023-12-05 13:49:56.973 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:56.973 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:56.983 5968 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
2023-12-05 13:49:56.983 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:56.993 5968 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
2023-12-05 13:49:56.993 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.ntpclient.NTPClientPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:56.993 5968 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
2023-12-05 13:49:57.003 5968 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
2023-12-05 13:49:57.013 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:57.013 5968 INFO cloudbaseinit.init [-] Executing plugins for stage 'PRE_NETWORKING':
2023-12-05 13:49:57.013 5968 INFO cloudbaseinit.init [-] Executing plugin 'NTPClientPlugin'
2023-12-05 13:49:57.013 5968 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
2023-12-05 13:49:57.013 5968 DEBUG cloudbaseinit.osutils.windows [-] Getting service start mode for: w32time get_service_start_mode C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1112
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.osutils.windows [-] Getting service status for: w32time get_service_status C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1102
2023-12-05 13:49:57.043 5968 INFO cloudbaseinit.plugins.common.ntpclient [-] NTP client service enabled
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.plugins.common.ntpclient [-] Could not obtain the NTP configuration via DHCP execute C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\ntpclient.py:71
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:57.043 5968 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
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:57.043 5968 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
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.ntpclient.NTPClientPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:57.043 5968 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
2023-12-05 13:49:57.043 5968 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
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:57.043 5968 INFO cloudbaseinit.init [-] Executing plugins for stage 'PRE_METADATA_DISCOVERY':
2023-12-05 13:49:57.043 5968 INFO cloudbaseinit.init [-] Executing plugin 'MTUPlugin'
2023-12-05 13:49:57.043 5968 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
2023-12-05 13:49:57.043 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.metadata.services.httpservice.HttpService' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:49:57.053 5968 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
2023-12-05 13:49:57.053 5968 DEBUG cloudbaseinit.utils.network [-] Testing url: http://169.254.169.254/ check_url C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\network.py:41
2023-12-05 13:49:57.053 5968 DEBUG cloudbaseinit.utils.network [-] Testing url: http://169.254.169.254/ check_url C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\network.py:41
2023-12-05 13:49:57.053 5968 DEBUG cloudbaseinit.utils.network [-] Testing url: http://169.254.169.254/ check_url C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\network.py:41
2023-12-05 13:49:57.053 5968 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/latest/meta_data.json _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:49:57.063 5968 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base [-] HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036D30>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',)): requests.exceptions.ConnectionError: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036D30>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',))
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connection.py", line 160, in _new_conn
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     (self._dns_host, self.port), self.timeout, **extra_kw
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     raise err
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     sock.connect(sa)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base OSError: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base During handling of the above exception, another exception occurred:
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     chunked=chunked,
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py", line 392, in _make_request
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     conn.request(method, url, **httplib_request_kw)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1239, in request
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     self._send_request(method, url, body, headers, encode_chunked)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1285, in _send_request
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     self.endheaders(body, encode_chunked=encode_chunked)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1234, in endheaders
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     self._send_output(message_body, encode_chunked=encode_chunked)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1026, in _send_output
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     self.send(msg)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 964, in send
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     self.connect()
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connection.py", line 187, in connect
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     conn = self._new_conn()
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connection.py", line 172, in _new_conn
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     self, "Failed to establish a new connection: %s" % e
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000001E193036D30>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base During handling of the above exception, another exception occurred:
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\adapters.py", line 449, in send
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     timeout=timeout
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py", line 725, in urlopen
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\util\retry.py", line 439, in increment
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036D30>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',))
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base During handling of the above exception, another exception occurred:
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py", line 325, in _get_data
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     response = self._http_request(path)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py", line 318, in _http_request
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     verify=self._verify_https_request())
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\api.py", line 61, in request
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     return session.request(method=method, url=url, **kwargs)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\sessions.py", line 530, in request
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     resp = self.send(prep, **send_kwargs)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\sessions.py", line 643, in send
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     r = adapter.send(request, **kwargs)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\adapters.py", line 516, in send
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base     raise ConnectionError(e, request=request)
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base requests.exceptions.ConnectionError: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036D30>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',))
2023-12-05 13:49:57.063 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:01.080 5968 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/latest/meta_data.json _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:50:01.080 5968 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base [-] HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036BA8>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',)): requests.exceptions.ConnectionError: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036BA8>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',))
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connection.py", line 160, in _new_conn
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     (self._dns_host, self.port), self.timeout, **extra_kw
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\util\connection.py", line 84, in create_connection
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     raise err
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     sock.connect(sa)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base OSError: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base During handling of the above exception, another exception occurred:
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py", line 677, in urlopen
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     chunked=chunked,
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py", line 392, in _make_request
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     conn.request(method, url, **httplib_request_kw)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1239, in request
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     self._send_request(method, url, body, headers, encode_chunked)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1285, in _send_request
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     self.endheaders(body, encode_chunked=encode_chunked)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1234, in endheaders
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     self._send_output(message_body, encode_chunked=encode_chunked)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 1026, in _send_output
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     self.send(msg)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\http\client.py", line 964, in send
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     self.connect()
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connection.py", line 187, in connect
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     conn = self._new_conn()
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connection.py", line 172, in _new_conn
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     self, "Failed to establish a new connection: %s" % e
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x000001E193036BA8>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base During handling of the above exception, another exception occurred:
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\adapters.py", line 449, in send
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     timeout=timeout
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py", line 725, in urlopen
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\util\retry.py", line 439, in increment
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     raise MaxRetryError(_pool, url, error or ResponseError(cause))
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036BA8>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',))
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base During handling of the above exception, another exception occurred:
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base Traceback (most recent call last):
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py", line 325, in _get_data
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     response = self._http_request(path)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py", line 318, in _http_request
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     verify=self._verify_https_request())
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\api.py", line 61, in request
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     return session.request(method=method, url=url, **kwargs)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\sessions.py", line 530, in request
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     resp = self.send(prep, **send_kwargs)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\sessions.py", line 643, in send
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     r = adapter.send(request, **kwargs)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\requests\adapters.py", line 516, in send
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base     raise ConnectionError(e, request=request)
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base requests.exceptions.ConnectionError: HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /openstack/latest/meta_data.json (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000001E193036BA8>: Failed to establish a new connection: [WinError 10051] 向一个无法连接的网络尝试了一个套接字操作。',))
2023-12-05 13:50:01.080 5968 ERROR cloudbaseinit.metadata.services.base
2023-12-05 13:50:05.086 5968 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/latest/meta_data.json _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:50:05.086 5968 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:50:05.089 5968 DEBUG urllib3.connectionpool [-] http://169.254.169.254:80 "GET /openstack/latest/meta_data.json HTTP/1.1" 200 716 _make_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:442
2023-12-05 13:50:05.089 5968 INFO cloudbaseinit.init [-] Metadata service loaded: 'HttpService'
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:74
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.init [-] Instance id: bm-cn-qa-cm-4radmbja configure_host C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:202
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.localscripts.LocalScriptsPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.mtu.MTUPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:50:05.089 5968 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
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.extendvolumes.ExtendVolumesPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:50:05.089 5968 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
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.ntpclient.NTPClientPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:50:05.089 5968 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
2023-12-05 13:50:05.089 5968 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
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.common.sshpublickeys.SetUserSSHPublicKeysPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:50:05.089 5968 INFO cloudbaseinit.init [-] Executing plugins for stage 'MAIN':
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.init [-] Plugin 'LocalScriptsPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.init [-] Plugin 'SetHostNamePlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2023-12-05 13:50:05.089 5968 INFO cloudbaseinit.init [-] Executing plugin 'ExtendVolumesPlugin'
2023-12-05 13:50:05.089 5968 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
2023-12-05 13:50:05.089 5968 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.utils.windows.storage.vds_storage_manager.VDSStorageManager' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2023-12-05 13:50:05.169 5968 INFO comtypes.client._code_cache [-] Could not import comtypes.gen, trying to create it.
2023-12-05 13:50:05.169 5968 INFO comtypes.client._code_cache [-] Created comtypes.gen directory: 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\comtypes\gen'
2023-12-05 13:50:05.169 5968 INFO comtypes.client._code_cache [-] Writing __init__.py file: 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\comtypes\gen\__init__.py'
2023-12-05 13:50:05.179 5968 INFO comtypes.client._code_cache [-] Using writeable comtypes cache directory: 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\comtypes\gen'
2023-12-05 13:50:06.468 5968 INFO cloudbaseinit.utils.windows.storage.vds_storage_manager [-] Extending volume "\\?\GLOBALROOT\Device\HarddiskVolume1" with 437154308096 bytes
2023-12-05 13:50:06.556 5968 INFO cloudbaseinit.init [-] Executing plugin 'NetworkConfigPlugin'
2023-12-05 13:50:06.556 5968 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/latest/network_data.json _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:50:06.556 5968 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:50:06.556 5968 DEBUG urllib3.connectionpool [-] http://169.254.169.254:80 "GET /openstack/latest/network_data.json HTTP/1.1" 200 3 _make_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:442
2023-12-05 13:50:06.556 5968 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
2023-12-05 13:50:06.556 5968 INFO cloudbaseinit.init [-] Executing plugin 'UserDataPlugin'
2023-12-05 13:50:06.556 5968 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/latest/user_data _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:50:06.556 5968 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:50:06.556 5968 DEBUG urllib3.connectionpool [-] http://169.254.169.254:80 "GET /openstack/latest/user_data HTTP/1.1" 200 3 _make_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:442
2023-12-05 13:50:06.556 5968 DEBUG cloudbaseinit.plugins.common.userdata [-] User data content length: 3 execute C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\userdata.py:50
2023-12-05 13:50:06.556 5968 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
2023-12-05 13:50:06.666 5968 WARNING cloudbaseinit.plugins.common.userdatautils [-] Unsupported user_data format
2023-12-05 13:50:06.666 5968 INFO cloudbaseinit.init [-] Executing plugin 'SetUserPasswordPlugin'
2023-12-05 13:50:06.666 5968 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
2023-12-05 13:50:06.666 5968 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:74
2023-12-05 13:50:06.666 5968 WARNING cloudbaseinit.plugins.common.setuserpassword [-] Using admin_pass metadata user password. Consider changing it as soon as possible
2023-12-05 13:50:06.686 5968 INFO cloudbaseinit.plugins.common.setuserpassword [-] Password succesfully updated for user Administrator
2023-12-05 13:50:06.686 5968 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/2013-04-04/meta_data.json _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:50:06.686 5968 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:50:06.686 5968 DEBUG urllib3.connectionpool [-] http://169.254.169.254:80 "GET /openstack/2013-04-04/meta_data.json HTTP/1.1" 200 716 _make_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:442
2023-12-05 13:50:06.686 5968 DEBUG cloudbaseinit.metadata.services.base [-] Executing http request GET at http://169.254.169.254/openstack/2013-04-04/password _http_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:315
2023-12-05 13:50:06.696 5968 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 169.254.169.254:80 _new_conn C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:230
2023-12-05 13:50:06.696 5968 DEBUG urllib3.connectionpool [-] http://169.254.169.254:80 "GET /openstack/2013-04-04/password HTTP/1.1" 200 3 _make_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:442
2023-12-05 13:50:06.696 5968 DEBUG cloudbaseinit.plugins.common.setuserpassword [-] User's password already set in the instance metadata and it cannot be updated in the instance metadata _set_metadata_password C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\setuserpassword.py:57
2023-12-05 13:50:06.696 5968 INFO cloudbaseinit.init [-] Executing plugin 'SetUserSSHPublicKeysPlugin'
2023-12-05 13:50:06.696 5968 DEBUG cloudbaseinit.metadata.services.base [-] Using cached copy of metadata: 'openstack/latest/meta_data.json' _get_cache_data C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\base.py:74
2023-12-05 13:50:06.696 5968 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
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init [-] plugin 'SetUserSSHPublicKeysPlugin' failed with error '[WinError 2] 系统找不到指定的文件。': FileNotFoundError: [WinError 2] 系统找不到指定的文件。
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init [-] [WinError 2] 系统找不到指定的文件。: FileNotFoundError: [WinError 2] 系统找不到指定的文件。
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init Traceback (most recent call last):
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py", line 67, in _exec_plugin
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init     shared_data)
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\plugins\common\sshpublickeys.py", line 40, in execute
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init     user_home = osutils.get_user_home(username)
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init   File "C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py", line 746, in get_user_home
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init     'ProfileList\\%s' % user_sid) as key:
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init FileNotFoundError: [WinError 2] 系统找不到指定的文件。
2023-12-05 13:50:06.696 5968 ERROR cloudbaseinit.init
2023-12-05 13:50:06.696 5968 INFO cloudbaseinit.init [-] Plugins execution done
2023-12-05 13:50:06.696 5968 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service
2023-12-05 13:50:09.705 5968 DEBUG cloudbaseinit.osutils.windows [-] Stopping service cloudbase-init stop_service C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\osutils\windows.py:1140

Command outputs

PS C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log> net user

\\xxxx 的用户帐户

-------------------------------------------------------------------------------
Administrator            DefaultAccount           Guest
WDAGUtilityAccount
命令成功完成。
PS C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log> net localgroup

\\xxxx 的别名

-------------------------------------------------------------------------------
*Access Control Assistance Operators
*Administrators
*Backup Operators
*Certificate Service DCOM Access
*Cryptographic Operators
*Device Owners
*Distributed COM Users
*Event Log Readers
*Guests
*Hyper-V Administrators
*IIS_IUSRS
*Network Configuration Operators
*Performance Log Users
*Performance Monitor Users
*Power Users
*Print Operators
*RDS Endpoint Servers
*RDS Management Servers
*RDS Remote Access Servers
*Remote Desktop Users
*Remote Management Users
*Replicator
*Storage Replica Administrators
*System Managed Accounts Group
*Users
命令成功完成。
PS C:\Program Files\Cloudbase Solutions\Cloudbase-Init\log> Get-WinSystemLocale

LCID             Name             DisplayName
----             ----             -----------
2052             zh-CN            中文(简体,中国)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants