When adding ceilometer to the pipeline, swift-proxy cannot start as it cannot read /etc/ceilometer/ceilometer.conf. The solution is to chown/chgrp/chmod 644 /etc/ceilometer/ceilometer.conf and restart swift-proxy. The problem I have with this solution is that if we need to have another service reading /etc/ceilometer/ceilometer.conf, it wont be possible to do that.
IE: Nova, Swift and Ceilometer trying to access that file? Unless they have a common group like "adm"....
Dec 17 23:09:27 z4 proxy-server UNCAUGHT EXCEPTION#012Traceback (most recent call last):#012 File "/usr/bin/swift-proxy-server", line 22, in <module>#012 run_wsgi(conf_file, 'proxy-server', default_port=8080, **options)#012 File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 187, in run_wsgi#012 run_server()#012 File "/usr/lib/python2.7/dist-packages/swift/common/wsgi.py", line 149, in run_server#012 global_conf=
{'log_name': log_name}
)#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp#012 return loadobj(APP, uri, name=name, **kw)#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj#012 return context.create()#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create#012 return self.object_type.invoke(self)#012 File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke#012 app = filter(app)#012 File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift_middleware.py", line 171, in ceilometer_filter#012 return CeilometerMiddleware(app, conf)#012 File "/usr/lib/python2.7/dist-packages/ceilometer/objectstore/swift_middleware.py", line 80, in _init#012 service.prepare_service()#012 File "/usr/lib/python2.7/dist-packages/ceilometer/service.py", line 91, in prepare_service#012 cfg.CONF(argv[1:], project='ceilometer')#012 File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1180, in __call_#012 self._parse_config_files()#012 File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1655, in _parse_config_files#012 raise ConfigFilesNotFoundError(not_read_ok)#012ConfigFilesNotFoundError: Failed to read some config files: /etc/ceilometer/ceilometer.conf
I'm setting this as won't fix as we can't do anything with that in Ceilometer. It's only a deployment problem.