Discussion:
[rancid] Rancid with an F5
Jeffrey d'Ambly
2016-03-29 17:31:06 UTC
Permalink
I’m having some issues getting rancid working with my F5 load balancers.

Here is what my routers.db looks like

[***@sjc-corp-net01 observium]# cat router.db | grep lb
atl-lb01;f5;up
atl-lb02;f5;up
gz-lb01;f5;up
gz-lb02;f5;up
jed-lb01;f5;up
jed-lb02;f5;up
nj-lb01;f5;up
nj-lb02;f5;up
phx-lb01;f5;up
phx-lb02;f5;up
ryd-lb01;f5;up
ryd-lb02;f5;up
sjc-lb01;f5;up
sjc-lb02;f5;up
[***@sjc-corp-net01 observium]#

When I run rancid I get the following

[***@sjc-corp-net01 rancid]# cat observium.20160329.101355
starting: Tue Mar 29 10:13:55 PDT 2016



Trying to get all of the configs.
ERROR: sjc-lb01 configuration appears truncated.

Is this because I have partitions configured on my f5, and if so how do I resolve this?

—Jeff
heasley
2016-03-29 18:33:39 UTC
Permalink
I’m having some issues getting rancid working with my F5 load balancers.
Here is what my routers.db looks like
atl-lb01;f5;up
atl-lb02;f5;up
gz-lb01;f5;up
gz-lb02;f5;up
jed-lb01;f5;up
jed-lb02;f5;up
nj-lb01;f5;up
nj-lb02;f5;up
phx-lb01;f5;up
phx-lb02;f5;up
ryd-lb01;f5;up
ryd-lb02;f5;up
sjc-lb01;f5;up
sjc-lb02;f5;up
When I run rancid I get the following
starting: Tue Mar 29 10:13:55 PDT 2016
Trying to get all of the configs.
ERROR: sjc-lb01 configuration appears truncated.
Is this because I have partitions configured on my f5, and if so how do I resolve this?
it does so if receives less than 3 lines of configuration.
Jeffrey d'Ambly
2016-03-29 20:04:28 UTC
Permalink
So that would mean the commands are not working, how do I troubleshoot
that?

‹Jeff
Post by heasley
I¹m having some issues getting rancid working with my F5 load balancers.
Here is what my routers.db looks like
atl-lb01;f5;up
atl-lb02;f5;up
gz-lb01;f5;up
gz-lb02;f5;up
jed-lb01;f5;up
jed-lb02;f5;up
nj-lb01;f5;up
nj-lb02;f5;up
phx-lb01;f5;up
phx-lb02;f5;up
ryd-lb01;f5;up
ryd-lb02;f5;up
sjc-lb01;f5;up
sjc-lb02;f5;up
When I run rancid I get the following
starting: Tue Mar 29 10:13:55 PDT 2016
Trying to get all of the configs.
ERROR: sjc-lb01 configuration appears truncated.
Is this because I have partitions configured on my f5, and if so how do I resolve this?
it does so if receives less than 3 lines of configuration.
Jeffrey d'Ambly
2016-03-29 20:52:36 UTC
Permalink
Here is the output, am I using the wrong version of f5rancid?


