[Bug 1557461] Re: ceph-osd-prestart.sh is called with wrong options

Launchpad Bug Tracker 1557461 at bugs.launchpad.net
Wed Apr 6 20:21:28 UTC 2016


This bug was fixed in the package ceph - 10.1.0-0ubuntu1

---------------
ceph (10.1.0-0ubuntu1) xenial; urgency=medium

  * New upstream release candidate for Ceph Jewel
    (see http://pad.lv/1563714 for FFe):
    - d/control,rules,librgw*: Add new binary packages for librgw2.
    - d/p/fix-systemd-escaping.patch,pybind-flags.patch: Dropped,
      included upstream.
    - d/p/*: Refresh remaining patches.
    - d/control: Add BD on libldap2-dev for rados gateway.
    - d/p/disable-openssl-linking.patch: Disable build time linking
      with OpenSSL due to licensing incompatibilities.
    - d/*.symbols: Add new symbols for RC.
    - d/python-*.install: Correct wildcards for python module install.
    - d/p/32bit-compat.patch: Cherry pick upstream fix for 32 bit
      compatibility, resolving FTBFS on armhf/i386.
  * d/rules: Strip rbd-mirror package correctly.
  * d/rules: Install upstart and systemd configurations for rbd-mirror.
  * d/copyright: Ensure that jerasure and gf-complete are not stripped
    from the upstream release tarball.
  * d/p/drop-user-group-osd-prestart.patch: Drop --setuser/--setgroup
    arguments from call to ceph-osd-prestart.sh; they are not supported
    and generate spurious non-fatal warning messages (LP: #1557461).
  * d/p/tasksmax-infinity.patch: Drop systemd limitation of number of
    processes and threads to long running ceph processes; the default
    of 512 tasks is way to low for even a modest Ceph cluster
    (LP: #1564917).
  * d/rules: Ensure that dh_systemd_start does not insert maintainer
    script snippets for ceph-mon and ceph-create-keys - service restart
    should be handled outside of the packaging as it is under upstart
    and for all other systemd unit files installed (LP: #1563330).

 -- James Page <james.page at ubuntu.com>  Wed, 06 Apr 2016 09:17:59 +0100

** Changed in: ceph (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1557461

Title:
  ceph-osd-prestart.sh is called with wrong options

Status in ceph package in Ubuntu:
  Fix Released

Bug description:
  This only affects the xenial package, in /lib/systemd/system/ceph-
  osd at .service there is

  ExecStartPre=/usr/lib/ceph/ceph-osd-prestart.sh --cluster ${CLUSTER}
  --id %i --setuser ceph --setgroup ceph

  where the options were just copied from the ExecStart but this
  triggers errors:

  ceph-osd-prestart.sh[14077]: getopt: unrecognized option '--setuser'
  ceph-osd-prestart.sh[14077]: getopt: unrecognized option '--setgroup'

  Looking into the script, it only has some hardcoded checks for the
  user "ceph" anyway. Not sure whether it would make sense to allow more
  flexibility here or just remove the options from the service
  definition.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1557461/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list