Bug 685102

Summary: Can not persist option "enable ssh password authentication" after reboot
Product: Red Hat Enterprise Linux 6 Reporter: Pengzhen Cao <pcao>
Component: ovirt-nodeAssignee: Joey Boggs <jboggs>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.1CC: gouyang, leiwang, mburns, mhusnain, mshao, ovirt-maint, ycui
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-1.9.3-21.el6 Doc Type: Bug Fix
Doc Text:
Previously, after Ovirt-node was used to enable SSH password authentication, the SSH authentication would not persist after a system reboot. This is now fixed so that if SSH authentication is set, the configuration persists after a reboot.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-19 15:22:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pengzhen Cao 2011-03-15 09:58:57 UTC
Description of problem:
Can not persist  option "enable ssh password authentication" after reboot

Version-Release number of selected component (if applicable):
rhev-hypervisor-6.1-9

How reproducible:
Always.

Steps to Reproduce:
1. Install RHEVH 6.1-9 successful.
2. Ovirt-node to configure a valid network address
3. Ovirt-node to configure security, enable ssh password authentication.
4. After applying, the system could be login by ssh.
5. But after host reboot, could not login system by ssh. Check ovirt-node configure security,
the option "enable ssh password authentication" is not checked.

Actual results:
"enable ssh password authentication" can not be persisted after reboot.


Expect results:
"enable ssh password authentication" should be persisted after reboot.

***********ovirt.log********
[root@localhost log]# cat ovirt.log
Mar 15 07:02:21 Starting ovirt-early
Red Hat Enterprise Virtualization Hypervisor release 6.1 (9.el6)
Mar 15 07:02:21 Updating /etc/default/ovirt
Mar 15 07:02:21 Updating OVIRT_BOOTIF to ''
Mar 15 07:02:21 Updating OVIRT_INIT to ''
Mar 15 07:02:21 Updating OVIRT_UPGRADE to ''
Mar 15 07:02:21 Updating OVIRT_STANDALONE to '1'
Mar 15 07:02:22 Updating OVIRT_BOOTPARAMS to 'roottypefs=ext3 console=tty0 ksdevice=bootif processor.max_cstate=1 crashkernel=auto crashkernel=128M lang= nomodeset rd_NO_LUKS kssendmac rd_NO_MD elevator=deadline rhgb rd_NO_DM'
mount: you must specify the filesystem type
Mar 15 07:02:22 Skip runtime mode configuration.
Mar 15 07:02:22 Completed ovirt-early
Mar 15 07:02:38 Starting ovirt-post
Mar 15 07:02:38 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Mar 15 07:02:38 !!! Hardware Virtualization Is Unavailable !!!
Mar 15 07:02:38 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Mar 15 07:02:38 Completed ovirt-post
 File persisted

Successfully persisted /etc/sysconfig/network-scripts/ifcfg-lo
 File persisted

Successfully persisted /etc/rsyslog.conf
 File persisted

Successfully persisted /etc/libvirt/libvirtd.conf
 File persisted

Successfully persisted /etc/sasl2/libvirt.conf
 File persisted

Successfully persisted /etc/libvirt/passwd.db
 File persisted

Successfully persisted /etc/passwd
File already persisted: /etc/shadow
 File persisted

Successfully persisted /etc/ssh/ssh_host_dsa_key
 File persisted

Successfully persisted /etc/ssh/ssh_host_dsa_key.pub
 File persisted

Successfully persisted /etc/ssh/ssh_host_key
 File persisted

Successfully persisted /etc/ssh/ssh_host_key.pub
 File persisted

Successfully persisted /etc/ssh/ssh_host_rsa_key
 File persisted

Successfully persisted /etc/ssh/ssh_host_rsa_key.pub
 File persisted

Successfully persisted /etc/default/ovirt
 File persisted

Successfully persisted /etc/sysconfig/network
Cannot persist: /etc/collectd.conf
 File persisted

Successfully persisted /etc/logrotate.d/ovirt-node

Comment 5 Guohua Ouyang 2011-04-18 06:50:19 UTC
Verified on 6.1-14.1, enable ssh and reboot, ssh is still enabled, ssh from remote machine is ok too.

Comment 6 Misha H. Ali 2011-05-06 04:22:00 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, after Ovirt-node was used to enable SSH password authentication, the SSH authentication would not persist after a system reboot. This is now fixed so that if SSH authentication is set, the configuration persists after a reboot.