thanks mate

but iptables is not the problem

i can reach syslog server from nodes

[root@openshift-balancer01 ~]# echo '<14> user test message from router pod' | 
nc -w 2 -u SERVER 514


root@syslog:/var/log# tcpdump  -i eth0 udp port 514

12:51:43.927424 IP 10.1.5.40.40857 > syslog.SERVER.syslog: SYSLOG user.info, 
length: 39


there is no traffic from haproxy pods to the syslog server ..

seems haproxy is not sending anything to the syslog server

if i describe de router pods i see the variables right

      ROUTER_SYSLOG_ADDRESS:                    10.1.5.12
      ROUTER_LOG_LEVEL:                         debug

but nothing is sent ..


Julio Saura Alejandre
Responsable Servicios Gestionados
hiberus TRAVEL
Tel.: + 34 902 87 73 92 Ext. 659
Parque Empresarial PLAZA
Edificio EXPOINNOVACIÓN
C/. Bari 25 Duplicado, Escalera 1, Planta 2ª. 50197 Zaragoza
www.hiberus.com <http://www.hiberus.com/>
Crecemos contigo

Este mensaje se envía desde la plataforma de correo de Hiberus Este mensaje y 
los documentos que, en su caso, lleve anexos, se dirigen exclusivamente a su 
destinatario y pueden contener información privilegiada o confidencial. Si tú 
no eres el destinatario indicado, queda notificado de que la utilización, 
divulgación y/o copia sin autorización está prohibida en virtud de la 
legislación vigente. Por ello, se informa a quien lo reciba por error, que la 
información contenida en el mismo es reservada y su uso no autorizado está 
prohibido legalmente, por lo que en tal caso te rogamos que nos lo comuniques 
vía e-mail o teléfono, te abstengas de realizar copias del mensaje o remitirlo 
o entregarlo a terceras personas y procedas a devolverlo a su emisor y/o 
destruirlo de inmediato.

> El 22 feb 2017, a las 1:16, Ram Ranganathan <rrang...@redhat.com> escribió:
> 
> 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 <jsa...@hiberus.com 
> <mailto:jsa...@hiberus.com>> wrote:
> hello
> 
> any clue please?
> 
> thanks
> 
> 
>> El 17 feb 2017, a las 10:04, Julio Saura <jsa...@hiberus.com 
>> <mailto:jsa...@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 <mailto:users@lists.openshift.redhat.com>
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users 
> <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++);}

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

Reply via email to