txAMQP working with graphite
Hi,
I've posted this to the graphite team, but they've suggested that it may be a txamqp problem which should be raised here, hope you can help...
After several hours of messing around I'm stumped getting AMQP delivery to graphite working. I have graphite versions 0.9.8 across the board, plus python-txamqp-0.3 rabbitmq 2.5.1 on Ubuntu 10.04.2.
Fairly simple graphite config:
ENABLE_AMQP = True
# AMQP_VERBOSE = False
AMQP_HOST = localhost
AMQP_PORT = 5672
AMQP_VHOST = /arcus/graphite
AMQP_USER = arcus
AMQP_PASSWORD = ******
AMQP_EXCHANGE = graphite
AMQP_METRIC_
Am getting the following error:
==> console.log <==
14/07/2011 00:19:51 :: Starting factory <carbon.
14/07/2011 00:19:51 :: Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
return callWithContext
File "/usr/lib/
return context.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
--- <exception caught here> ---
File "/usr/lib/
why = selectable.doRead()
File "/usr/lib/
return self.protocol.
File "/usr/local/
frame = self._unpackFra
File "/usr/local/
payload = Frame.DECODERS[
File "/usr/local/
args = tuple([
File "/usr/local/
return getattr(self, "decode_" + type)()
File "/usr/local/
raise ValueError(
exceptions.
14/07/2011 00:19:51 :: <twisted.
14/07/2011 00:19:51 :: Stopping factory <carbon.
A bit of brute force print statements (I'm not a pythonista unfortunately) has lead me to it bombing at the self.authentication and then back into txamqp then twisted where I get a bit lost.
root@lucid32:
Listing vhosts ...
/
/arcus/graphite
...done.
root@lucid32:
Listing permissions in vhost "/arcus/graphite" ...
arcus .* .* .*
...done.
Any ideas what the problem may be?
-Mark
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- txAMQP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Thomas Herve
- Solved:
- Last query:
- Last reply: