<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:212041171;
mso-list-type:hybrid;
mso-list-template-ids:525606010 -1616054590 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Weylin,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You are correct that a lot of my issue was surrounding the logout sequence. Thankfully I was able to get this resolved with the help of John from Rancid. There were two things that were impacting me:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<ul style="margin-top:0in" type="disc">
<li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">First, I had an issue with TACACS where the 'config paging disable' could not be executed. To expand on this, there are seven groups to which a user could be assigned on the WLC.
It just so happened that I was using the one group, MONITOR, that didn’t allow for the config level command to issues.
<o:p></o:p></li><li class="MsoListParagraph" style="margin-left:0in;mso-list:l0 level1 lfo1">Second, in the process of my troubleshooting I had started to tweak the versions of EXPECT and TCL because of a separate email chain I had read on the discussion board. I had to recently
rebuild my server because of a variety of issues. After reinstalling Rancid the WLC scripts now all work correctly.
<o:p></o:p></li></ul>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">A couple of things to note that might help people who encounter this issue, some information on install: Centos 7, fully patched, I am running EXPECT version 5.45 and TCL version 8.5. Also I’m running Rancid 3.12.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><b><span style="font-family:"Arial",sans-serif;color:#595959">Charlie Allen</span></b><span style="font-family:"Arial",sans-serif"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Piegorsch, Weylin William <weylin@bu.edu> <br>
<b>Sent:</b> Sunday, May 3, 2020 1:11 PM<br>
<b>To:</b> Charles Allen <charles.allen@zagg.com>; rancid-discuss@www.shrubbery.net<br>
<b>Subject:</b> Re: [rancid] Unable to pull configuration from Cisco WLC 8.5<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Do you have the .raw file?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I had this problem at one point too. It had something to do with not correctly parsing the logout sequence. I modified my version to check for the right sequence, but it was an old version of rancid, and my specific logout sequence was
caught in a newer version. But, 8.5.161 might have changed the specific text that the logout sequence sends, so rancid’s parser might not catch it yet.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Weylin<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">Charles Allen <<a href="mailto:charles.allen@zagg.com">charles.allen@zagg.com</a>><br>
<b>Date: </b>Wednesday, April 22, 2020 at 5:36 PM<br>
<b>To: </b>"<a href="mailto:rancid-discuss@www.shrubbery.net">rancid-discuss@www.shrubbery.net</a>" <<a href="mailto:rancid-discuss@www.shrubbery.net">rancid-discuss@www.shrubbery.net</a>><br>
<b>Subject: </b>[rancid] Unable to pull configuration from Cisco WLC 8.5</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal">Rancid version: 3.12<o:p></o:p></p>
<p class="MsoNormal">Cisco WLC: 8.5.161.0<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I cannot successfully pull the configuration from my Cisco WLC. In every case, it just gives the generic error “End of run not found.” However, if I execute the command to pull configuration via
<i>rancid</i>, the .new file looks complete and without issue. I have tried changing the various commands executed but with no success. Looking for a smarter person than I to perhaps give some direction or recommendations.
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">[rancid@xxxx ~]$ NOPIPE=yes rancid -d -t cisco-wlc8 wlc <o:p>
</o:p></p>
<p class="MsoNormal">loadtype: device type cisco-wlc8<o:p></o:p></p>
<p class="MsoNormal">loadtype: found device type cisco-wlc8 at /usr/local/rancid/etc/rancid.types.base:351<o:p></o:p></p>
<p class="MsoNormal">executing wlogin -t 120 -c"show udi;show sysinfo;show run-config commands" wlc
<o:p></o:p></p>
<p class="MsoNormal">PROMPT MATCH: \(Cisco Controller\) ><o:p></o:p></p>
<p class="MsoNormal">HIT COMMAND:(Cisco Controller) >show udi<o:p></o:p></p>
<p class="MsoNormal"> In ShowUdi: (Cisco Controller) >show udi<o:p></o:p></p>
<p class="MsoNormal">HIT COMMAND:(Cisco Controller) >show sysinfo<o:p></o:p></p>
<p class="MsoNormal"> In ShowSysinfo: (Cisco Controller) >show sysinfo<o:p></o:p></p>
<p class="MsoNormal">HIT COMMAND:(Cisco Controller) >show run-config commands<o:p></o:p></p>
<p class="MsoNormal"> In ShowConfig: (Cisco Controller) >show run-config commands<o:p></o:p></p>
<p class="MsoNormal">wlc : End of run not found<o:p></o:p></p>
<p class="MsoNormal">wlc : clean_run is false<o:p></o:p></p>
<p class="MsoNormal">!--WLC End Config Data--!<o:p></o:p></p>
</div>
</div>
</body>
</html>