Bug 843734

Summary: configure kdump fail
Product: [Retired] oVirt Reporter: haiyang,dong <hadong>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acathrow, chchen, cshao, dyasny, gouyang, hadong, jboggs, leiwang, mburns, mgoldboi, ovirt-bugs, ovirt-maint, ycui
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.6.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-06 21:31:57 UTC Type: Bug
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: 894059    
Attachments:
Description Flags
attached ovirt.log after configured kdump fail
none
Screenshot of KDump Status none

Description haiyang,dong 2012-07-27 08:17:13 UTC
Description of problem:
After configured network,configure kdump by using these methods: NFS,SSH,Local,
but configre kdump fail by using remote kdump server(NFS/SSH) and Local.

Version-Release number of selected component (if applicable):
oVirt-node-iso-2.5.0-2.0.fc17.iso

How reproducible:
100%

Steps to Reproduce:
1.Install oVirt-node-iso-2.5.0-2.0.fc17.iso
2.Configure network.
3.Configure kdump by using NFS/SSH/Local under Kernel Dump Page.
4.Check kdump status
Actual results:
1. kdump fail to work by using remote kdump server(NFS/SSH) and Local.
2. After apply it,Pop:"KDump configuration failed,location unreachable"

Expected results:
kdump can work by using remote kdump server(NFS/SSH) and Local.

Additional info:
[root@hp-xw9400-02 admin]# service kdump status
Redirecting to /bin/systemctl status  kdump.service
kdump.service - Crash recovery kernel arming
          Loaded: loaded (/usr/lib/systemd/system/kdump.service; static)
          Active: failed (Result: exit-code) since Thu, 26 Jul 2012 06:10:36 +0000; 18min ago
         Process: 6088 ExecStart=/usr/bin/kdumpctl start (code=exited, status=1/FAILURE)
          CGroup: name=systemd:/system/kdump.service

Jul 26 06:10:36 hp-xw9400-02.qe.lab.eng.nay.redhat.com kdumpctl[6088]: No kdu...
Jul 26 06:10:36 hp-xw9400-02.qe.lab.eng.nay.redhat.com kdumpctl[6088]: Tried ...
Jul 26 06:10:36 hp-xw9400-02.qe.lab.eng.nay.redhat.com kdumpctl[6088]: Starti...

Comment 1 haiyang,dong 2012-07-30 05:07:14 UTC
Created attachment 601103 [details]
attached ovirt.log after configured kdump fail

Comment 2 haiyang,dong 2012-07-30 05:08:37 UTC
Created attachment 601104 [details]
Screenshot of KDump Status

Comment 3 Fabian Deutsch 2013-02-06 17:24:24 UTC
It seem sthat this problem arises fom changes to the mountpoint of the initramfs ...

The following patch adds a "compatability rbind mount":
http://gerrit.ovirt.org/#/c/11816/

Tested as follows:
1. Take an unmodified system
2. rbind mount /run/initramfs to /dev/.initramfs
3. cp /dev/.initramfs/live/vmlinuz /boot-kdump/vmlinuz-$(uname -r)
4. service kdump restart works

Testing the patch which does this is outstanding - but should work.

Comment 4 Fabian Deutsch 2013-02-06 19:52:39 UTC
The patch fixes the problem.

Comment 5 Mike Burns 2013-02-06 21:31:57 UTC
merged, next release