Project

General

Profile

Actions

Bug #12415

closed

init-rbdmap uses distro-specific functions

Added by Josh Durgin almost 9 years ago. Updated about 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 #1

Updated by Boris Ranto over 8 years ago

  • Status changed from 12 to Fix Under Review
  • Assignee set to Boris Ranto

This should be fixed by

https://github.com/ceph/ceph/pull/6363

although the backports might be a bit tricky.

Actions #2

Updated by Boris Ranto over 8 years ago

  • Status changed from Fix Under Review to Pending Backport

Merged upstream (infernalis).

Actions #3

Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #13694: init-rbdmap uses distro-specific functions added
Actions #4

Updated by Loïc Dachary over 8 years ago

  • Copied to Backport #13695: init-rbdmap uses distro-specific functions added
Actions #5

Updated by Loïc Dachary about 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF