some ceph-process-states status logs are cutting off

Bug #2063123 reported by Hediberto Cavalcante da Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Hediberto Cavalcante da Silva

Bug Description

Brief Description
-----------------
Some ceph-process-states status logs are cutting off:

After performing 'status mon' or 'status osd' command, the ceph-process-states is logging only the 'status' message. This behavior has been noticed in other ceph commands.

Additionally, a 'WARN: Unknown process type: mds' flood message is noticed.

Severity
--------
Minor

Steps to Reproduce
------------------
sudo /etc/init.d/ceph-init-wrapper status osd

Expected Behavior
------------------
YYYY-MM-DD HH:MM:s.SSSS /etc/init.d/ceph - INFO: status osd

Actual Behavior
----------------
YYYY-MM-DD HH:MM:s.SSSS /etc/init.d/ceph - INFO: status

Reproducibility
---------------
Reproducible

System Configuration
--------------------
Any

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

Changed in starlingx:
assignee: nobody → Hediberto Cavalcante da Silva (hcavalca)
Changed in starlingx:
status: New → In Progress
tags: added: stx.storage
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to integ (master)

Reviewed: https://review.opendev.org/c/starlingx/integ/+/906318
Committed: https://opendev.org/starlingx/integ/commit/15b6f23511401faf4b6e47b199c5ca8581199fc3
Submitter: "Zuul (22348)"
Branch: master

commit 15b6f23511401faf4b6e47b199c5ca8581199fc3
Author: Hediberto Cavalcante da Silva <email address hidden>
Date: Mon Jan 22 17:46:33 2024 -0300

    Ceph Logs Improvements

    Thinking about better tracking the Ceph Process States logs,
    we have added some crucial information like PID, parental PID,
    and the name of the parental process.
    Also, some checking status INFO logs have been increased to DEBUG level.

    yyyy-MM-dd HH:mm:ss.SSSSSS <script_path> <prefix> <log_level>: <message>
    where, prefix = <pid_subshell> <ppid_name>[<ppid>] <name|optional>

    Test Plan:
      PASS: Checking the new logs pattern after using a new build.
      PASS: Testing different scenarios and trying to track related SM
            actions with logs in the ceph-process-states.log file.

    Closes-Bug: 2063123

    Change-Id: I218ae2316218d9548cd1b43d645ddfb338fd1bce
    Signed-off-by: Hediberto Cavalcante da Silva <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
description: updated
Ghada Khalil (gkhalil)
Changed in starlingx:
importance: Undecided → Low
tags: added: stx.10.0
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.