chef-logstash icon indicating copy to clipboard operation
chef-logstash copied to clipboard

server recipe hangs on waiiting for logstash_server/supervise/ok to exist

Open jperry opened this issue 9 years ago • 2 comments

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: .

jperry avatar Apr 08 '15 13:04 jperry

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']

jperry avatar Apr 08 '15 13:04 jperry

this seems to only happen on centos 7.0. Any ideas?

jperry avatar Apr 20 '15 17:04 jperry