-
Notifications
You must be signed in to change notification settings - Fork 197
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
Entering infinite loop during run #209
Comments
Oh, also I should note that this only happens on the first time each recipe is run on the machine. So in theory, to get this machine that is hosting 9 of the services to work, I could start the chef run and abort once it starts to recurse and then the machine would converge as expected on future runs. But that is clearly probematic. |
It looks like reverting to runit 1.6.0 fixed this problem. |
news about this bug ? |
Anyone? We are having this issue also. |
@tas50 - ??? |
@jtimberman - ??? Any ideas here? |
The only reason I need this if for Chef push-jobs, but I do need it. Having to manually run chef-client, manually interrupt it and run it again is unacceptable. |
Sorry, I'm not actively involved in maintaining this cookbook and don't have cycles to dig into this. @tas50 @iennae @cheeseplus halp? |
@jtimberman thanks for the resp. I set my push-jobs wrapper cookbook dependencies to runit = 1.6.0 based on an earlier comment. Have not yet verified if it works. Not sure what I'm losing by doing this. |
I'm currently working on the push jobs cookbook to clean up some of the old recipes and create new resources for managing things. I'll carve out some time to make sure the runit logic works. I would highly recommend on Ubuntu 14.04 that you use Upstart instead. It's far more reliable and simpler to setup. |
I'm running into this same problem and am having a lot of trouble building an isolated test case. Even directly copy/pasting my code from the place where I'm having the problem to a separate chef environment and running them under test kitchen it doesn't seem to be reproducable :( I will say that at least in my problem code, commenting out all of the Frustrating. |
I hit a similar situation with v4.3.0, with creating
Any specific reason the functionality is split between |
Cookbook version
1.7.8 - and 3.0.0
Chef-client version
12.5.1
Platform Details
Ubuntu 14.04, running on Softlayer VPS
Scenario:
During the chef run, the node will just start into an infinite loop when it hits one of my
runit_service
configurations. I had run into this problem a bit earlier and seemed to get around it with a different version of runit, but it has re-emerged.Steps to Reproduce:
This is the entire contents of the recipe in question:
Expected Result:
Historically this has worked fine - we have used this strategy to deploy our services for over a year, but as the number of services has grown, we're starting to see this. This recipe should have just configured a runit_service to run.
Actual Result:
Logs are here: https://gist.github.com/litch/a4b1c7a7d4cbc57c58c0ee503811fa45
The resource just keeps invoking itself recursively it seems. =/
The text was updated successfully, but these errors were encountered: