Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688828 - sys-cluster/ceph-13: radosgw doesn't work with init script
Summary: sys-cluster/ceph-13: radosgw doesn't work with init script
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-27 14:30 UTC by max
Modified: 2021-02-26 00:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ceph openrc script (ceph,3.12 KB, text/plain)
2019-06-27 14:30 UTC, max
Details

Note You need to log in before you can comment on or make changes to this bug.
Description max 2019-06-27 14:30:11 UTC
Created attachment 581152 [details]
ceph openrc script

Due to https://tracker.ceph.com/issues/40525, the init script doesn't let one start a radosgw instance with any other ID than `admin`.

Since the code hasn't been changed in ~8 years, this most likely affects 12 and 14 as well.

Additionally, the init script doesn't strip the `radosgw` service name that's used for the ID, and allows name collisions for log files (since only the instance ID is used, not instance type, an OSD and a mon both named 0 would go into the same file).
Comment 1 max 2019-06-27 14:30:57 UTC
Previously attached script has those fixes, and is backwards compatible with old running check.