Skip to content

'action :converge_only' exception #90

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

Closed
SIGUSR2 opened this issue Jun 18, 2014 · 1 comment
Closed

'action :converge_only' exception #90

SIGUSR2 opened this issue Jun 18, 2014 · 1 comment
Labels
Type: Bug Doesn't work as expected.
Milestone

Comments

@SIGUSR2
Copy link
Contributor

SIGUSR2 commented Jun 18, 2014

For a machine created earlier via chef-metal with a different run_list.

machine 'blah' do
   recipe 'mycookbook::restart_services'
   action :converge_only
end

Throws exception:

DEBUG: NoMethodError: machine_batch[default] (@recipe_files::/Users/dinu/.chef/h/cookbooks/metal_restart.rb line 81) had an error: NoMethodError: private method `connect_to_machine' called for #<ChefMetal::ChefRunData:0x007fb7dc5a8de0>

Full stacktrace: http://pastebin.com/5MC1GpDv
@jkeiser jkeiser added this to the 1.0 milestone Aug 19, 2014
@johnewart
Copy link
Contributor

Tried this in and out of a machine_batch block and it works as expected; though if you update the recipe and use the action :converge_only I don't think you'll get an updated run list like you might be expecting. Either way, closing this since it is not reproducible for the current version of metal.

@tas50 tas50 added Type: Bug Doesn't work as expected. and removed Bug labels Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Doesn't work as expected.
Development

No branches or pull requests

4 participants