On 05/12/2018 01:08 AM, Cameron Braid wrote:
I have setup ipfailover and it seems to be working however in the pod logs I get the following log message :

/Unable to access script `</dev/tcp/10.118.56.40/8443` <http://10.118.56.40/8443>/
/This attempts to connect to the port. It returns $?=0 when it could connect otherwise it returns 1.
sh-4.2 # ///</dev/tcp/10.118.56.40/8443 <http://10.118.56.40/8443>
sh-4.2 # echo $?
0
This is the default check that ipfailover performs.
//

I'm not sure the propper way to test this script is however the following command seems to indicate that it works:

trying an open port :

/sh-4.2# echo > /dev/tcp/10.118.56.32/8443 <http://10.118.56.32/8443>/
/sh-4.2# echo $?/
/0/

trying a closed port :

/sh-4.2# echo > /dev/tcp/10.118.56.32/8441 <http://10.118.56.32/8441>/
/sh: connect: Connection refused/
/sh: /dev/tcp/10.118.56.32/8441 <http://10.118.56.32/8441>: Connection refused/
/sh-4.2# echo $?/
/1/

So can I ignore that "unable to access script" log ?  Is keepalived trying to stat the script or something ?

Cheers

Cameron



_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to