-
Notifications
You must be signed in to change notification settings - Fork 172
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
Beaver does not run under Python2.6 on Ubuntu 10.04 #43
Comments
Jose mentioned in #logstash that I should create a PR for 10.04 support, so I take that as indication that 10.04 should still be supported. Further clarification is needed. I will get the exact error message from my server tomorrow. |
The zmq dependency should be removed, and we should throw a nice warning to any buttmunch that expects it to work without libzmq. That would take care of several deployment headaches. Are there any issues with the python code itself that is a blocked on python 2.6? I think the upcoming move to generators for tailing logs might be an issue, but feel free to correct me if I'm wrong. In any case, it should be possible to get support via a virtualenv if the system python is broken, no? |
I've removed the zmq dependency in b29a005. |
Full error message:
|
Whats the proper syntax for that? |
Not sure. Not proficient in Python enough to tell. :) |
http://stackoverflow.com/a/1747827/1515875 Can you modify the code to do that and then see if it is valid?
becomes
|
Same deal:
|
err use a comma, sorry. |
|
That's better. Different error now:
Inspecting the init script I see: The template must not be generating properly by Chef. |
Had my output set to amqp. It seems the recipe only understands amq or rabbitmq. Not sure if the former is meant to be that or if it was a typo by lusis. |
Alright, got it to work with 'rabbitmq'. But it's probably a good idea to trap errors when log files don't exist. Getting the following for a file that is missing from /var/log (a valid assumption):
|
Should it just continuously poll for that file if it is the only configured one and it doesnt exist? |
Probably. Set a few seconds of sleep between polls. By having it not error out when the file isn't found, we can have Beaver installed in any order through Chef (or Puppet). Say mywebapp is deployed after beaver. In the current version, Beaver would just exit before mywebapp had a chance to touch that log file. |
Does beaver only check for file existence at the start? |
Looks like it. I didn't write the |
Thank you all, great work. @rafaelmagu did you want to re-pull request this now? |
lusis/chef-logstash#54
Reports that beaver does not run under Python2.6.
This implies limited support for RHEL family platforms which update more slowly than Debian family.
Those may be outside your target, if so feel free to close this issue.
@rafaelmagu may have more details as this info comes from him.
The text was updated successfully, but these errors were encountered: