You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
The initial converge on CentOS 7, causes chef-client to fail because of this error:
[2015-07-05T18:19:04+00:00] ERROR: logstash_service[default] (common::logstash line 9) had an error: Mixlib::ShellOut::ShellCommandFailed: runit_service[logstash_default] (/tmp/kitchen/cache/cookbooks/logstash/providers/service.rb line 226) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /sbin/sv force-reload /etc/service/logstash_default ----
STDOUT: warning: /etc/service/logstash_default: unable to open supervise/ok: file does not exist
STDERR:
---- End output of /sbin/sv force-reload /etc/service/logstash_default ----
Ran /sbin/sv force-reload /etc/service/logstash_default returned 1
[2015-07-05T18:19:06+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
The second time and times after that, the converge is without any problems.
My recipe:
instance_name = 'default'
# Install Logstash
logstash_instance instance_name do
end
# Create Logstash service
logstash_service instance_name do
end
The initial converge on CentOS 7, causes chef-client to fail because of this error:
The second time and times after that, the converge is without any problems.
My recipe:
Attributes in my wrapper cookbook:
How can I fix this error?
The text was updated successfully, but these errors were encountered: