Cloud-init status error when using default cloud images

inspirer

Member
Apr 27, 2020
2
0
6
34
Hi all,
Anyone can have me solve this issue bellow.

I download latest Centos cloud image here: https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud-20150628_01.qcow2

Then create template for proxmox by guide here: https://pve.proxmox.com/wiki/Cloud-Init_Support

I try clone new vm and just config new IP and user/pass

Cloning is ok, I can login with new IP and new account.

But I see one problem that cloud-init is not install successfully with command cloud-init status . I grab the error here : https://pastebin.com/raw/qhA3kfmR

Shorten error is when vm can not install two module bellow

####
Running module ssh-authkey-fingerprints (<module 'cloudinit.config.cc_ssh_authkey_fingerprints' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyc'>) failed
Running module keys-to-console (<module 'cloudinit.config.cc_keys_to_console' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_keys_to_console.pyc'>) failed
####

//Update: After FAIL first time. I reboot and see two module install SUCCESS. Why this happen, anyone can explain for me thanks.
 
Last edited:

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!