Need suggestion to investigate this issue

Hi all,

I would appreciate your input as to how to find out the root cause of this
issue

I have used the cookbook to bring up a VBox instance and it was error free.
But when I switched to aws I got a bunch of error messages.

Here is the output from my vagrant up --provider=aws command

==> server-1: Cookbook Trace:

==> server-1: ---------------

==> server-1:
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/providers/service.rb:127:in
`block in class_from_file’

*==> server-1: *

*==> server-1: *

==> server-1: Resource Declaration:

==> server-1: ---------------------

==> server-1: # In
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/recipes/client_service.rb

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: 20: sensu_service “sensu-client” do

*==> server-1: *

==> server-1: 21: init_style node.sensu.init_style

*==> server-1: *

==> server-1: 22: action [:enable, :start]

*==> server-1: *

==> server-1: 23: end

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: Compiled Resource:

==> server-1: ------------------

==> server-1: # Declared in
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/recipes/client_service.rb:20:in
`from_file’

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: sensu_service(“sensu-client”) do

*==> server-1: *

==> server-1: action [:enable, :start]

*==> server-1: *

==> server-1: retries 0

*==> server-1: *

==> server-1: retry_delay 2

*==> server-1: *

==> server-1: default_guard_interpreter :default

*==> server-1: *

==> server-1: declared_type :sensu_service

*==> server-1: *

==> server-1: cookbook_name :sensu

*==> server-1: *

==> server-1: recipe_name “client_service”

*==> server-1: *

==> server-1: init_style “sysv”

*==> server-1: *

==> server-1: service “sensu-client”

*==> server-1: *

==> server-1: end

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: [2015-06-02T14:47:32+00:00] INFO: Running queued delayed
notifications before re-raising exception

==> server-1: [2015-06-02T14:47:32+00:00] DEBUG: Re-raising exception:
Mixlib::ShellOut::ShellCommandFailed - sensu_service[sensu-client]
(sensu::client_service line 20) had an error:
Mixlib::ShellOut::ShellCommandFailed: service[sensu-client]
(/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/providers/service.rb
line 46) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected
process to exit with [0], but received ‘1’

==> server-1: ---- Begin output of /etc/init.d/sensu-client start ----

==> server-1: STDOUT: * Starting sensu-client

==> server-1: …fail!

*==> server-1: STDERR: *

==> server-1: ---- End output of /etc/init.d/sensu-client start ----

I checked the stacktrace file on the host

Generated at 2015-06-02 14:25:01 +0000

Chef::Exceptions::MultipleFailures: Chef::Exceptions::MultipleFailures

/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:278:in
`invalid!’

/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:265:in
`error!’

/opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:66:in
`shell_out_with_systems_locale!’

/opt/chef/embedded/apps/chef/lib/chef/provider/service/init.rb:59:in
`start_service’

/opt/chef/embedded/apps/chef/lib/chef/provider/service.rb:90:in `block in
action_start’

/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `call’

/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `add_action’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:165:in `converge_by’

/opt/chef/embedded/apps/chef/lib/chef/provider/service.rb:89:in
`action_start’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:130:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/resource.rb:562:in `run_action’

/tmp/vagrant-chef/8e0050e60a0338c4f18702640d3c2b94/cookbooks/sensu/providers/service.rb:127:in
`block in class_from_file’

/opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:138:in
`instance_eval’

/opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:138:in `block
in action’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:134:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/resource.rb:562:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in
converge’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in
`block in execute_each_resource’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
`call’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
`call_iterator_block’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in
`step’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in
`iterate’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in
`each_with_index’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in
`execute_each_resource’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:339:in `block in converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:334:in `catch’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:334:in `converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:353:in `converge_and_save’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:457:in `run’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:271:in `block in
fork_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in
`fork_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:225:in `block in
run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in
`with_server_connectivity’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:213:in
`run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:280:in `block in
interval_run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `loop’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in
`interval_run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:247:in
`run_application’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run’

/opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>’

/usr/bin/chef-solo:51:in `load’

Write failed: Broken pipe`’

it does not look particularly helpful at all.

Why sensu client recipe throws the exception?

Cheers

Hello,

You need to see why this command has failed:

/etc/init.d/sensu-client start

You can try to run some like

bash -x /etc/init.d/sensu-client start

On Wed, Jun 3, 2015 at 4:11 AM, Anthony Kong anthony.hw.kong@gmail.com
wrote:

Hi all,

I would appreciate your input as to how to find out the root cause of this
issue

I have used the cookbook to bring up a VBox instance and it was error
free. But when I switched to aws I got a bunch of error messages.

Here is the output from my vagrant up --provider=aws command

==> server-1: Cookbook Trace:

==> server-1: ---------------

