[ceph-users] Running ceph status as non-root user?
victorhooi at yahoo.com
Fri Mar 15 13:03:57 PDT 2019
I'm attempting to setup Telegraf <https://github.com/influxdata/telegraf>
on a Proxmox <http://proxmox.com> machine to send Ceph information into
I had a few issues around permissions (
https://github.com/influxdata/telegraf/issues/5590), but we seem to be
nearly sorted out.
However, one issue still remains around ceph status.
Specifically, it seems to require being able to read /etc/ceph/ceph.conf.
For example, if I run sudo under the telegraf user context:
root at syd1:/etc/ceph# sudo -u telegraf ceph status
2019-03-16 07:01:37.262708 7f7031e1e700 -1 Errors while parsing config file!
2019-03-16 07:01:37.262712 7f7031e1e700 -1 parse_file: cannot open
/etc/ceph/ceph.conf: (13) Permission denied
Error initializing cluster client: PermissionDeniedError('error calling
However, on Proxmox, ceph.conf is a symlink to a file on their pmxcfs
system - which doesn't let you set custom permissions.
Is there another way around this, to get ceph status to run under a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ceph-users