Bug 754662 - cp error "cannot stat '/root/.ssh/config' " occurrs during configure kdump with ssh
Summary: cp error "cannot stat '/root/.ssh/config' " occurrs during configure kdump wi...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-17 09:28 UTC by Guohua Ouyang
Modified: 2016-04-26 14:26 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-28 01:53:54 UTC
Target Upstream Version:


Attachments (Terms of Use)
the error on screen (65.68 KB, image/png)
2011-11-17 09:29 UTC, Guohua Ouyang
no flags Details

Description Guohua Ouyang 2011-11-17 09:28:52 UTC
Description of problem:
There is a cp error "cannot stat '/root/.ssh/config' " occurrs during configure kdump with ssh.

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

How reproducible:
100%.

Steps to Reproduce:
1. configure kdump with ssh

Actual results:
cp error "cannot stat '/root/.ssh/config' " occurrs .

Expected results:
no such error occurs

Comment 1 Guohua Ouyang 2011-11-17 09:29:29 UTC
Created attachment 534164 [details]
the error on screen

Comment 3 Mike Burns 2011-11-17 12:39:25 UTC
Probably a target for z-stream

Comment 4 Mike Burns 2011-11-17 12:40:01 UTC
Does this break kdump configuration, or is it just cosmetic?

Comment 5 Alan Pevec 2011-11-17 13:36:12 UTC
afaict, this is during service kdump restart, so not a bug in rhevh kdump configuration.

Comment 6 Guohua Ouyang 2011-11-18 03:31:02 UTC
(In reply to comment #4)
> Does this break kdump configuration, or is it just cosmetic?

It does not break kdump configuration, just cosmetic.

Comment 7 Vincent S. Cojot 2012-01-24 20:00:12 UTC
Maybe it's just me but kdump through ssh insists on using RSA keys instead the properly configured DSA key:
[root@ntamack ~]# /etc/init.d/kdump restart
Stopping kdump:                                            [  OK  ]
Detected change(s) the following file(s):
  
  /etc/kdump.conf
Rebuilding /boot/initrd-2.6.32-220.2.1.el6.x86_64kdump.img
Warning: Identity file /root/.ssh/kdump_id_rsa not accessible: No such file or directory.
Warning: Identity file /root/.ssh/kdump_id_rsa not accessible: No such file or directory.
Warning: Identity file /root/.ssh/kdump_id_rsa not accessible: No such file or directory.
Warning: Identity file /root/.ssh/kdump_id_rsa not accessible: No such file or directory.
cp: cannot stat `/root/.ssh/kdump_id_rsa': No such file or directory
Starting kdump:                                            [  OK  ]

Workaround:
[root@ntamack .ssh]# cp -p  kdump_id_dsa  kdump_id_rsa
[root@ntamack .ssh]# cp -p  kdump_id_dsa.pub  kdump_id_rsa.pub
[root@ntamack .ssh]# /etc/init.d/kdump restart
Stopping kdump:                                            [  OK  ]
No kdump initial ramdisk found.                            [WARNING]
Rebuilding /boot/initrd-2.6.32-220.2.1.el6.x86_64kdump.img
Starting kdump:                                            [  OK  ]

What the heck?

Vincent (This is on a DL360G4 system where we cannot use local kdumping because of the older SmartArrat 6i HBA).

Comment 8 Vincent S. Cojot 2012-01-24 20:00:55 UTC
[root@ntamack ~]# uname -a
Linux ntamack 2.6.32-220.2.1.el6.x86_64 #1 SMP Tue Dec 13 16:21:34 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
[root@ntamack ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 6.2 (Santiago)

Comment 10 RHEL Program Management 2012-07-10 05:56:09 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 11 RHEL Program Management 2012-07-11 01:47:25 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.


Note You need to log in before you can comment on or make changes to this bug.