Skip to contentSkip to conversation

Request for static uid/gid for ceph

DISCUSSION Gaudenz Steinlin 3 participants 4 messages Apr 15, 2015 – May 15, 2015

lore
Share & tools
lore
#0 lore raw

Hi

Ceph is currently developing unprivileged user support, and the upstream developers are asking each of the distros to allocate a static numerical UID for the "ceph" user and group.

The reason for the static number is to allow Ceph users to hot-swap hard drives from one OSD server to another. Currently this practice works because Ceph writes its files as "uid 0", but when Ceph starts writing its files as an unprivileged user, it will be nice to allow administrators to unplug a drive and plug it into another computer and everything to just work.

For this I'm requesting an uid and gid from the reserved range 60000-64999 according to the process outlined in
https://anonscm.debian.org/cgit/users/cjwatson/base-passwd.git/tree/README.

Thanks,
Gaudenz

#1 lore raw

Hi base-passwd maintainers

Did you receive the request below? Anything I need to do to get it processed? Any estimate how long it will take until I get a decision?

Thanks for your work

Gaudenz

Quoted 24 lines · Gaudenz Steinlin

Hi

Ceph is currently developing unprivileged user support, and the upstream developers are asking each of the distros to allocate a static numerical UID for the "ceph" user and group.

The reason for the static number is to allow Ceph users to hot-swap hard drives from one OSD server to another. Currently this practice works because Ceph writes its files as "uid 0", but when Ceph starts writing its files as an unprivileged user, it will be nice to allow administrators to unplug a drive and plug it into another computer and everything to just work.

For this I'm requesting an uid and gid from the reserved range 60000-64999 according to the process outlined in
https://anonscm.debian.org/cgit/users/cjwatson/base-passwd.git/tree/README.

Thanks,
Gaudenz

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

#2 lore raw
In reply to Gaudenz Steinlin
Quoted 11 lines · Gaudenz Steinlin

Ceph is currently developing unprivileged user support, and the upstream developers are asking each of the distros to allocate a static numerical UID for the "ceph" user and group.

The reason for the static number is to allow Ceph users to hot-swap hard drives from one OSD server to another. Currently this practice works because Ceph writes its files as "uid 0", but when Ceph starts writing its files as an unprivileged user, it will be nice to allow administrators to unplug a drive and plug it into another computer and everything to just work.

Quoted 3 lines

For this I'm requesting an uid and gid from the reserved range 60000-64999 according to the process outlined in
https://anonscm.debian.org/cgit/users/cjwatson/base-passwd.git/tree/README.

Sorry for the delay. This seems entirely reasonable; I've allocated uid/gid 64045, which you'll now find in the git tree above. I haven't uploaded base-passwd with this yet, but you can go ahead and make use of this immediately in Debian/Ubuntu without needing to wait for an upload.

Regards,

Signature · 1 line
Colin Watson                                       [[email protected]]
#3 lore raw
Quoted 12 lines · Colin Watson
Quoted 11 lines · Gaudenz Steinlin

Ceph is currently developing unprivileged user support, and the upstream developers are asking each of the distros to allocate a static numerical UID for the "ceph" user and group.

The reason for the static number is to allow Ceph users to hot-swap hard drives from one OSD server to another. Currently this practice works because Ceph writes its files as "uid 0", but when Ceph starts writing its files as an unprivileged user, it will be nice to allow administrators to unplug a drive and plug it into another computer and everything to just work.

Quoted 8 lines
Quoted 3 lines

For this I'm requesting an uid and gid from the reserved range 60000-64999 according to the process outlined in
https://anonscm.debian.org/cgit/users/cjwatson/base-passwd.git/tree/README.

Sorry for the delay. This seems entirely reasonable; I've allocated uid/gid 64045, which you'll now find in the git tree above. I haven't uploaded base-passwd with this yet, but you can go ahead and make use of this immediately in Debian/Ubuntu without needing to wait for an upload.

Excellent! Thanks, Colin!

sage