cloud-init rewrites sshd host keys when reboot occurs in GCE
Bug #1634825 reported by
meister
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
Instance SSHd host keys are rewritten by cloud-init when GCE reboot my VM.
I have seen that the instance-id has changed after GCE has moved my VM from a dead hypervisor to a new one.
I checked /var/lib/
We may be able to define in cloud-init configuration what is the idempotent identifier of a server such as the hostname which does not change between reboots.
To post a comment you must log in.
Hi,
Sorry for the very slow response here.
The instance-id should not change between reboots. If you're still seeing this issue, please run 'coud-init collect collect-logs' and attach.
And then set the state back to 'New'.