[rancid] Citrix Netscaler and Rancid

2018-05-31 Thread Muhammad Shoaib
Hello,

I am having difficulty configuring Netscaler ( running version 12.0 ) on rancid 
3.7.

Other network stuff is working fine and no issues with the same rancid.

My config is :

router.db
cans1mpx8005;netscaler;up
cans2mpx8005;netscaler;up

When I try bin/clogin … it will log in successfully but the shell is sluggish 
and it times out with an error :

[rancid@ca01net03 ~]$ bin/clogin cans2mpx8005
cans2mpx8005
spawn ssh -x -l nsroot cans2mpx8005
Password:
Last login: Thu May 31 12:31:42 2018 from 172.x.x.xx
Done
> enable
ERROR: Ambiguous (use cmd completion for options)
>
>
Error: TIMEOUT reached
can not find channel named "exp6"
while executing
"send "\r""
("foreach" body line 163)
invoked from within
"foreach router [lrange $argv $i end] {
set router [string tolower $router]
# attempt at platform switching.
set platform ""
send_user ..."
(file "bin/clogin" line 858)



Here is the output of the debug command :

[rancid@ca01net03 etc]$ /home/rancid/bin/rancid -t netscaler -d cans2mpx8005
loadtype: device type netscaler
loadtype: found device type netscaler in /home/rancid/etc/rancid.types.base
executing nslogin -t 90 -c"" cans2mpx8005
inloop is not configured for device type netscaler at /home/rancid/bin/rancid 
line 136.
[rancid@ca01net03 etc]$


I highly appreciate for any help or a useful pointer.

Thank you,
Muhammad
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Router Config diffs

2018-05-31 Thread heasley
Thu, May 31, 2018 at 12:19:25PM +0800, Nanda Kumar Arumugam:
>  I am receiving a mail for particular customer, is that anything i need to
> update in the CVS file.
> 
> 
> Index: configs/ 1x.1x.1x.1x
> 
> ===
> 
> retrieving revision 1.378
> 
> diff -u -4 -r1.378 1x.1x.1x.1x
> 
> @@ -30,9 +30,9 @@
> 
>   set admin-server-cert "self-sign"
> 
>   set admin-sport 443
> 
>   set admin-ssh-grace-time 120
> 
>   set admin-ssh-port 22
> 
> - set admin-ssh-v1 disable
> 
> + set admin-ssh-v1 disable
> 
>   set admin-telnet-port 23
> 
>   set admintimeout 5
> 
>   set anti-replay strict
> 
>   set auth-cert "self-sign"
> 
> Index: configs/1x.1x.1x.1x

it is benign.  it is most likely a result of the pager.  Some devices
offer no way to turn it off and sometimes the login scripts do not
handle the pager prompting properly.  what version of rancid and what
device type?  there have been pager fixes as recently as 3.5.

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss