Open bfosberry opened 7 years ago
Now I get 500s hitting port 80:
Traceback (most recent call last):
File "/opt/graphite/bin/carbon-cache.py", line 32, in <module>
run_twistd_plugin(__file__)
File "/opt/graphite/lib/carbon/util.py", line 96, in run_twistd_plugin
runApp(config)
File "/usr/local/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
_SomeApplicationRunner(config).run()
File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 386, in run
self.application = self.createOrGetApplication()
File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 446, in createOrGetApplication
ser = plg.makeService(self.config.subOptions)
File "/opt/graphite/lib/twisted/plugins/carbon_cache_plugin.py", line 21, in makeService
return service.createCacheService(options)
File "/opt/graphite/lib/carbon/service.py", line 114, in createCacheService
setupPipeline(['write'], root_service, settings)
File "/opt/graphite/lib/carbon/service.py", line 88, in setupPipeline
setupWriterProcessor(root_service, settings)
File "/opt/graphite/lib/carbon/service.py", line 182, in setupWriterProcessor
from carbon.writer import WriterService
File "/opt/graphite/lib/carbon/writer.py", line 34, in <module>
SCHEMAS = loadStorageSchemas()
File "/opt/graphite/lib/carbon/storage.py", line 89, in loadStorageSchemas
archives = [Archive.fromString(s) for s in retentions]
File "/opt/graphite/lib/carbon/storage.py", line 74, in fromString
(secondsPerPoint, points) = parseRetentionDef(retentionDef)
File "/opt/graphite/lib/carbon/util.py", line 154, in parseRetentionDef
precision = int(match.group(1)) * UnitMultipliers[getUnitString(match.group(2))]
File "/opt/graphite/lib/carbon/util.py", line 140, in getUnitString
raise ValueError("Invalid unit '%s'" % s)
ValueError: Invalid unit 'min'
Resolves #80
This is work in progress, some routing issues have come up, could use a hand on this