Syslog priority is broken for Ceph logs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Medium
|
Radoslaw Zarzynski | ||
7.0.x |
Won't Fix
|
High
|
MOS Ceph | ||
8.0.x |
Won't Fix
|
Medium
|
MOS Ceph | ||
Mitaka |
Won't Fix
|
Medium
|
Radoslaw Zarzynski | ||
Newton |
Won't Fix
|
Medium
|
Radoslaw Zarzynski |
Bug Description
The Ceph processes log messages with a broken priority value:
# tail /var/log/syslog
<8>Aug 6 12:54:15 node-38 ceph-mon: 2015-08-06 12:54:15.099553 7f23b2ac8700 0 mon.node-
<8>Aug 6 12:54:15 node-38 ceph-mon: 2015-08-06 12:54:15.113244 7f23b2ac8700 0 mon.node-
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.318317 7f6754fd9700 1 ====== starting new request req=0x7f6768010270 =====
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.319669 7f6754fd9700 1 ====== req done req=0x7f6768010270 http_status=200 ======
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.320780 7f6756fdd700 1 ====== starting new request req=0x7f6768010760 =====
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.321473 7f6755fdb700 1 ====== starting new request req=0x7f676801d5d0 =====
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.322608 7f6756fdd700 1 ====== req done req=0x7f6768010760 http_status=200 ======
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.322853 7f6755fdb700 1 ====== req done req=0x7f676801d5d0 http_status=200 ======
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.327602 7f67577de700 1 ====== starting new request req=0x7f676801ede0 =====
<8>Aug 6 12:54:16 node-38 radosgw: 2015-08-06 12:54:16.328477 7f67577de700 1 ====== req done req=0x7f676801ede0 http_status=200 ======
The priority <8> means facility=8 (user-level messages) and severity level=0 (emergency). So something is wrong here, these log messages are definitely not indicating an emergency situation...
The logging configuration for Ceph:
log_to_syslog_level = info
log_to_syslog = True
log_to_
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_
api: "1.0"
build_number: "525"
build_id: "2015-06-
nailgun_sha: "dbd54158812033
python-
astute_sha: "1ea8017fe88894
fuel-library_sha: "2e7a08ad9792c7
fuel-ostf_sha: "8fefcf7c464937
fuelmain_sha: "a3998372183468
Changed in fuel: | |
milestone: | none → 7.0 |
assignee: | nobody → Oleksiy Molchanov (omolchanov) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in fuel: | |
status: | Confirmed → Won't Fix |
tags: | added: logging |
no longer affects: | fuel/8.0.x |
Changed in fuel: | |
milestone: | 7.0 → 8.0 |
status: | Won't Fix → Confirmed |
tags: | added: area-library |
Changed in fuel: | |
assignee: | Peter Zhurba (pzhurba) → Fuel Library Team (fuel-library) |
Changed in fuel: | |
status: | Confirmed → In Progress |
assignee: | Fuel Library Team (fuel-library) → Maksim Malchuk (mmalchuk) |
Changed in fuel: | |
assignee: | MOS Linux (mos-linux) → MOS Ceph (mos-ceph) |
tags: |
added: area-mos removed: area-library |
Changed in fuel: | |
milestone: | 9.0 → 9.x-updates |
changing *_syslog_level and *_syslog_facility in the ceph.conf and restarting services didn't solve the problem