Cloudbase-init set DNS and Windows administrator password problem in PVE 6.1

parker0909

Well-Known Member
Aug 5, 2019
94
0
46
36
Hi all ,


I facing the problem when we have upgrade the Proxmox VE 5.4 to Proxmox VE 6.1, after that i found that the windows template with cloudinit not able to assign the windows password to the VM. I got below error during the creating process. Could you mind to provide some idea about clouinit with PVE 6.1?

I also attached the cloudbase-init setting in this thread. Thank you.


Thank you

2020-04-28 14:24:45.038 1428 ERROR cloudbaseinit.init "Cannot execute plugin as the password has not been set "
2020-04-28 14:24:45.038 1428 ERROR cloudbaseinit.init cloudbaseinit.exception.CloudbaseInitException: Cannot execute plugin as the password has not been set in the plugins shared data, nor it was retrieved from the metadata service.
2020-04-28 14:24:45.038 1428 ERROR cloudbaseinit.init
2020-04-28 14:24:45.054 1428 INFO cloudbaseinit.init [-] Executing plugin 'LocalScriptsPlugin'
2020-04-28 14:24:45.054 1428 DEBUG cloudbaseinit.metadata.services.configdrive [-] Deleting metadata folder: 'C:\\Users\\CLOUDB~1\\AppData\\Local\\Temp\\tmp5dxded68' cleanup c:\program files\cloudbase solutions\cloudbase-init\python\lib\site-packages\cloudbaseinit\metadata\services\configdrive.py:86
2020-04-28 14:24:45.069 1428 INFO cloudbaseinit.init [-] Plugins execution done
2020-04-28 14:24:45.069 1428 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service
2020-04-28 14:24:48.069 1428 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:942

Regards,
Parker
 

Attachments

Hi Wolfgang,

Thank you. May i know any other solution can support to auto deploy win server for proxmox?

Parker
 
Thank you. May i know any other solution can support to auto deploy win server for proxmox?
the other option is to use the guest-agent and 'qm guest exec' (see man qm)