==> server-1:
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/providers/service.rb:127:in
`block in class_from_file’

*==> server-1: *

*==> server-1: *

==> server-1: Resource Declaration:

==> server-1: ---------------------

==> server-1: # In
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/recipes/client_service.rb

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: 20: sensu_service “sensu-client” do

*==> server-1: *

==> server-1: 21: init_style node.sensu.init_style

*==> server-1: *

==> server-1: 22: action [:enable, :start]

*==> server-1: *

==> server-1: 23: end

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: Compiled Resource:

==> server-1: ------------------

==> server-1: # Declared in
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/recipes/client_service.rb:20:in
`from_file’

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: sensu_service(“sensu-client”) do

*==> server-1: *

==> server-1: action [:enable, :start]

*==> server-1: *

==> server-1: retries 0

*==> server-1: *

==> server-1: retry_delay 2

*==> server-1: *

==> server-1: default_guard_interpreter :default

*==> server-1: *

==> server-1: declared_type :sensu_service

*==> server-1: *

==> server-1: cookbook_name :sensu

*==> server-1: *

==> server-1: recipe_name “client_service”

*==> server-1: *

==> server-1: init_style “sysv”

*==> server-1: *

==> server-1: service “sensu-client”

*==> server-1: *

==> server-1: end

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: [2015-06-02T14:47:32+00:00] INFO: Running queued delayed
notifications before re-raising exception

==> server-1: [2015-06-02T14:47:32+00:00] DEBUG: Re-raising exception:
Mixlib::ShellOut::ShellCommandFailed - sensu_service[sensu-client]
(sensu::client_service line 20) had an error:
Mixlib::ShellOut::ShellCommandFailed: service[sensu-client]
(/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/providers/service.rb
line 46) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected
process to exit with [0], but received ‘1’

==> server-1: ---- Begin output of /etc/init.d/sensu-client start ----

==> server-1: STDOUT: * Starting sensu-client

==> server-1: …fail!

*==> server-1: STDERR: *

==> server-1: ---- End output of /etc/init.d/sensu-client start ----

I checked the stacktrace file on the host

Generated at 2015-06-02 14:25:01 +0000

Chef::Exceptions::MultipleFailures: Chef::Exceptions::MultipleFailures

/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:278:in
`invalid!’

/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:265:in
`error!’

/opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:66:in
`shell_out_with_systems_locale!’

/opt/chef/embedded/apps/chef/lib/chef/provider/service/init.rb:59:in
`start_service’

/opt/chef/embedded/apps/chef/lib/chef/provider/service.rb:90:in `block in
action_start’

/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `call’

/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `add_action’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:165:in `converge_by’

/opt/chef/embedded/apps/chef/lib/chef/provider/service.rb:89:in
`action_start’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:130:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/resource.rb:562:in `run_action’

/tmp/vagrant-chef/8e0050e60a0338c4f18702640d3c2b94/cookbooks/sensu/providers/service.rb:127:in
`block in class_from_file’

/opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:138:in
`instance_eval’

/opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:138:in `block
in action’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:134:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/resource.rb:562:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels) in
converge’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in
`block in execute_each_resource’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
`call’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
`call_iterator_block’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in
`step’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in
`iterate’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in
`each_with_index’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in
`execute_each_resource’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:339:in `block in converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:334:in `catch’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:334:in `converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:353:in `converge_and_save’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:457:in `run’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:271:in `block in
fork_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in
`fork_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:225:in `block in
run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in
`with_server_connectivity’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:213:in
`run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:280:in `block in
interval_run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `loop’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in
`interval_run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:247:in
`run_application’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run’

/opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>’

/usr/bin/chef-solo:51:in `load’

Write failed: Broken pipe`’

it does not look particularly helpful at all.

Why sensu client recipe throws the exception?

Cheers


– Tiago Cruz

Look also at /var/log/sensu/sensu-client.log

P.

On Wed, Jun 3, 2015 at 8:18 AM, Tiago Cruz tiago.tuxkiller@gmail.com
wrote:

Hello,

You need to see why this command has failed:

/etc/init.d/sensu-client start

You can try to run some like

bash -x /etc/init.d/sensu-client start

On Wed, Jun 3, 2015 at 4:11 AM, Anthony Kong anthony.hw.kong@gmail.com
wrote:

Hi all,

I would appreciate your input as to how to find out the root cause of
this issue

I have used the cookbook to bring up a VBox instance and it was error
free. But when I switched to aws I got a bunch of error messages.

Here is the output from my vagrant up --provider=aws command

==> server-1: Cookbook Trace:

==> server-1: ---------------

==> server-1:
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/providers/service.rb:127:in
`block in class_from_file’

*==> server-1: *

*==> server-1: *

==> server-1: Resource Declaration:

==> server-1: ---------------------

==> server-1: # In
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/recipes/client_service.rb

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: 20: sensu_service “sensu-client” do

*==> server-1: *

==> server-1: 21: init_style node.sensu.init_style

*==> server-1: *

==> server-1: 22: action [:enable, :start]

*==> server-1: *

==> server-1: 23: end

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: Compiled Resource:

==> server-1: ------------------

==> server-1: # Declared in
/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/recipes/client_service.rb:20:in
`from_file’

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: sensu_service(“sensu-client”) do

*==> server-1: *

==> server-1: action [:enable, :start]

