Project

General

Profile

Bug #12415

init-rbdmap uses distro-specific functions

Added by Josh Durgin over 7 years ago. Updated almost 7 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

Copied to rbd - Backport #13694: init-rbdmap uses distro-specific functions Rejected
Copied to rbd - Backport #13695: init-rbdmap uses distro-specific functions Resolved

History

#1 Updated by Boris Ranto about 7 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.

#2 Updated by Boris Ranto about 7 years ago

  • Status changed from Fix Under Review to Pending Backport

Merged upstream (infernalis).

#3 Updated by Loïc Dachary about 7 years ago

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

#4 Updated by Loïc Dachary about 7 years ago

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

#5 Updated by Loïc Dachary almost 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF