← Back to team overview

graphite-dev team mailing list archive

[Question #170511]: No such file or directory: /opt/graphite/storage/whisper/carbon/agents/...

 

New question #170511 on Graphite:
https://answers.launchpad.net/graphite/+question/170511

The gist of it: https://gist.github.com/1202515

Relevant part of the Traceback:

File "/opt/graphite/lib/carbon/writer.py", line 108, in writeCachedDataPoints
  whisper.create(dbFilePath, archiveConfig)
File "/usr/local/lib/python2.7/dist-packages/whisper.py", line 209, in create
  fh = open(path,'wb')
exceptions.IOError: [Errno 2] No such file or directory: '/opt/graphite/storage/whisper/carbon/agents/master01/creates.wsp'

I installed and configured Graphite 0.9.8 according to the instructions on http://readthedocs.org/docs/graphite/en/latest/install.html. Whisper was manually installed rather than using the binary package. Google is unhelpful searching for "graphite carbon no such file or directory".

I have plenty of free diskspace. Carbon cache runs as the graphite user, and graphite owns /opt/graphite/storage and descendants:

# ls -ld /opt/graphite/storage/
drwxr-xr-x 6 graphite graphite 4096 2011-09-08 01:34 /opt/graphite/storage/
# ls -ld /opt/graphite/storage/whisper/
drwxr-xr-x 2 graphite graphite 4096 2011-09-08 01:34 /opt/graphite/storage/whisper/

storage-schemas.conf says:

# cat /opt/graphite/conf/storage-schemas.conf
[everything]
priority = 100
pattern = .*
retentions = 10s:1d,1m:7d,15m:30d

I hope this means "keep 10s precision data for 1 day, then minutely precision for 7 days, then 15 minute precision data for 30 days". By the way, does this mean I'll have 30 + 7 + 1 days of data in the archive, or 30 days total?

I'm starting carbon-cache.py under daemontools control, using the following:

PATH=/usr/local/bin:/usr/bin
cd /opt/graphite/
exec /usr/local/bin/setuidgid graphite /usr/bin/python bin/carbon-cache.py --debug start

I'm using --debug to keep carbon-cache in the foreground, because it makes carbon-cache much easier to manage under daemontools.

Any help greatly appreciated in starting making my carbon-cache writing data to disk.

Thanks!
François

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