some ceph-process-states status logs are cutting off
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.
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 |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.10.0 |
Reviewed: https:/ /review. opendev. org/c/starlingx /integ/ +/906318 /opendev. org/starlingx/ integ/commit/ 15b6f23511401fa f4b6e47b199c5ca 8581199fc3
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 15b6f23511401fa f4b6e47b199c5ca 8581199fc3
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: states. log file.
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-
Closes-Bug: 2063123
Change-Id: I218ae2316218d9 548cd1b43d645dd fb338fd1bce
Signed-off-by: Hediberto Cavalcante da Silva <email address hidden>