[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: haproxy logs

As Phil mentioned, you can check if the iptables rule is blocking it. 

Simple test would be to rsh into the router pod and use netcat to send a message.
$ oc rsh <router-pod-name>
pod>  echo '<14> user test message from router pod' | nc -w 2 -u <node-host-ip> 514

And maybe try from the host (openshift-node) or another node as well. 
$ echo '<14> user test message from the node' | nc -w 2 -u <node-host-ip> 514

And if you need to open the port you could use something like:
$ sudo iptables -I INPUT -p udp -s <router-node-ips> --dport 514 -j ACCEPT
$ sudo service iptables save
$ sudo service iptables restart


On Mon, Feb 20, 2017 at 3:16 AM, Julio Saura <jsaura hiberus com> wrote:

any clue please?


El 17 feb 2017, a las 10:04, Julio Saura <jsaura hiberus com> escribió:


i need to enable haproxy access logs on my openshift routers..

i followed the guide and enabled a syslog server on my net ..

after adding env variables on my router dc for poiting to my syslog server i don’t see any packet sent to my syslog server ( tcpdump on my syslog servers shows no traffic on syslog port tcp or udp ) y put haproxy log level to debug for being sure it generates logs.

if i describe my router pods y see env variables are passed and filled with the right values ,  and the routers have been redeployed by the router DC ..

anything else i am missing?


Best regards

users mailing list
users lists openshift redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]