Tested and it does solve the problem. (Network test goes red with: Service conn on XXXGW1 is not OK : Host responds to ping on 2 of 7 IP's
...
Traceroute results: socket: Network is unreachable )
Thanks for the quick patch.
Sebastian
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: 23 May 2008 09:49 To: hobbit at hswn.dk Subject: Re: [hobbit] Problems with hobbitping when the Network isunreachable (BUG)
On Thu, May 22, 2008 at 07:07:42PM +0100, Sebastian wrote:
I rebooted my hobbit server and it lost its default gateway, unbeknown to me. The only symptoms of something wrong was a purple in a network test is was supposed to be doing and a purple in the server's bbtest column. Now, I reckon one or other or both of these should have both gone red and not purple, and the reason that they did not is due to hobbitping going into a spin: what looks like a fairly tight loop. Hobbitping was using quite a lot of CPU (I saw it at well over 30%) and server/tmp/ping-stdout.1407 was empty but server/tmp/ping-stderr.5499 was getting many (about 60) "Failed to send ICMP packet: Network is unreachable" written to it every second.
Thanks, the attached patch should solve this problem.
Regards, Henrik