Discussion:
[rancid] Palo Alto issue
Daren McGill
2015-09-09 22:03:41 UTC
Permalink
I just upgraded to 3.2 as Palo Alto was now integrated ran into the following issue. If I run the command in rancid it goes to run the right command but comes back with nothing. However if I run the command for panlogin direct it works great. See output below.

[***@lei-tac-prd-254 ~]$ export NOPIPE=YES; rancid -d -t paloalto crp01-pan02
loadtype: device type paloalto
loadtype: found device type paloalto in /usr/local/rancid/etc/rancid.types.base
executing panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
crp01-pan02: missed cmd(s): all commands
crp01-pan02: End of run not found
crp01-pan02: End of run not found


[***@lei-tac-prd-254 ~]$ panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
crp01-pan02
spawn ssh -c 3des -x -l svc-rancid crp01-pan02
Password:
Last login: Wed Sep 9 15:59:34 2015 from 10.2.10.254
Welcome svc-rancid.

svc-***@CRP01-PAN02(active)>
svc-***@CRP01-PAN02(active)>
svc-***@CRP01-PAN02(active)> set cli scripting-mode on
svc-***@CRP01-PAN02(active)> set cli pager off
svc-***@CRP01-PAN02(active)> show system info

hostname: CRP01-PAN02

The config scrolls after this with no issues.

Thanks,
Daren
heasley
2015-09-10 00:05:20 UTC
Permalink
Wed, Sep 09, 2015 at 10:03:41PM +0000, Daren McGill:
> I just upgraded to 3.2 as Palo Alto was now integrated ran into the following issue. If I run the command in rancid it goes to run the right command but comes back with nothing. However if I run the command for panlogin direct it works great. See output below.

have you applied the patch for 3.2 from the ftp site?

> [***@lei-tac-prd-254 ~]$ export NOPIPE=YES; rancid -d -t paloalto crp01-pan02
> loadtype: device type paloalto
> loadtype: found device type paloalto in /usr/local/rancid/etc/rancid.types.base
> executing panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
> crp01-pan02: missed cmd(s): all commands
> crp01-pan02: End of run not found
> crp01-pan02: End of run not found
>
>
> [***@lei-tac-prd-254 ~]$ panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
> crp01-pan02
> spawn ssh -c 3des -x -l svc-rancid crp01-pan02
> Password:
> Last login: Wed Sep 9 15:59:34 2015 from 10.2.10.254
> Welcome svc-rancid.
>
> svc-***@CRP01-PAN02(active)>
> svc-***@CRP01-PAN02(active)>
> svc-***@CRP01-PAN02(active)> set cli scripting-mode on
> svc-***@CRP01-PAN02(active)> set cli pager off
> svc-***@CRP01-PAN02(active)> show system info
>
> hostname: CRP01-PAN02
>
> The config scrolls after this with no issues.
>
> Thanks,
> Daren

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Daren McGill
2015-09-10 00:20:53 UTC
Permalink
Probably not I will do that

Sent from Outlook<http://aka.ms/Ox5hz3>




On Wed, Sep 9, 2015 at 5:05 PM -0700, "heasley" <***@shrubbery.net<mailto:***@shrubbery.net>> wrote:

Wed, Sep 09, 2015 at 10:03:41PM +0000, Daren McGill:
> I just upgraded to 3.2 as Palo Alto was now integrated ran into the following issue. If I run the command in rancid it goes to run the right command but comes back with nothing. However if I run the command for panlogin direct it works great. See output below.

have you applied the patch for 3.2 from the ftp site?

> [***@lei-tac-prd-254 ~]$ export NOPIPE=YES; rancid -d -t paloalto crp01-pan02
> loadtype: device type paloalto
> loadtype: found device type paloalto in /usr/local/rancid/etc/rancid.types.base
> executing panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
> crp01-pan02: missed cmd(s): all commands
> crp01-pan02: End of run not found
> crp01-pan02: End of run not found
>
>
> [***@lei-tac-prd-254 ~]$ panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
> crp01-pan02
> spawn ssh -c 3des -x -l svc-rancid crp01-pan02
> Password:
> Last login: Wed Sep 9 15:59:34 2015 from 10.2.10.254
> Welcome svc-rancid.
>
> svc-***@CRP01-PAN02(active)>
> svc-***@CRP01-PAN02(active)>
> svc-***@CRP01-PAN02(active)> set cli scripting-mode on
> svc-***@CRP01-PAN02(active)> set cli pager off
> svc-***@CRP01-PAN02(active)> show system info
>
> hostname: CRP01-PAN02
>
> The config scrolls after this with no issues.
>
> Thanks,
> Daren

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Daren McGill
2015-09-10 01:23:30 UTC
Permalink
Sorry to bug you been looking for good info on how to patch do you have a link by any chance?

Thanks,
Daren

Sent from Outlook<http://aka.ms/Ox5hz3>




On Wed, Sep 9, 2015 at 5:05 PM -0700, "heasley" <***@shrubbery.net<mailto:***@shrubbery.net>> wrote:

Wed, Sep 09, 2015 at 10:03:41PM +0000, Daren McGill:
> I just upgraded to 3.2 as Palo Alto was now integrated ran into the following issue. If I run the command in rancid it goes to run the right command but comes back with nothing. However if I run the command for panlogin direct it works great. See output below.

have you applied the patch for 3.2 from the ftp site?

> [***@lei-tac-prd-254 ~]$ export NOPIPE=YES; rancid -d -t paloalto crp01-pan02
> loadtype: device type paloalto
> loadtype: found device type paloalto in /usr/local/rancid/etc/rancid.types.base
> executing panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
> crp01-pan02: missed cmd(s): all commands
> crp01-pan02: End of run not found
> crp01-pan02: End of run not found
>
>
> [***@lei-tac-prd-254 ~]$ panlogin -t 90 -c"set cli scripting-mode on;set cli pager off;show system info;show config running" crp01-pan02
> crp01-pan02
> spawn ssh -c 3des -x -l svc-rancid crp01-pan02
> Password:
> Last login: Wed Sep 9 15:59:34 2015 from 10.2.10.254
> Welcome svc-rancid.
>
> svc-***@CRP01-PAN02(active)>
> svc-***@CRP01-PAN02(active)>
> svc-***@CRP01-PAN02(active)> set cli scripting-mode on
> svc-***@CRP01-PAN02(active)> set cli pager off
> svc-***@CRP01-PAN02(active)> show system info
>
> hostname: CRP01-PAN02
>
> The config scrolls after this with no issues.
>
> Thanks,
> Daren

> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss
Loading...