Bug 799333

Summary: After every reboot of the node (2.2.3-1.1) the ssh keys change
Product: [Retired] oVirt Reporter: Michel van Horssen <mivaho>
Component: ovirt-nodeAssignee: Fabian Deutsch <fabian.deutsch>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: acathrow, fabian.deutsch, fdeutsch, jboggs, mburns, ovirt-bugs, ovirt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-26 20:10:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 805540    

Description Michel van Horssen 2012-03-02 14:08:55 UTC
Description of problem:

After rebooting the node I wanted to login via ssh again and got a key change warning. After removing the key for this host from known_hosts and accepting the new keys I rebooted the node again to see if the keys would change again and they did.

Mentioning this in IRC yossarianuk noticed the same problem

Version-Release number of selected component (if applicable):

2.2.3-1.1

How reproducible:


Steps to Reproduce:
1. ssh in to the node as admin and accept the key (if its the first time)
2. In the tui menu tell the node to reboot
3. ssh in to the node as admin again, you get a key change warning.

Comment 1 Fabian Deutsch 2012-03-19 13:13:26 UTC
It seems as if the ssh host keys weren't persisted because of a missing back slash.

http://gerrit.ovirt.org/#change,2931

Comment 2 Fabian Deutsch 2012-03-21 10:46:49 UTC
The following patch also fixes this bug for the standalone case:

http://gerrit.ovirt.org/#change,2981

(The previous patch was abandoned)