-
-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AMQP configuration support - default attributes match default car…
…bon-cache settings.
- Loading branch information
Jeff Dutton
committed
Feb 5, 2013
1 parent
8e741d7
commit c7eaffd
Showing
3 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c7eaffd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
On my machine, package "python-txamqp" bring over version 0.3.1 of the library (from the EPEL repo, as I'm on an RHEL 6 machine).
Unfortunately, that version has a known bug (https://bugs.launchpad.net/txamqp/+bug/741147), which prevents Graphite from connecting to any somewhat-up-to-date RabbitMQ successfully. However, installing this library via PIP brings over 0.6.1, which works ok - as suggested in http://stackoverflow.com/questions/11208645/using-amqp-with-graphite-9-9.
This hack-ish approach would also work, I guess: https://github.com/gosquared/graphite-cookbook/blob/master/recipes/txamqp.rb
Seems like ye olde v0.3.1 is what any Fedora/RH user would get, unless they're living on the edge: http://rpmfind.net/linux/rpm2html/search.php?query=python-txamqp&submit=Search+...&system=&arch=
I'm curious - can you share which version of the library did you get? which distro/repo?
Thanks,
Elad
c7eaffd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eladroz Instead of a hackish set of execute resources can you get it working using python_pip or does that break?
https://github.com/opscode-cookbooks/python/#python_pip
In the past, we encountered issues where python_pip install of graphite broke the web ui. I don't have quick access to RHEL 6 at the moment, but I will spin up a test vm this next week and take a look.
c7eaffd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@webframp I'd try to see if anything big breaks, but I hope the amqp package would be limited in its ability to break everything... ;-)
I see there's a centOS 6.3 box used for the testing, if you want to have a look (I'm using RHEL 6.3). Unfortunately I guess it's pretty much out of scope to test that AMQP works as part of the minimal test-set for this cookbook.
c7eaffd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eladroz I haven't had time yet, and don't want this to get lost so I created issue #27 for tracking. Let us know any more input there.
Thanks!