Repository navigation
Conversation
- Pass `getenv("CEPH_ID")` to `rados_create()` in `src/store_rados.c` instead of `NULL`, allowing RADOS tile stores to connect as a non-admin Ceph user (e.g. `CEPH_ID=tiles` for `client.tiles`)
- Falls back to the librados default (`client.admin`) when unset, so existing setups are unaffected
- Document `CEPH_ID` in a new ENVIRONMENT section of `docs/man/renderd.1`
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
| conf = strdup(&(tmp[i])); | ||
|
|
||
| err = rados_create(&(ctx->cluster), NULL); | ||
| err = rados_create(&(ctx->cluster), getenv("CEPH_ID")); |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #571 +/- ##
==========================================
+ Coverage 81.54% 89.70% +8.16%
==========================================
Files 24 24
Lines 5645 5547 -98
==========================================
+ Hits 4603 4976 +373
+ Misses 1042 571 -471 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Thanks for putting this together—supporting non-admin Ceph users is a great addition. Rather than an environment variable, I'd prefer this to be configured in Since
Let me know what you think! |
getenv("CEPH_ID")torados_create()insrc/store_rados.cinstead ofNULL, allowing RADOS tile stores to connect as a non-admin Ceph user (e.g.CEPH_ID=tilesforclient.tiles)client.admin) when unset, so existing setups are unaffectedCEPH_IDin a new ENVIRONMENT section ofdocs/man/renderd.1