[rancid] F5 BIG-IP devices - any tricks?
Lee
ler762 at gmail.com
Fri May 18 02:53:07 UTC 2012
On 5/14/12, Matthew Walster <matthew at walster.org> wrote:
> On 6 May 2012 20:20, Ryan West <rwest at zyedge.com> wrote:
>>
>> Works for me too. Thanks for the patch.
>
>
> Since applying the patch, I started to get a few "has not been able to
> contact for 24 hours" messages.
>
> The logs say:
>
> starting: Mon May 14 10:01:01 UTC 2012
>
>
>
> Trying to get all of the configs.
> myloadbalancer2: missed cmd(s): ls --full-time --color=never
> /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key
> =====================================
> Getting missed routers: round 1.
> myloadbalancer2: missed cmd(s): ls --full-time --color=never
> /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key
> =====================================
> Getting missed routers: round 2.
> myloadbalancer2: missed cmd(s): ls --full-time --color=never
> /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key
> =====================================
> Getting missed routers: round 3.
> myloadbalancer2: missed cmd(s): ls --full-time --color=never
> /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key
> =====================================
> Getting missed routers: round 4.
> devlb02.dev.tradefair: missed cmd(s): ls --full-time --color=never
> /config/ssl/ssl.crt,ls --full-time --color=never /config/ssl/ssl.key
>
> Sending configs/myloadbalancer1
> Transmitting file data ...
> Committed revision 11893.
>
> ending: Mon May 14 10:06:26 UTC 2012
>
>
> In order to fix these, I just commented out the licence checks lines in the
> two command tables, then everything worked fine! Has anyone else come
> across this issue?
I think so - I didn't bother to comment the changes I made in
f5rancid, so not sure :(
I don't remember if getting rid of [space][cr] is needed or a remnant
of trying to figure out the problem, but commenting out the 'return
(1) if ...' did the trick:
# This routine parses "ls --full-time --color=never /config/ssl/ssl.key"
sub ShowSslKey {
print STDERR " In ShowSslKey: $_" if ($debug);
while (<INPUT>) {
s/ \015//; # -LR-
tr/\015//d;
# v9 software license does not have CR at EOF
s/^#-+($prompt.*)/$1/;
last if (/^$prompt/);
next if (/^(\s*|\s*$cmd\s*)$/);
## LR return(1) if /^\s*\^\s*$/;
and
# This routine parses "ls --full-time --color=never /config/ssl/ssl.crt"
sub ShowSslCrt {
print STDERR " In ShowSslCrt: $_" if ($debug);
while (<INPUT>) {
s/ \015//; # -LR- [space][cr]
tr/\015//d;
# v9 software license does not have CR at EOF
s/^#-+($prompt.*)/$1/;
last if (/^$prompt/);
next if (/^(\s*|\s*$cmd\s*)$/);
## LR return(1) if /^\s*\^\s*$/;
Regards,
Lee
More information about the Rancid-discuss
mailing list