m4dj4ck commented on issue #3481: Ansible playbook apigateway.yml stuck at 
waiting for redis
URL: 
https://github.com/apache/incubator-openwhisk/issues/3481#issuecomment-381194408
 
 
   nc command kept the connection open upon successful connection to port 6379, 
thus unable to register to result. My workaround is to add '-q 2' parameters to 
nc, in so that nc will close the connection in 2 seconds. Like this :
   
   `
   action: shell (echo PING; sleep 1) | nc -q 2 {{ ansible_host }} {{ 
redis.port }}`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to