cloud-init rewrites sshd host keys when reboot occurs in GCE

Bug #1634825 reported by meister
6
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/cloud/instances/ and can confirm instance-id changed between reboots.
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.

Revision history for this message
Scott Moser (smoser) wrote :

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'.

Changed in cloud-init:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cloud-init because there has been no activity for 60 days.]

Changed in cloud-init:
status: Incomplete → Expired
Revision history for this message
James Falcon (falcojr) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.