[rancid] F5 BIG-IP devices - any tricks?

Ryan West rwest at zyedge.com
Sun May 20 23:50:17 UTC 2012


On Thu, May 17, 2012 at 22:53:07, Lee wrote:
> Subject: Re: [rancid] F5 BIG-IP devices - any tricks?
> 
> 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.
> >
> 
> 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*$/;
> 

Lee,

I tried both variants and neither seemed to help.  I've always been able to run a full backup of the devices with rancid-run -r <devname>, but the cron continues to fail on those two routines.

Thanks,

-ryan


More information about the Rancid-discuss mailing list