Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/man/renderd.1
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ Print out a help text for renderd
.TP
.BR \-V ", " \-\^\-version
Print out the version number for renderd
.SH ENVIRONMENT
.TP
.B CEPH_ID
Ceph client id used to connect to the cluster when a tile directory is a RADOS store
(\fB'rados://<pool>/<path to ceph.conf>'\fR), e.g. \fB'tiles'\fR for the \fBclient.tiles\fR user.
It is read by every component using the RADOS backend (\fBrenderd\fR, \fBmod_tile\fR and the
\fBrender_*\fR tools). If unset, the librados default (\fBclient.admin\fR) is used.
.SH SEE ALSO
.BR renderd.conf(5)
.SH AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion src/store_rados.c
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@
memcpy(ctx->pool, tmp, i * sizeof(char));
conf = strdup(&(tmp[i]));

err = rados_create(&(ctx->cluster), NULL);
err = rados_create(&(ctx->cluster), getenv("CEPH_ID"));

if (err < 0) {
g_logger(G_LOG_LEVEL_ERROR, "init_storage_rados: cannot create a cluster handle: %s", strerror(-err));
Expand Down
Loading