host ssh key has been changed after full installation reboot
Bug #1392921 reported by
George Shuklin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
We've has a planned outage for whole OS installation, and after booting back (+few reboots of hosts and instances during that process) many (may be all) instances changed their ssh keys.
OS: havana@ubuntu
cloud-init:
cloud-init 0.7.2-3~bpo70+1
cloud-initramfs
cloud-init.log in attachment.
Changed in cloud-init: | |
status: | New → Incomplete |
To post a comment you must log in.
Can u try to do curl 'http:// 10.0.2. 2//latest/ meta-data/ instance- id' from inside a VM? It appears that whats happening is that the following datasources are being searched ['NoCloud', 'ConfigDrive', 'AltCloud', 'OVF', 'MAAS', 'Ec2', 'CloudStack', 'None'] and when you rebooted cloud-init was unable to contact that service, then it switchs to using the None datasource, which believes its instance id is 'iid-datasource -none' which is different from the prior instance-id somehow.
Is there anyway you can upload the contents of /var/lib/cloud (possibly before and after the reboots?), because it should likely have not ran this if it already ran before. Can you also upload your /etc/cloud/ cloud.cfg