*==> server-1: *

==> server-1: retries 0

*==> server-1: *

==> server-1: retry_delay 2

*==> server-1: *

==> server-1: default_guard_interpreter :default

*==> server-1: *

==> server-1: declared_type :sensu_service

*==> server-1: *

==> server-1: cookbook_name :sensu

*==> server-1: *

==> server-1: recipe_name “client_service”

*==> server-1: *

==> server-1: init_style “sysv”

*==> server-1: *

==> server-1: service “sensu-client”

*==> server-1: *

==> server-1: end

*==> server-1: *

*==> server-1: *

*==> server-1: *

==> server-1: [2015-06-02T14:47:32+00:00] INFO: Running queued delayed
notifications before re-raising exception

==> server-1: [2015-06-02T14:47:32+00:00] DEBUG: Re-raising exception:
Mixlib::ShellOut::ShellCommandFailed - sensu_service[sensu-client]
(sensu::client_service line 20) had an error:
Mixlib::ShellOut::ShellCommandFailed: service[sensu-client]
(/tmp/vagrant-chef/01e491f9ded2bc2b076fbb0dd27362df/cookbooks/sensu/providers/service.rb
line 46) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected
process to exit with [0], but received ‘1’

==> server-1: ---- Begin output of /etc/init.d/sensu-client start ----

==> server-1: STDOUT: * Starting sensu-client

==> server-1: …fail!

*==> server-1: STDERR: *

==> server-1: ---- End output of /etc/init.d/sensu-client start ----

I checked the stacktrace file on the host

Generated at 2015-06-02 14:25:01 +0000

Chef::Exceptions::MultipleFailures: Chef::Exceptions::MultipleFailures

/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:278:in
`invalid!’

/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.0.1/lib/mixlib/shellout.rb:265:in
`error!’

/opt/chef/embedded/apps/chef/lib/chef/mixin/shell_out.rb:66:in
`shell_out_with_systems_locale!’

/opt/chef/embedded/apps/chef/lib/chef/provider/service/init.rb:59:in
`start_service’

/opt/chef/embedded/apps/chef/lib/chef/provider/service.rb:90:in `block in
action_start’

/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `call’

/opt/chef/embedded/apps/chef/lib/chef/mixin/why_run.rb:52:in `add_action’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:165:in `converge_by’

/opt/chef/embedded/apps/chef/lib/chef/provider/service.rb:89:in
`action_start’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:130:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/resource.rb:562:in `run_action’

/tmp/vagrant-chef/8e0050e60a0338c4f18702640d3c2b94/cookbooks/sensu/providers/service.rb:127:in
`block in class_from_file’

/opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:138:in
`instance_eval’

/opt/chef/embedded/apps/chef/lib/chef/provider/lwrp_base.rb:138:in `block
in action’

/opt/chef/embedded/apps/chef/lib/chef/provider.rb:134:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/resource.rb:562:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:49:in `run_action’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block (2 levels)
in converge’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `each’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:81:in `block in converge’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:83:in
`block in execute_each_resource’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
`call’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:116:in
`call_iterator_block’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:85:in
`step’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:104:in
`iterate’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/stepable_iterator.rb:55:in
`each_with_index’

/opt/chef/embedded/apps/chef/lib/chef/resource_collection/resource_list.rb:81:in
`execute_each_resource’

/opt/chef/embedded/apps/chef/lib/chef/runner.rb:80:in `converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:339:in `block in converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:334:in `catch’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:334:in `converge’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:353:in `converge_and_save’

/opt/chef/embedded/apps/chef/lib/chef/client.rb:457:in `run’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:271:in `block in
fork_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in `fork’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:259:in
`fork_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:225:in `block in
run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/local_mode.rb:39:in
`with_server_connectivity’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:213:in
`run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:280:in `block
in interval_run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in `loop’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:269:in
`interval_run_chef_client’

/opt/chef/embedded/apps/chef/lib/chef/application/solo.rb:247:in
`run_application’

/opt/chef/embedded/apps/chef/lib/chef/application.rb:60:in `run’

/opt/chef/embedded/apps/chef/bin/chef-solo:25:in `<top (required)>’

/usr/bin/chef-solo:51:in `load’

Write failed: Broken pipe`’

it does not look particularly helpful at all.

Why sensu client recipe throws the exception?

Cheers


– Tiago Cruz

Peter Burkholder — Customer Success Engineer

Unavailability: May 19, Training. June 11-12, DevOpsDays DC

301-204-5767 – pburkholder@chef.io – *my: *Linkedin
http://www.linkedin.com/in/pburkholder Twitter
http://www.twitter.com/pburkholder Cal
https://www.google.com/calendar/embed?src=pburkholder%40chef.io&mode=WEEK
endar

CHEF

CHEF.IO http://www.chef.io/

TM

chef.io http://www.chef.io/ Blog http://www.chef.io/blog/ Facebook
https://www.facebook.com/getchefdotcom Twitter
https://twitter.com/chef Youtube https://www.youtube.com/getchef