[***@sjc-corp-net01 configs]$ eval `/usr/libexec/rancid/f5rancid -C
sjc-lb01`
sjc-lb01
spawn ssh -i /var/rancid/.ssh/id_dsa -c 3des -x -l admin sjc-lb01
Warning: Identity file /var/rancid/.ssh/id_dsa not accessible: No such
file or directory.
Password:
Last login: Tue Mar 29 11:04:48 2016 from 192.168.201.51
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# terminal length
0
Syntax Error: unexpected argument "terminal"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# terminal width
132
Syntax Error: unexpected argument "terminal"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe version
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe platform
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# cat
/config/bigip.license
Syntax Error: unexpected argument "cat"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe monitor
list all
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe profile
list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe base
list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe db show
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe route
static show
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# ls --full-time
--color=never /config/ssl/ssl.crt
Syntax Error: unexpected argument "ls"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# ls --full-time
--color=never /config/ssl/ssl.key
Syntax Error: unexpected argument "ls"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
Post by Jeffrey d'Ambly
So that would mean the commands are not working, how do I troubleshoot
that?
yes, i expect so. you will need to run the commands to check for
yourself.
like
eval `f5rancid -C hostname`
Post by Jeffrey d'Ambly
‹Jeff
Post by heasley
I¹m having some issues getting rancid working with my F5 load
balancers.
Post by heasley
Here is what my routers.db looks like
atl-lb01;f5;up
atl-lb02;f5;up
gz-lb01;f5;up
gz-lb02;f5;up
jed-lb01;f5;up
jed-lb02;f5;up
nj-lb01;f5;up
nj-lb02;f5;up
phx-lb01;f5;up
phx-lb02;f5;up
ryd-lb01;f5;up
ryd-lb02;f5;up
sjc-lb01;f5;up
sjc-lb02;f5;up
When I run rancid I get the following
starting: Tue Mar 29 10:13:55 PDT 2016
Trying to get all of the configs.
ERROR: sjc-lb01 configuration appears truncated.
Is this because I have partitions configured on my f5, and if so how
do
Post by heasley
I resolve this?
it does so if receives less than 3 lines of configuration.
Shain Singh
2016-03-30 00:20:39 UTC
Permalink
that script looks like it's built for v10 of f5's software... 'bigpipe'
commands will no longer run, so you would need to change them to 'tmsh'
commands.
https://support.f5.com/kb/en-us/solutions/public/13000/600/sol13697
Post by Jeffrey d'Ambly
Here is the output, am I using the wrong version of f5rancid?
sjc-lb01`
sjc-lb01
spawn ssh -i /var/rancid/.ssh/id_dsa -c 3des -x -l admin sjc-lb01
Warning: Identity file /var/rancid/.ssh/id_dsa not accessible: No such
file or directory.
Last login: Tue Mar 29 11:04:48 2016 from 192.168.201.51
0
Syntax Error: unexpected argument "terminal"
132
Syntax Error: unexpected argument "terminal"
Syntax Error: unexpected argument "bigpipe"
Syntax Error: unexpected argument "bigpipe"
/config/bigip.license
Syntax Error: unexpected argument "cat"
list all
Syntax Error: unexpected argument "bigpipe"
list
Syntax Error: unexpected argument "bigpipe"
list
Syntax Error: unexpected argument "bigpipe"
Syntax Error: unexpected argument "bigpipe"
static show
Syntax Error: unexpected argument "bigpipe"
--color=never /config/ssl/ssl.crt
Syntax Error: unexpected argument "ls"
--color=never /config/ssl/ssl.key
Syntax Error: unexpected argument "ls"
Syntax Error: unexpected argument "bigpipe"
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Post by Jeffrey d'Ambly
So that would mean the commands are not working, how do I troubleshoot
that?
yes, i expect so. you will need to run the commands to check for
yourself.
like
eval `f5rancid -C hostname`
Post by Jeffrey d'Ambly
‹Jeff
Post by heasley
I¹m having some issues getting rancid working with my F5 load
balancers.
Post by heasley
Here is what my routers.db looks like
atl-lb01;f5;up
atl-lb02;f5;up
gz-lb01;f5;up
gz-lb02;f5;up
jed-lb01;f5;up
jed-lb02;f5;up
nj-lb01;f5;up
nj-lb02;f5;up
phx-lb01;f5;up
phx-lb02;f5;up
ryd-lb01;f5;up
ryd-lb02;f5;up
sjc-lb01;f5;up
sjc-lb02;f5;up
When I run rancid I get the following
starting: Tue Mar 29 10:13:55 PDT 2016
Trying to get all of the configs.
ERROR: sjc-lb01 configuration appears truncated.
Is this because I have partitions configured on my f5, and if so how
do
Post by heasley
I resolve this?
it does so if receives less than 3 lines of configuration.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Jeffrey d'Ambly
2016-03-30 18:23:27 UTC
Permalink
I’ve updated my f5rancid script to use this one

https://raw.githubusercontent.com/dotwaffle/rancid-git/master/bin/f5rancid.in

However it’s still not working. Is there something additional I need to do?

—Jeff

From: Shain Singh <***@gmail.com<mailto:***@gmail.com>>
Date: Tuesday, March 29, 2016 at 5:20 PM
To: Jeffrey <***@jasper.com<mailto:***@jasper.com>>, heasley <***@shrubbery.net<mailto:***@shrubbery.net>>, "rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>" <rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>>
Subject: Re: [rancid] Rancid with an F5

that script looks like it's built for v10 of f5's software... 'bigpipe' commands will no longer run, so you would need to change them to 'tmsh' commands. https://support.f5.com/kb/en-us/solutions/public/13000/600/sol13697



On Wed, 30 Mar 2016 at 07:52 Jeffrey d'Ambly <***@jasper.com<mailto:***@jasper.com>> wrote:
Here is the output, am I using the wrong version of f5rancid?


[***@sjc-corp-net01 configs]$ eval `/usr/libexec/rancid/f5rancid -C
sjc-lb01`
sjc-lb01
spawn ssh -i /var/rancid/.ssh/id_dsa -c 3des -x -l admin sjc-lb01
Warning: Identity file /var/rancid/.ssh/id_dsa not accessible: No such
file or directory.
Password:
Last login: Tue Mar 29 11:04:48 2016 from 192.168.201.51
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# terminal length
0
Syntax Error: unexpected argument "terminal"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# terminal width
132
Syntax Error: unexpected argument "terminal"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe version
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe platform
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# cat
/config/bigip.license
Syntax Error: unexpected argument "cat"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe monitor
list all
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe profile
list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe base
list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe db show
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe route
static show
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# ls --full-time
--color=never /config/ssl/ssl.crt
Syntax Error: unexpected argument "ls"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# ls --full-time
--color=never /config/ssl/ssl.key
Syntax Error: unexpected argument "ls"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# bigpipe list
Syntax Error: unexpected argument "bigpipe"
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)#exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
admin@(sjc-lb01)(cfg-sync In Sync)(Active)(/Common)(tmos)# exit
Use "quit" to end the current session
Post by Jeffrey d'Ambly
So that would mean the commands are not working, how do I troubleshoot
that?
yes, i expect so. you will need to run the commands to check for
yourself.
like
eval `f5rancid -C hostname`
Post by Jeffrey d'Ambly
‹Jeff
Post by heasley
I¹m having some issues getting rancid working with my F5 load
balancers.
Post by heasley
Here is what my routers.db looks like
atl-lb01;f5;up
atl-lb02;f5;up
gz-lb01;f5;up
gz-lb02;f5;up
jed-lb01;f5;up
jed-lb02;f5;up
nj-lb01;f5;up
nj-lb02;f5;up
phx-lb01;f5;up
phx-lb02;f5;up
ryd-lb01;f5;up
ryd-lb02;f5;up
sjc-lb01;f5;up
sjc-lb02;f5;up
When I run rancid I get the following
starting: Tue Mar 29 10:13:55 PDT 2016
Trying to get all of the configs.
ERROR: sjc-lb01 configuration appears truncated.
Is this because I have partitions configured on my f5, and if so how
do
Post by heasley
I resolve this?
it does so if receives less than 3 lines of configuration.
_______________________________________________
Rancid-discuss mailing list
Rancid-***@shrubbery.net<mailto:Rancid-***@shrubbery.net>
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
heasley
2016-04-04 02:21:54 UTC
Permalink
I’ve updated my f5rancid script to use this one
https://raw.githubusercontent.com/dotwaffle/rancid-git/master/bin/f5rancid.in
However it’s still not working. Is there something additional I need to do?
I've attempted to import the v11 support as type "bigip" here:
ftp://ftp.shrubbery.net/pub/rancid/alpha/rancid-3.4.99.tar.gz
Someone will have to test it for me though. I tried the bigip 12.0 ova,
but vbox is returning an error when I try importing it.
—Jeff
Date: Tuesday, March 29, 2016 at 5:20 PM
Subject: Re: [rancid] Rancid with an F5
that script looks like it's built for v10 of f5's software... 'bigpipe' commands will no longer run, so you would need to change them to 'tmsh' commands. https://support.f5.com/kb/en-us/solutions/public/13000/600/sol13697
Here is the output, am I using the wrong version of f5rancid?
sjc-lb01`
sjc-lb01
spawn ssh -i /var/rancid/.ssh/id_dsa -c 3des -x -l admin sjc-lb01
Warning: Identity file /var/rancid/.ssh/id_dsa not accessible: No such
file or directory.
Last login: Tue Mar 29 11:04:48 2016 from 192.168.201.51
0
Syntax Error: unexpected argument "terminal"
132
Syntax Error: unexpected argument "terminal"
Syntax Error: unexpected argument "bigpipe"
Syntax Error: unexpected argument "bigpipe"
/config/bigip.license
Syntax Error: unexpected argument "cat"
list all
Syntax Error: unexpected argument "bigpipe"
list
Syntax Error: unexpected argument "bigpipe"
list
Syntax Error: unexpected argument "bigpipe"
Syntax Error: unexpected argument "bigpipe"
static show
Syntax Error: unexpected argument "bigpipe"
--color=never /config/ssl/ssl.crt
Syntax Error: unexpected argument "ls"
--color=never /config/ssl/ssl.key
Syntax Error: unexpected argument "ls"
Syntax Error: unexpected argument "bigpipe"
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Use "quit" to end the current session
Post by Jeffrey d'Ambly
So that would mean the commands are not working, how do I troubleshoot
that?
yes, i expect so. you will need to run the commands to check for
yourself.
like
eval `f5rancid -C hostname`
Post by Jeffrey d'Ambly
‹Jeff
Post by heasley
I¹m having some issues getting rancid working with my F5 load
balancers.
Post by heasley
Here is what my routers.db looks like
atl-lb01;f5;up
atl-lb02;f5;up
gz-lb01;f5;up
gz-lb02;f5;up
jed-lb01;f5;up
jed-lb02;f5;up
nj-lb01;f5;up
nj-lb02;f5;up
phx-lb01;f5;up
phx-lb02;f5;up
ryd-lb01;f5;up
ryd-lb02;f5;up
sjc-lb01;f5;up
sjc-lb02;f5;up
When I run rancid I get the following
starting: Tue Mar 29 10:13:55 PDT 2016
Trying to get all of the configs.
ERROR: sjc-lb01 configuration appears truncated.
Is this because I have partitions configured on my f5, and if so how
do
Post by heasley
I resolve this?
it does so if receives less than 3 lines of configuration.
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...