← Back to team overview

graphite-dev team mailing list archive

Re: [Question #201454]: Unhandled Error while creating a new database

 

Question #201454 on Graphite changed:
https://answers.launchpad.net/graphite/+question/201454

Description changed to:
Heya,

I moved my graphite installation to another server (Same OS, same paths,
same configs, etc...) earlier today and everything seemed to be working
well. Unfortunately, when I tried to add a new metric, errors started
appearing and I have no idea what to do of them.

Any idea?


25/06/2012 23:14:54 :: [listener] MetricLineReceiver connection with 10.133.127.86:49567 established
25/06/2012 23:14:54 :: [listener] invalid line received from client 10.133.127.86:49567, ignoring
25/06/2012 23:14:54 :: [listener] MetricLineReceiver connection with 10.133.127.86:49567 closed cleanly
25/06/2012 23:14:54 :: [console] Sorted 3 cache queues in 0.000116 seconds
25/06/2012 23:14:54 :: [creates] new metric proxy.bluecoat.bytes matched schema stats
25/06/2012 23:14:54 :: [creates] new metric proxy.bluecoat.bytes matched aggregation schema default
25/06/2012 23:14:54 :: [creates] creating database file /opt/graphite/storage/whisper/proxy/bluecoat/bytes.wsp (archive=[(10, 2160), (60, 10080), (600, 52560)] xff=None agg=None)
25/06/2012 23:14:54 :: [console] Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
--- <exception caught here> ---
  File "/opt/graphite/lib/carbon/writer.py", line 158, in writeForever
    writeCachedDataPoints()
  File "/opt/graphite/lib/carbon/writer.py", line 118, in writeCachedDataPoints
    whisper.create(dbFilePath, archiveConfig, xFilesFactor, aggregationMethod, settings.WHISPER_SPARSE_CREATE)
exceptions.TypeError: create() takes at most 4 arguments (5 given)

I'm running the latest stable of everything.

EDIT: I just ran a quick test right out of the docs and got the same
error :\

PORT=2003
SERVER=127.0.0.1
echo "local.random.diceroll 4 `date +%s`" | nc ${SERVER} ${PORT};

25/06/2012 23:28:50 :: [creates] creating database file /opt/graphite/storage/whisper/local/random/diceroll.wsp (archive=[(10, 2160), (60, 10080), (600, 52560)] xff=None agg=None)
25/06/2012 23:28:50 :: [console] Unhandled Error
(everything else is the same)

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.