-
Notifications
You must be signed in to change notification settings - Fork 152
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
Comments
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:
The output of these commands from the Windowsinstance PowerShell would be great for debug / reproduction of the issue:
Also, if you can please attach the full cloudbase-init log as text? Thank you. |
Some sensitive info is replaced with xxxx. Cloudbase-init log
Command outputs
|
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.
On first boot, the log shows that the meta_data is correctly fetched, but the SetUserSSHPublicKeysPlugin failed to execute.
The log points to the source code
cloudbase-init/cloudbaseinit/osutils/windows.py
Line 749 in 6b2372d
where the registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\<user_sid>
can not be found.Any suggestions will be helpful, Thanks!
The text was updated successfully, but these errors were encountered: