[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

HTH

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

any clue please?

thanks


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

Hello

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?

thanks

Best regards




_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




--
Ram//
main(O,s){s=--O;10<putchar(3^O?97-(15&7183>>4*s)*(O++?-1:1):10)&&\
main(++O,s++);}


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