Cloud-init status error when using default cloud images

inspirer

Member
Apr 27, 2020
2
0
6
35
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: