handling qemu-guest logs in ceph-ansible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



With the new unprivileged user support in Jewel, I'm seeing some
issues with logging and file permissions.

ceph-ansible always configures client logging on every cluster node, like so:

  [client]
  log file = /var/log/ceph/qemu-guest-$pid.log

As a result, every single client command (eg "ceph health") will
create a new root-owned "qemu-guest-$pid" log file (which leads to
issues with logrotate failing to rotate the root-owned files in the
diretory...)

It's clear we need to remove that bit from the ceph.conf files that
ceph-ansible writes, but I'm wondering what it *should* be?

Is there a more granular way to configure Ceph so that we only log
qemu/librbd interactions to qemu-guest-$pid, rather than all client
logs?

- Ken
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux