Project

General

Profile

Actions

Bug #12415

closed

init-rbdmap uses distro-specific functions

Added by Josh Durgin almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
firefly, hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Debian-based distros have logging functions that are not present on other distros:

# grep -v ^# /etc/ceph/rbdmap
rbd-images/test-rbd-image id=admin,keyring=/etc/ceph/ceph.client.admin.keyring
# service rbdmap start
/etc/init.d/rbdmap: line 32: log_daemon_msg: command not found
/etc/init.d/rbdmap: line 54: log_progress_msg: command not found
/etc/init.d/rbdmap: line 60: log_end_msg: command not found
/etc/init.d/rbdmap: line 64: log_action_begin_msg: command not found
/etc/init.d/rbdmap: line 66: log_action_end_msg: command not found
# service rbdmap stop
/etc/init.d/rbdmap: line 71: log_daemon_msg: command not found
/etc/init.d/rbdmap: line 81: log_progress_msg: command not found
/etc/init.d/rbdmap: line 86: log_end_msg: command not found

Related issues 2 (0 open2 closed)

Copied to rbd - Backport #13694: init-rbdmap uses distro-specific functionsRejectedActions
Copied to rbd - Backport #13695: init-rbdmap uses distro-specific functionsResolvedAbhishek LekshmananActions
Actions

Also available in: Atom PDF