create() takes at most 5 arguments (6 given)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
carbon |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Hi,
I've followed the install guide for the graphite project and, as far as I can tell, my test metrics aren't being collected, even though everything seems to be correctly in place. I double-checked every component of the stack and I believe I trace the error to the carbon component, as seen below:
./carbon-cache.py --debug start
Starting carbon-cache (instance a)
17/08/2012 09:40:08 :: [console] Log opened.
17/08/2012 09:40:08 :: [console] twistd 11.1.0 (/usr/bin/python 2.7.3) starting up.
17/08/2012 09:40:08 :: [console] reactor class: twisted.
17/08/2012 09:40:08 :: [console] ServerFactory starting on 2003
17/08/2012 09:40:08 :: [console] Starting factory <twisted.
17/08/2012 09:40:08 :: [console] ServerFactory starting on 2004
17/08/2012 09:40:08 :: [console] Starting factory <twisted.
17/08/2012 09:40:08 :: [console] ServerFactory starting on 7002
17/08/2012 09:40:08 :: [console] Starting factory <twisted.
17/08/2012 09:41:08 :: [console] Sorted 11 cache queues in 0.000025 seconds
17/08/2012 09:41:09 :: [creates] new metric carbon.
17/08/2012 09:41:09 :: [creates] new metric carbon.
17/08/2012 09:41:09 :: [console] "[Errno 17] File exists: '/opt/graphite/
17/08/2012 09:41:09 :: [creates] creating database file /opt/graphite/
17/08/2012 09:41:09 :: [console] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
--- <exception caught here> ---
File "/opt/graphite/
writeCached
File "/opt/graphite/
whisper.
exceptions.
I'm using Ubuntu 12.0.4.1 LTS and stable branches 0.9.x from github.
I'm in the process of evaluating this new graphing solution for my company and would love to show them some results... so this is kind of a bummer.
Thanks
Hi,
exactly the same bug for me, on Ubuntu using the latest stable release 0.9.10:
==> ./storage/ log/carbon- cache/carbon- cache-a/ console. log <== storage/ whisper/ carbon/ agents/ mubi/cache' " python2. 7/threading. py", line 504, in run __target( *self._ _args, **self.__kwargs) python2. 7/dist- packages/ twisted/ python/ threadpool. py", line 207, in _worker python2. 7/dist- packages/ twisted/ python/ context. py", line 118, in callWithContext text(). callWithContext (ctx, func, *args, **kw) python2. 7/dist- packages/ twisted/ python/ context. py", line 81, in callWithContext lib/carbon/ writer. py", line 161, in writeForever DataPoints( ) lib/carbon/ writer. py", line 122, in writeCachedData Points create( dbFilePath, archiveConfig, xFilesFactor, aggregationMethod, settings. WHISPER_ SPARSE_ CREATE, settings. WHISPER_ FALLOCATE_ CREATE) TypeError: create() takes at most 5 arguments (6 given)
21/08/2012 16:58:04 :: Sorted 1 cache queues in 0.000019 seconds
21/08/2012 16:58:04 :: "[Errno 17] File exists: '/opt/graphite/
21/08/2012 16:58:04 :: Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
--- <exception caught here> ---
File "/opt/graphite/
writeCached
File "/opt/graphite/
whisper.
exceptions.
I'm also evaluating Graphite solution for monitoring, but can't make it work.
Anyone for helping us ?
Thanks
Thomas.