kdump fails to dump across network in RHEL 7

Solution Unverified - Updated -

Environment

  • RHEL 7
  • kdump

Issue

  • kdump fails to dump via NFS, ssh, or iscsi

Resolution

  • Upgrade to kexec-tools-2.0.4-32.el7_0.2 or later from Errata RHBA-2014:0943

  • After upgrading kexec-tools, force kdump to be rebuilt:

touch /etc/kdump.conf
kdumpctl restart

Workaround

  • Modify /etc/sysconfig/network-scripts/ifcfg-*

    • replace IPADDR0 with IPADDR
    • replace GATEWAY0 with GATEWAY
    • replace NETMASK0 with NETMASK
    • replace PREFIX0 with PREFIX
  • Force kdump to be rebuilt:

touch /etc/kdump.conf
kdumpctl restart

Root Cause

When using NetworkManager tools to configure a network, it uses IPADDR0, GATEWAY0, and
kdump expects the network address is defined in /etc/sysconfig/network-scripts/ifcfg- using IPADDR, GATEWAY, and either NETMASK or PREFIX; but it doesn't understand the numeric suffix on those variables.

Diagnostic Steps

grep IPADDR0 /etc/sysconfig/network-scripts/ifcfg-*

kdump doesn't understand IPADDR0.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments