Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - Updating Graphite version to 1.0.1 #83

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bfosberry
Copy link

Resolves #80

This is work in progress, some routing issues have come up, could use a hand on this

@bfosberry
Copy link
Author

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant