← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1571590] Re: pVM:pinelp2:ubuntu 16.04: Network is unreachable when using ssh in kdump

 

This bug was fixed in the package makedumpfile - 1:1.5.9-5ubuntu0.1

---------------
makedumpfile (1:1.5.9-5ubuntu0.1) xenial; urgency=medium

  [ Hari Bathini <hbathini@xxxxxxxxxxxxxxxxxx> ]
  * Fix networked kdump failure to reach remote server.
    Avoids "Network is unreachable" message when trying to do remote dumps on
    either SSH or NFS. (LP: #1571590)

  * Replace maxcpus by nr_cpus
    nr_cpus is a hard limit that has an impact on the (kdump) kernel
    memory consumption, while it is not the case with maxcpus=1, as we can
    theoretically hotplug cpus with maxcpus=1 (LP: #1568952)

  * define_stampdir() : Loop on hostname -I for 5 sec to get IP address
    if HOSTTAG=ip. The network stack may not be ready when kdump-config runs.
    Give it some time before reverting HOSTTAG to hostname if an IP address
    cannot be found. (LP: #1599561)

  * Add cio_ignore result to /etc/default/kdump-tools on s390x
    In order to have crashkernel=128M to work correctly on the s390
    architecture the result of cio_ignore -u -k needs to be appended to the
    KDUMP_CMDLINE_APPEND variable in /etc/default/kdump-tools. This patch
    adds the required logic to do the proper modification.  (LP: #1570775)

  * debian/rules : drop the dh_installinit override
    Uses a syntax which is no longer supported and generate an error on
    install. (LP: #1599491)

 -- Louis Bouchard <louis.bouchard@xxxxxxxxxx>  Fri, 22 Jul 2016
10:15:20 +0200

** Changed in: makedumpfile (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1571590

Title:
  pVM:pinelp2:ubuntu 16.04: Network is unreachable when using ssh in
  kdump

Status in makedumpfile package in Ubuntu:
  Fix Released
Status in makedumpfile source package in Xenial:
  Fix Released

Bug description:
  [SRU justification]
  Without this fix, networked enabled kernel dump will fail to complete.

  [Impact]
  Broken networked functionality

  [Fix]
  Add a Wants target to the systemd unit.

  [Test Case]
  Follow "Test to reproduce" in Original Problem description.

  [Regression]
  None expected, the existing systemd unit setup remains but is improved by proposed fix.

  [Description of the problem]

  Original problem Description
  ============================
  When dumping to ssh target , kdump failed:

           Starting Kernel crash dump capture service...
  [   18.542292] kdump-tools[2748]: Starting kdump-tools: ssh: connect to host 10.33.31.113 port 22: Network is unreachable
  [   18.542894] kdump-tools[2748]:  * kdump-tools: Unable to reach remote server root@10.33.31.113. No reason to continue
  [   18.613376] kdump-tools[2748]: Mon, 11 Apr 2016 01:23:55 -0500
  [   19.310893] kdump-tools[2748]: Rebooting.
  [   19.652714] reboot: Restarting system

  But the weired thing is that nfs target works on the same system.

  ---uname output---
  Linux pinelp2 4.4.0-18-generic #34-Ubuntu SMP Wed Apr 6 14:00:30 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux

  Steps to Reproduce
  ===================================
  1. install latest ubuntu 16.04 on pinelp2
  2. config kdump to use ssh:
  SSH="root@10.33.31.113"
  3. run "kdump-config propagate" as root
  4. trigger kdump

  Userspace tool common name: kdump-tools

  The userspace tool has the following bit modes: 64-bit

  Userspace rpm: version 1:1.5.9-5

  == Comment: #8 - Ping Tian Han <pthan@xxxxxxxxxx> - 2016-04-17 21:58:52 ==
  (In reply to comment #6)
  > I am able to reproduce this issue as well.
  > Ping, what is you try to dump on some other machine with ssh ? Does it still
  > complain the same ? Is the ssh failing to connect to the network ?

  I saw the same problem when dumping to medlp4 with ssh:

           Starting Kernel crash dump capture service...
  [   17.293028] kdump-tools[2733]: Starting kdump-tools: ssh: connect to host 10.33.7.181 port 22: Network is unreachable
  [   17.293692] kdump-tools[2733]:  * kdump-tools: Unable to reach remote server root@10.33.7.181. No reason to continue
  [   17.405333] kdump-tools[2733]: Sun, 17 Apr 2016 20:56:59 -0500
  [   18.536587] kdump-tools[2733]: Rebooting.
  [   18.903280] reboot: Restarting system

  but I can ssh log noto medlp4 before triggering kdump.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1571590/+subscriptions