← Back to team overview

graphite-dev team mailing list archive

[Question #294821]: Graphite megacarbon setup failure

 

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

I was trying to replace carbon with megacarbon in my graphite instance and am seeing the below error which starting carbon-daemon

Unhandled Error
Traceback (most recent call last):
  File "/opt/graphite/lib/carbon/util.py", line 125, in run_twistd_plugin
    config.parseOptions(twistd_options)
  File "/Library/Python/2.7/site-packages/twisted/application/app.py", line 614, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/Library/Python/2.7/site-packages/twisted/python/usage.py", line 261, in parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/Library/Python/2.7/site-packages/twisted/application/app.py", line 631, in subCommands
    for plug in sorted(plugins, key=attrgetter('tapname')):
--- <exception caught here> ---
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 213, in getPlugins
    adapted = interface(plugin, None)
  File "/Library/Python/2.7/site-packages/zope/interface/interface.py", line 467, in _call_conform
    return conform(self)
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 68, in __conform__
    return self.load()
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 63, in load
    return namedAny(self.dropin.moduleName + '.' + self.name)
  File "/Library/Python/2.7/site-packages/twisted/python/reflect.py", line 464, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/Library/Python/2.7/site-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack
    return __import__(importName)
  File "/opt/graphite/lib/twisted/plugins/carbon_cache_plugin.py", line 10, in <module>
    class CarbonCacheServiceMaker(object):
  File "/opt/graphite/lib/twisted/plugins/carbon_cache_plugin.py", line 15, in CarbonCacheServiceMaker
    options = conf.CarbonCacheOptions
exceptions.AttributeError: 'module' object has no attribute 'CarbonCacheOptions'
Unhandled Error
Traceback (most recent call last):
  File "/opt/graphite/lib/carbon/util.py", line 125, in run_twistd_plugin
    config.parseOptions(twistd_options)
  File "/Library/Python/2.7/site-packages/twisted/application/app.py", line 614, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/Library/Python/2.7/site-packages/twisted/python/usage.py", line 261, in parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/Library/Python/2.7/site-packages/twisted/application/app.py", line 631, in subCommands
    for plug in sorted(plugins, key=attrgetter('tapname')):
--- <exception caught here> ---
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 213, in getPlugins
    adapted = interface(plugin, None)
  File "/Library/Python/2.7/site-packages/zope/interface/interface.py", line 467, in _call_conform
    return conform(self)
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 68, in __conform__
    return self.load()
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 63, in load
    return namedAny(self.dropin.moduleName + '.' + self.name)
  File "/Library/Python/2.7/site-packages/twisted/python/reflect.py", line 464, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/Library/Python/2.7/site-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack
    return __import__(importName)
  File "/opt/graphite/lib/twisted/plugins/carbon_relay_plugin.py", line 10, in <module>
    class CarbonRelayServiceMaker(object):
  File "/opt/graphite/lib/twisted/plugins/carbon_relay_plugin.py", line 15, in CarbonRelayServiceMaker
    options = conf.CarbonRelayOptions
exceptions.AttributeError: 'module' object has no attribute 'CarbonRelayOptions'
Unhandled Error
Traceback (most recent call last):
  File "/opt/graphite/lib/carbon/util.py", line 125, in run_twistd_plugin
    config.parseOptions(twistd_options)
  File "/Library/Python/2.7/site-packages/twisted/application/app.py", line 614, in parseOptions
    usage.Options.parseOptions(self, options)
  File "/Library/Python/2.7/site-packages/twisted/python/usage.py", line 261, in parseOptions
    for (cmd, short, parser, doc) in self.subCommands:
  File "/Library/Python/2.7/site-packages/twisted/application/app.py", line 631, in subCommands
    for plug in sorted(plugins, key=attrgetter('tapname')):
--- <exception caught here> ---
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 213, in getPlugins
    adapted = interface(plugin, None)
  File "/Library/Python/2.7/site-packages/zope/interface/interface.py", line 467, in _call_conform
    return conform(self)
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 68, in __conform__
    return self.load()
  File "/Library/Python/2.7/site-packages/twisted/plugin.py", line 63, in load
    return namedAny(self.dropin.moduleName + '.' + self.name)
  File "/Library/Python/2.7/site-packages/twisted/python/reflect.py", line 464, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "/Library/Python/2.7/site-packages/twisted/python/reflect.py", line 400, in _importAndCheckStack
    return __import__(importName)
  File "/opt/graphite/lib/twisted/plugins/carbon_aggregator_plugin.py", line 10, in <module>
    class CarbonAggregatorServiceMaker(object):
  File "/opt/graphite/lib/twisted/plugins/carbon_aggregator_plugin.py", line 15, in CarbonAggregatorServiceMaker
    options = conf.CarbonAggregatorOptions
exceptions.AttributeError: 'module' object has no attribute 'CarbonAggregatorOptions'
Removing stale pidfile /opt/graphite/storage/writer.pid


Can someone hep what is going wrong. I am using all default configurations.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.