-
Notifications
You must be signed in to change notification settings - Fork 164
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
Error executing action converge
on resource 'machine_batch[default]'
#51
Comments
Eek! Thanks for the report. Looks like some of the parallelism code in master must be causing it. I recommend doing a gem install chef-metal instead of using the gem in the chef-metal bundle, and I'll get this fixed in master today! |
just got the latest gems and its working beautifully, thanks so much for the tip! |
looks like I spoke too soon, after it spun up the first node it errored out with a similar message: Error executing action
|
That's odd ... can you try: gem uninstall -a chef-metal cheffish chef-metal-fog chef-metal-vagrant At this point, "master" of chef-metal should be fine too, if you want to follow the original instructions. |
Hmm. I am not reproing. I think I understand the issue a little better, but not better enough. There should be a line in your output saying "wrote stacktrace to such and such a place". Can you send the contents of that stack trace? Thanks!!! |
Sure, here is the full error output, along with the stack trace at the end. Error executing action
|
Aha! I've just pushed a fix for that, can you git pull and try it? |
And it works! You're a scholar and a gentlemen, thanks a ton! |
Hooray! Thanks for the report, 0.10.1 is released with this. |
While attempting to try out chef-metal using the given example found in the chef-metal readme on github, I run into the following error:
Error executing action
converge
on resource 'machine_batch[default]'NoMethodError
undefined method `node' for #ChefMetal::AddPrefixActionHandler:0x0000000273cfd8
Resource Declaration:
In /home/justin/.chef/local-mode-cache/cache/cookbooks/myapp/recipes/small.rb
5: machine 'mario' do
6: #recipe 'mydb'
7: tag 'mydb_master'
8: action [:delete, :create]
9: end
10:
I didn't modify the cookbooks/recipes at all and others in our office are running into the same problem when testing chef-metal.
ruby version: 2.1.1 (also tried 1.9.3)
chef version: 11.12.4
operating system: ubuntu 14.04 (tested on OSX mavericks as well)
The text was updated successfully, but these errors were encountered: