[Bug 382518] Re: SSH file known_hosts gets modified causing keys to dissappear and all ONE actions to fail

agshekeloh mwlucas at blackhelicopters.org
Thu Sep 24 16:21:28 UTC 2009


Verified here, ubuntu 9.0.4, opennebula 1.2.  It's in the ubuntu package
changelog.  I'm posting these notes for the benefit of anyone else who
has this issue.  (The preferred solution would be to figure out exactly
why the auto-key-distribution chokes, but I'm not a real Ubuntu admin
and this will get you working again.)

1) on your head node, the file /etc/cron.hourly/opennebula generate
/var/lib/one/savekeys.sh.  Move this cron file to a backup location to
prevent re-creating a damaging savekeys.sh.

b) on your cluster head, edit /var/lib/one/savekeys.sh.  In my case, my
compute nodes appeared in the file by IP address.  I copied those lines
and changed the IP to a hostname.

c) ubuntu's key-distribution magic happens.

I then changed savekeys.sh to

#!/bin/sh
exit 0

so that any other time it got called it would run & exit silently.  (Not
sure if this is necessary, but I didn't want the ghost of this issue to
bite me.)

-- 
SSH file known_hosts gets modified causing keys to dissappear and all ONE actions to fail
https://bugs.launchpad.net/bugs/382518
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list