[Bug 1557461] Re: ceph-osd-prestart.sh is called with wrong options
James Page
james.page at ubuntu.com
Tue Apr 5 16:05:05 UTC 2016
Pull request made upstream - will go in with my next upload to xenial:
https://github.com/ceph/ceph/pull/8449
** Changed in: ceph (Ubuntu)
Status: New => Fix Committed
** Changed in: ceph (Ubuntu)
Importance: Undecided => Medium
--
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 Committed
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