[Bug 382518] [NEW] SSH file known_hosts gets modified causing keys to dissappear and all ONE actions to fail
Phoenixz
sven at kionetworks.com
Mon Jun 1 19:01:06 UTC 2009
Public bug reported:
Binary package hint: opennebula
This bug MIGHT be a result of the solution of bug 331838
Basically, I manually add the SSH keys for user oneadmin to the nodes. I
sudo -u oneadmin ssh <host> as specified in the output from onehost add.
I said "yes" to the key verification question, which adds the hosts to
"known_host" file. Then, when starting to work with opennebula, all
seems to be fine, until I add a physical host. suddenly the status in
"onehost list" goes to "err". When checking logs, I see that ssh access
failed. Again I try sudo -u oneadmin ssh <host> and to my surprise AGAIN
I get the host key verification question where I have to type "yes"..
When I repeat this, I get to the same point where again I have to say
yes..
When checking the known hosts file, I find that the known_hosts entry I
added is gone. I tried everything to avoid this (even up to making the
oneadmin known_hosts file root:root 444 mode) but all failed.. after a
few seconds, the file was back to its original again.
I traced it back to a file called /var/lib/one/savekeys.sh and
/etc/cron.hourly/opennebula. They seem to (re)create the known_hosts
file. I think this has somehting to do with the automated key
distribution of bug #331838 but Im not sure.
I went over this problem with jfontan, developer of open nebula, and he
informed me that these files are ubuntu related, not opennebula.
sven at fS-Ex:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
sven at fS-Ex:~$ apt-cache policy opennebula
opennebula:
Installed: 1.2-0ubuntu5
Candidate: 1.2-0ubuntu5
Version table:
*** 1.2-0ubuntu5 0
500 http://us.archive.ubuntu.com jaunty/universe Packages
100 /var/lib/dpkg/status
** Affects: opennebula (Ubuntu)
Importance: Undecided
Status: New
--
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