Hi,

I'm deploying a swift 1.13 cluster on Ubuntu 14.04 and enabling ceilometer in the proxy pipeline results in it not working.

The cause appears to be the log directory perms (note I am running the proxy under Apache):

[Fri Jul 10 05:12:15.126214 2015] [:error] [pid 6844:tid 140048779998976] [remote 192.168.5.1:21419] IOError: [Errno 13] Permission denied: '/var/log/ceilometer/proxy-server.wsgi.log'

Sure enough:

$ ls -la /var/log/ceilometer/
total 16
drwxr-x---  2 ceilometer adm        4096 Jul 10 02:55 .

Looking at the swift user:

$ id swift
uid=50144(swift) gid=50145(swift) groups=50145(swift),4(adm),106(puppet),115(ceilometer)

This looks like https://bugs.launchpad.net/swift/+bug/1269473 but the code I have includes the fix for that. In fact it looks like the directory permissions are just being set wrong (indeed chmod'ing them to be 770 fixes this).

Am I missing something? I don't see how this can possibly work unless the directory allows group write.

Regards

Mark

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to