Skip to contentSkip to conversation

chown -R on every osd activating

DISCUSSION Paul Emmerich 2 participants 2 messages Mar 5, 2019 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 7 lines · Manuel Lausch

Now after rebooting a host I see there is a chown -R ceph:ceph running on each OSD before the OSD daemon starts.

This takes a lot of time (-> millions of objects per OSD) and I think this is unneccessary on each startup. In my opinion chowning was a case with the update from hammer to jewel.

Quoted 5 lines

I found this commit:
https://github.com/ceph/ceph/commit/100f2613a4659b3bd4e550250a41593860118010

Is this intentional or is there a check missing if chown is realy neccessary?

This is clearly a bug; it should either have the recursive=False parameter set or explicitly chown the necessary files. I think it should be the former.

Please open an issue at http://tracker.ceph.com/

Signature · 8 lines
Paul Emmerich
Looking for help with your Ceph cluster?
Contact us at https://croit.io
croit GmbH
Freseniusstr. 31h
81247 München
www.croit.io
Tel: +49 89 1896585 90
Quoted 7 lines

Regards
Manuel
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#3 lore raw
In reply to a message not in the archive
Quoted 12 lines · On Tue, 5 Mar 2019 11:04:16 +0100 Paul Emmerich…
Quoted 10 lines · Manuel Lausch

Now after rebooting a host I see there is a chown -R ceph:ceph running on each OSD before the OSD daemon starts.

This takes a lot of time (-> millions of objects per OSD) and I think this is unneccessary on each startup. In my opinion chowning was a case with the update from hammer to jewel.

I found this commit:
https://github.com/ceph/ceph/commit/100f2613a4659b3bd4e550250a41593860118010

Quoted 9 lines
Quoted 2 lines

Is this intentional or is there a check missing if chown is realy neccessary?

This is clearly a bug; it should either have the recursive=False parameter set or explicitly chown the necessary files. I think it should be the former.

Please open an issue at http://tracker.ceph.com/

Thanks. There is the ticket: http://tracker.ceph.com/issues/38581