chef-logstash
chef-logstash copied to clipboard
server recipe hangs on waiiting for logstash_server/supervise/ok to exist
I can reproduce in your repository using test kitchen. Hangs on the last line. Any ideas what might be wrong?
- create symlink at /etc/service/logstash_server to /etc/sv/logstash_server[2015-04-08T13:17:05+00:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2015-04-08T13:17:05+00:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2015-04-08T13:17:05+00:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2015-04-08T13:17:05+00:00] DEBUG: waiting until named pipe /etc/service/logstash_server/supervise/ok exists.
[2015-04-08T13:17:06+00:00] DEBUG: .
[2015-04-08T13:17:07+00:00] DEBUG: .
Just to clarify I tried in my own cookbook and on the same server I am running an elasticsearch server.
I updated these attributes:
default['logstash']['instance_default']['elasticsearch_ip'] = 'localhost'
default['logstash']['instance_default']['elasticsearch_port'] = '9200'
default['logstash']['instance_default']['java_home'] = node['java']['java_home']
this seems to only happen on centos 7.0. Any ideas?