kdump-tools service is not getting auto enabled on all nodes

Bug #2007398 reported by Eric MacDonald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Eric MacDonald

Bug Description

Brief Description
-----------------
The kdump-tools service is not getting enabled on all nodes in the system.

It's only seen enabled on the active controller.

sysadmin@controller-0:~$ systemctl status kdump-tools
● kdump-tools.service - Kernel crash dump capture service
     Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor preset: disabled)
     Active: active (exited) since Tue 2023-02-14 14:31:50 UTC; 2h 43min ago
   Main PID: 948 (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 28614)
     Memory: 0B
        CPU: 0
     CGroup: /system.slice/kdump-tools.service

Although the kdump-tools service shows 'enabled' its vendor preset is 'disabled'.

Notice its state on other unlocked-enabled system nodes.

sysadmin@controller-1:~$ systemctl status kdump-tools
● kdump-tools.service - Kernel crash dump capture service
     Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor preset: disabled)
     Active: inactive (dead)

sysadmin@worker-0:~$ systemctl status kdump-tools
● kdump-tools.service - Kernel crash dump capture service
     Loaded: loaded (/lib/systemd/system/kdump-tools.service; enabled; vendor preset: disabled)
     Active: inactive (dead)

Enabling the 'preset fixed this issue.

Severity
--------
Major: Crash dumps don't occur on any nodes except for the active controller.

Steps to Reproduce
------------------
100% Reproducible

Expected Behavior
------------------
kdump-tools service is auto enabled during startup

Actual Behavior
----------------
kdump-tools service is not auto enabled during startup

Reproducibility
---------------
<Reproducible/Intermittent/Seen once>
State if the issue is 100% reproducible, intermittent or seen once. If it is intermittent, state the frequency of occurrence

System Configuration
--------------------
<One node system, Two node system, Multi-node system, Dedicated storage, https, IPv4, IPv6 etc.>

Branch/Pull Time/Commit
-----------------------
Any Debian build

Last Pass
---------
Unknown

Timestamp/Logs
--------------
See description

Test Activity
-------------
Developer Testing

Workaround
----------
sudo systemctl start kdump-tools

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to integ (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/starlingx/integ/+/873949

Changed in starlingx:
status: New → In Progress
description: updated
Ghada Khalil (gkhalil)
tags: added: stx.integ
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/873949
Committed: https://opendev.org/starlingx/integ/commit/007d079b8ee092dd16f74b9d6d6ff2ca22e04202
Submitter: "Zuul (22348)"
Branch: master

commit 007d079b8ee092dd16f74b9d6d6ff2ca22e04202
Author: Eric MacDonald <email address hidden>
Date: Wed Feb 15 12:11:44 2023 -0500

    Add enable kdump-tools service to systemd-presets package

    This update adds 'enable kdump-tools.service' to the
    systemd-presets package for all install types.

    This ensures that the kdump-tools service is auto
    enabled on all system nodes following the install.

    Test Plan:

    PASS: Verify Debian package build
    PASS: Verify kdump-tools service is auto enabled on all
          system nodes and types:
          + AIO DX install on real hw
          + AIO DX lowlatency install (virtual)
          + Standard DX with 1 storage and 1 low latency worker (virtual)
          + Standard DX with one worker (virtual)
          + Subcloud install (virtual)

    Closes-Bug: 2007398
    Signed-off-by: Eric MacDonald <email address hidden>
    Change-Id: Ifa40cfc8c5d4b0f0010242f6af87d73390088f80

Changed in starlingx:
status: In Progress → Fix Released
Ghada Khalil (gkhalil)
tags: added: stx.9.0
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Medium
assignee: nobody → Eric MacDonald (rocksolidmtce)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.