Bug 1244158 - /etc/init.d/rbdmap relies on functions which are not defined in rhel 7
Summary: /etc/init.d/rbdmap relies on functions which are not defined in rhel 7
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: RBD
Version: 1.3.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 1.3.2
Assignee: Ken Dreyer (Red Hat)
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-17 10:37 UTC by Brad Hubbard
Modified: 2017-07-30 15:27 UTC (History)
7 users (show)

Fixed In Version: RHEL: ceph-0.94.5-1.el7cp Ubuntu: ceph_0.94.5-2redhat1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1244163 (view as bug list)
Environment:
Last Closed: 2016-02-29 14:42:25 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Ceph Project Bug Tracker 12415 0 None None None Never
Red Hat Bugzilla 1268971 0 unspecified CLOSED Drop dependency on redhat-lsb-core 2022-02-21 18:15:24 UTC
Red Hat Product Errata RHBA-2016:0313 0 normal SHIPPED_LIVE Red Hat Ceph Storage 1.3.2 bug fix and enhancement update 2016-02-29 19:37:43 UTC

Internal Links: 1268971

Description Brad Hubbard 2015-07-17 10:37:59 UTC
Description of problem:

Copy ceph.conf and admin keyring from cluster to client.

# 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 45: log_action_begin_msg: command not found
/etc/init.d/rbdmap: line 64: log_action_end_msg: command not found

# service rbdmap stop
/etc/init.d/rbdmap: line 100: log_action_begin_msg: command not found
/etc/init.d/rbdmap: line 121: log_action_end_msg: command not found


Version-Release number of selected component (if applicable):
ceph-common-0.94.1-13.el7cp.x86_64

How reproducible:
100%

Steps to Reproduce:
1. See description

Actual results:
Command not found errors seen

Expected results:
No errors, successful execution

Additional info:
log_action_* functions are included in /lib/lsb/init-functions on Ubuntu but not on rhel. It is a simple matter to replace these with "echo" or "logger" calls but of course we need a fix.

Comment 1 Josh Durgin 2015-07-17 19:54:00 UTC
Moving to 1.3.2 since it's not fixed upstream yet.

Comment 5 Ken Dreyer (Red Hat) 2015-12-10 20:50:44 UTC
This change is to ship in the future v0.94.6 upstream release.

Change to cherry-pick downstream is https://github.com/ceph/ceph/pull/6528

Comment 8 Tanay Ganguly 2016-02-02 08:58:26 UTC
Marking this BUG as verified.

I don't see any error message while executing

service rbdmap stop/start/restart

Comment 10 errata-xmlrpc 2016-02-29 14:42:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:0313


Note You need to log in before you can comment on or make changes to this bug.