[rancid] f5 bigIP part 2

kenneth.w.sain at accenture.com kenneth.w.sain at accenture.com
Tue Feb 3 21:10:14 UTC 2009


Using rancid--2.3.2a9 on freebsd 7.1, I can successfully clogin into the
device.

 

Getting anything off the device via bin/rancid or bin/control-rancid is
another story.  I'm getting timeout errors and I've tried timeouts of
180s and 300s.  Neither of which change the outcome.  I did have to
tweak bin/clogin to fix an issue from this post:
http://www.shrubbery.net/pipermail/rancid-discuss/2007-August/002437.htm
l.

 

I'm using the defined f5 device type in router.db.  Any ideas?  Below is
a sh -x output from control_rancid on my defined network list.

 

sh -x bin/control_rancid /usr/home/rancid/var/SSRC_test/

+ alt_mailrcpt=0

+ [ 1 -ge 1 ]

+ [ 1 ]

+ break

+ [ 1 -lt 1 ]

+ GROUP=/usr/home/rancid/var/SSRC_test/

+ DIR=//usr/home/rancid/var/SSRC_test/

+ TMP=/tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

+ trap rm -fr $TMP; 1 2 15

+ unset noclobber

+ RCSSYS=cvs

+ [ cvs != cvs -a cvs != svn ]

+ mailrcpt=rancid-/usr/home/rancid/var/SSRC_test/

+ export mailrcpt

+ adminmailrcpt=rancid-admin-/usr/home/rancid/var/SSRC_test/

+ export adminmailrcpt

+ set

+ grep MAILHEADERS=

+ [ 1 -ne 0 ]

+ MAILHEADERS=Precedence: bulk\n

+ export MAILHEADERS

+ PAR_COUNT=5

+ MAX_ROUNDS=4

+ [ 4 -lt 1 ]

+ [ ! -d //usr/home/rancid/var/SSRC_test/ ]

+ cd //usr/home/rancid/var/SSRC_test/

+ [ ! -f .cvsignore ]

+ cvs update router.db

bin/control_rancid: cannot create
/tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or
directory

+ grep ^C /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

grep: /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201: No such file or
directory

+ [ 2 -eq 0 ]

+ rm -f /tmp/rancid./usr/home/rancid/var/SSRC_test/.39201

+ [ ! -f //usr/home/rancid/var/SSRC_test//router.db ]

+ cd //usr/home/rancid/var/SSRC_test/

+ trap rm -fr routers.db routers.all.new routers.down.new routers.up.new
\

        routers.mail routers.added routers.deleted $TMP; 1 2 15

+ sed -e /^#/d -e s/^ *// -e s/ *$// -e s/ *: */:/g router.db

+ sort -u

+ cut -d: -f1,2 routers.db

+ [ ! -f routers.all ]

+ diff -u -4 routers.all routers.all.new

+ RALL=0

+ perl5 -F: -ane {($F[0] =~ tr at A-Z@a-z@,print $_)

    if ($F[2] !~ /^up$/i);} routers.db

+ [ ! -f routers.down ]

+ diff -u -4 routers.down routers.down.new

+ RDOWN=0

+ perl5 -F: -ane {($F[0] =~ tr at A-Z@a-z@,print "$F[0]:$F[1]\n")

    if ($F[2] =~ /^up$/i);} routers.db

+ [ ! -f routers.up ]

+ diff -u -4 routers.up routers.up.new

+ RUP=0

+ [ 0 -ne 0 -o 0 -ne 0 -o 0 -ne 0 ]

+ mv -f routers.all.new routers.all

+ [ 0 -ne 0 ]

+ mv -f routers.down.new routers.down

+ [ 0 -ne 0 ]

+ mv -f routers.up.new routers.up

+ [ 0 -ne 0 ]

+ rm -f routers.db

+ trap rm -fr $TMP; 1 2 15

+ cd //usr/home/rancid/var/SSRC_test//configs

+ cut -d: -f1 ../routers.up

+ [ cvs = cvs ]

+ cvs status bigip01

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status ns50

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status swt01

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ [ cvs = cvs ]

+ cvs status swt02

+ grep -i status: unknown

+ [ 1 -eq 0 ]

+ echo

 

+ find . ( -name *.new -prune -o -name CVS -prune -o -name .svn -prune )
-o -type f -print

+ sed -e s/^.\///

+ grep -i ^ns50: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^swt01: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^swt02: ../router.db

+ [ 0 -eq 1 ]

+ grep -i ^bigip01: ../router.db

+ [ 0 -eq 1 ]

+ cd //usr/home/rancid/var/SSRC_test/

+ [ ! -s routers.up ]

+ [ X != X ]

+ devlistfile=//usr/home/rancid/var/SSRC_test//routers.up

+ cd //usr/home/rancid/var/SSRC_test//configs

+ echo

 

+ echo Trying to get all of the configs.

Trying to get all of the configs.

+ par -q -n 5 -c rancid-fe {}
//usr/home/rancid/var/SSRC_test//routers.up

bigip01: missed cmd(s): ls --full-time --color=never
/config/ssl/ssl.crt,bigpipe route static show,bigpipe base list,bigpipe
db show,bigpipe monitor list all,ls --full-time --color=never
/config/ssl/ssl.key,bigpipe profile list,bigpipe list

bigip01: End of run not found

# Error: TIMEOUT reached

 

Ken Sain

Accenture @ MyFloridaMarketPlace

(850) 414-7580 (office)

(850) 508-4227 (cell)

kensainwork on Yahoo/AOL IM

 

 



This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20090203/13738f9d/attachment.html 


More information about the Rancid-discuss mailing list