[rancid] Unable to Conduct Cisco Wireless Controller Backup
Piegorsch, Weylin William
weylin at bu.edu
Thu Jul 26 21:17:27 UTC 2018
Hi Heasley,
I was finally able to try this out. Actually - more specifically, I tried the same command on this WISM2 that I tried a moment ago on the WLC 8540, and got 100% identical results. I don’t think this issue is in catching the logout, though if you want me to I can try your patch below.
Weylin
On 1/22/18, 1:01 PM, "Piegorsch, Weylin William" <weylin at bu.edu> wrote:
Thanks for the patch. I can’t test today, but I'll try it out tomorrow or Wednesday. If it doesn’t work, I'll also try with -d and NOPIPE=yes... forgot about that until now.
weylin
-----Original Message-----
From: heasley <heas at shrubbery.net>
Date: Monday, January 22, 2018 at 10:17
To: Weylin Piegorsch <weylin at bu.edu>
Cc: Daniel Schmidt <daniel.schmidt at wyo.gov>, "rancid-discuss at shrubbery.net" <rancid-discuss at shrubbery.net>
Subject: Re: [rancid] Unable to Conduct Cisco Wireless Controller Backup
Sun, Jan 21, 2018 at 05:43:23AM +0000, Piegorsch, Weylin William:
> I’m running rancid v3.4.1. I have a number of Cisco WISM2 controller running 8.2.166.0. rancid is not able to acquire any of their configs. I’ve tried various types in router.db: cisco-wlc4, cisco-wlc5, and cisco, none of them work. The logs, copied below, show the results of cisco-wlc5 (all controllers were identical, I’ve trimmed down to just one). What could be causing this? Why would the results vary across the five rounds? And, which type should I be using?
>
> weylin
does the patch below fix it? the patch is against HEAD, so there
may be some fuzz.
> [rancid at nsgv-prod-59 logs]$ cat wireless.20180119.142501
> starting: Fri Jan 19 14:25:01 EST 2018
>
>
>
> Trying to get all of the configs.
> controller: missed cmd(s): show run-config commands
> controller: End of run not found
> !WLC Show Sysinfo End
> =====================================
> Getting missed routers: round 1.
> controller: missed cmd(s): all commands
> controller wlogin error: Error: Connection closed (ssh): controller
> controller: End of run not found
> =====================================
> Getting missed routers: round 2.
> controller: missed cmd(s): show run-config commands
> controller: End of run not found
> =====================================
> Getting missed routers: round 3.
> controller: missed cmd(s): all commands
> controller wlogin error: Error: TIMEOUT reached
> controller: End of run not found
> !
> =====================================
> Getting missed routers: round 4.
> controller: missed cmd(s): show run-config commands
> controller: End of run not found
> !WLC Show Sysinfo End
>
> cvs diff: Diffing .
> cvs diff: Diffing configs
> cvs commit: Examining .
> cvs commit: Examining configs
>
> ending: Fri Jan 19 14:39:59 EST 2018
> [rancid at nsgv-prod-59 logs]$
Index: lib/ciscowlc.pm.in
===================================================================
--- lib/ciscowlc.pm.in (revision 3739)
+++ lib/ciscowlc.pm.in (revision 3740)
@@ -42,7 +42,7 @@
TOP: while(<$INPUT>) {
tr/\015//d;
- if (/^.*logout(Connection.*closed.)?$/) {
+ if (/^.*logout(\s*Connection.*closed.)?$/) {
$clean_run = 1;
last;
}
Index: CHANGES
===================================================================
--- CHANGES (revision 3739)
+++ CHANGES (revision 3740)
@@ -1,4 +1,6 @@
3.99.99
+ ciscowlc.pm: handle variant of logout bug
+
fnrancid: update md5-keys filter for Fortigate 5.4.6
sros.pm: move show chassis power-supply o/p - Greg Hankins
More information about the Rancid-discuss
mailing list