Windows 2022 template

powersupport

Active Member
Jan 18, 2020
279
2
38
30
Hi,

I am trying to create a windows 2022 template for Proxmox, but there is an issue. the IP from cloud-init drive not getting into server.

Already enabled qemu guest agent and Cloudbase init, but still IP not retrieving into the server. on the other hand, other templates(windows 2016 and 19) works fine.

Anyone can advise on this


Thank you.
 

Attachments

  • config.png
    config.png
    27.2 KB · Views: 31
  • config1.png
    config1.png
    39.1 KB · Views: 30
  • config2.png
    config2.png
    45.4 KB · Views: 31
Have you checked the log files under C:\Program Files (x86)\Cloudbase Solutions\Cloudbase-Init\log\ for any errors?
 
Hi,
There are no errors in the log file

2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.licensing.WindowsLicensingPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.winrmlistener.ConfigWinRMListenerPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.utils.classloader [-] Loading class 'cloudbaseinit.plugins.windows.winrmcertificateauth.ConfigWinRMCertificateAuthPlugin' load_class C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\utils\classloader.py:27
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 INFO cloudbaseinit.init [-] Executing plugins for stage 'MAIN':
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.init [-] Plugin 'CreateUserPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.init [-] Plugin 'NetworkConfigPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.init [-] Plugin 'WindowsLicensingPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.init [-] Plugin 'SetUserSSHPublicKeysPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:25.709 3252 INFO cloudbaseinit.init [-] Executing plugin 'ExtendVolumesPlugin'
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.709 3252 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
2022-01-19 22:25:25.866 3252 INFO comtypes.client._code_cache [-] Imported existing <module 'comtypes.gen' from 'C:\\Program Files\\Cloudbase Solutions\\Cloudbase-Init\\Python\\lib\\site-packages\\comtypes\\gen\\__init__.py'>
2022-01-19 22:25:25.866 3252 INFO comtypes.client._code_cache [-] Using writeable comtypes cache directory: 'C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\comtypes\gen'
2022-01-19 22:25:27.085 3252 DEBUG urllib3.connectionpool [-] https://www.cloudbase.it:443 "GET /checkupdates.php?p=Cloudbase-Init&v=1.1.3.dev16 HTTP/1.1" 200 None _make_request C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\urllib3\connectionpool.py:461
2022-01-19 22:25:29.976 3252 DEBUG cloudbaseinit.init [-] Plugin 'UserDataPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:29.976 3252 DEBUG cloudbaseinit.init [-] Plugin 'SetUserPasswordPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:29.976 3252 DEBUG cloudbaseinit.init [-] Plugin 'ConfigWinRMListenerPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:29.976 3252 DEBUG cloudbaseinit.init [-] Plugin 'ConfigWinRMCertificateAuthPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
2022-01-19 22:25:29.976 3252 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
2022-01-19 22:25:29.976 3252 DEBUG cloudbaseinit.metadata.services.baseconfigdrive [-] Deleting metadata folder: 'C:\\Windows\\TEMP\\tmpiexznw1o' cleanup C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\metadata\services\baseconfigdrive.py:91
2022-01-19 22:25:29.991 3252 INFO cloudbaseinit.init [-] Plugins execution done
2022-01-19 22:25:29.991 3252 INFO cloudbaseinit.init [-] Stopping Cloudbase-Init service
2022-01-19 22:25:32.995 3252 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:1142
 
Code:
2022-01-19 22:25:25.709 3252 DEBUG cloudbaseinit.init [-] Plugin 'NetworkConfigPlugin' execution already done, skipping _exec_plugin C:\Program Files\Cloudbase Solutions\Cloudbase-Init\Python\lib\site-packages\cloudbaseinit\init.py:62
It seems the network config was already set once and the plugin didn't run again as a result. Did you configure the network exactly like that in the past once?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!