Score:0

Why would cloudinit resort to using iid-datasource-none?

cn flag

Had my ssh host key reset by GCE. Found

/var/lib/cloud/instances/iid-datasource-none

was created.

https://cloudinit.readthedocs.io/en/latest/topics/datasources/fallback.html?highlight=iid-datasource-none

is not enlightening as to cause / prevention. Anyone know how this aspect of cloudinit works?

sa flag
That shouldn't be happening on GCE unless you specifically configured your datasource to do so (you would know if you did this). I suggest running `cloud-init collect-logs` with a `-u` if you have no sensitive userdata, then creating a bug at https://bugs.launchpad.net/cloud-init and attaching the tarball to the issue.
PjoterS avatar
ve flag
What do you mean reset? SSH host key was recreated? Did you perform any actions on that VM lately? How did you create this VM (image version).
cn flag
@PjoterS yes recreated. Stock Google img. I briefly made iptables-persist unable to run, but that did not break a server with the same setup on AWS. I think Google's cloudinit in snapd is not robust but I'd like to find a fix.
PjoterS avatar
ve flag
Is it possible to provide some logs? Also it was one time occurrence or this is something which occured a few times? What OS it was? Ubuntu, Debian, RH?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.