graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #06055
[Question #289052]: Aggregator non root config to start
New question #289052 on Graphite:
https://answers.launchpad.net/graphite/+question/289052
Hi,
I'll start with my objective. I'm trying to configure the following:
AGGREGATOR 1 --> AGGREGATOR 2 --> AGGREGATOR CACHE
(3 different apps on 3 different boxes)
So far if apps are reporting to AGGREGATOR 2 everything is running fine. Now we had to add AGGREGATOR 1 for scaling reasons but I don't have root access there. So I downloaded the sources and installed with:
python setup.py install --install-lib=/opt/local/stats/carbon/lib --install-data=/opt/local/stats/carbon --install-script=/opt/local/stats/carbon/bin
I created the aggregator.rules and carbon.conf where I changed the destination to be AGGREGATOR 2. I was also missing some dependencies: Twisted, Zope.interface, setuptools so I build them and added the egg in my pythonpath.
Then I modified carbon-aggregator.py and added:
from pkg_resources import require
require('setuptools')
require('zope.interface')
require('twisted')
But running the following:
python ../bin/carbon-aggregator.py --config=./carbon.conf --rules=./aggregation-rules.conf start
Unexpected error while writing cache file
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/twisted/python/usage.py", line 411, in <lambda>
File "build/bdist.linux-x86_64/egg/twisted/application/app.py", line 486, in opt_reactor
File "build/bdist.linux-x86_64/egg/twisted/application/reactors.py", line 80, in installReactor
File "build/bdist.linux-x86_64/egg/twisted/plugin.py", line 213, in getPlugins
--- <exception caught here> ---
File "build/bdist.linux-x86_64/egg/twisted/plugin.py", line 185, in getCache
exceptions.AttributeError: 'ZipPath' object has no attribute 'setContent'
Unexpected error while writing cache file
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/twisted/application/app.py", line 579, in parseOptions
File "build/bdist.linux-x86_64/egg/twisted/python/usage.py", line 262, in parseOptions
File "build/bdist.linux-x86_64/egg/twisted/application/app.py", line 596, in subCommands
File "build/bdist.linux-x86_64/egg/twisted/plugin.py", line 213, in getPlugins
--- <exception caught here> ---
File "build/bdist.linux-x86_64/egg/twisted/plugin.py", line 185, in getCache
exceptions.AttributeError: 'ZipPath' object has no attribute 'setContent'
No database plugin implemented for 'whisper'
Why is whisper required?
I'm on CentOS release 5.8 (Final)
I feel like I'm missing something but I can't find lots of documentation about installing from source and just the aggregator daemon.
Thanks in advance for any help
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.