Ceph spams console during network issue.

dragon2611

Renowned Member
Jul 2, 2010
93
9
73
If there's an issue with a nodes network connectvity ceph will spam the console with connection error messages, this makes it very awkward to work on the console to try and fix the underlaying issue,

Also some IPMI's don't always translate keyboard commands very well so switching TTY is not always easy.
 
I know your pain... Try with dmesg -n 1. From man dmesg:

Code:
       -n, --console-level level
           Set the level at which printing of messages is done to the console. The level is a level number or abbreviation of the level name. For all supported levels see the --help output.

           For example, -n 1 or -n emerg prevents all messages, except emergency (panic) messages, from appearing on the console. All levels of messages are still written to /proc/kmsg, so syslogd(8) can still be used
           to control exactly where kernel messages appear. When the -n option is used, dmesg will not print or clear the kernel ring buffer.
 
  • Like
Reactions: alexskysilk