<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    TIL about yum history. Neat. Thanks!<br>
    <br>
    So yeah, rancid-3.1-3.el6.x86_64 was the previous version.  I'll
    grab that version from Joseph's link and diff it against the current
    one and see what I can find.<br>
    <pre class="moz-signature" cols="72">-Brooks Bridges
</pre>
    <div class="moz-cite-prefix">On 6/14/2015 10:00 AM, Lance Vermilion
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABTYK3iRcBcvV_3+yC31D2qRT_GUAL6+xC=UZY3NdmWKtYXEUw@mail.gmail.com"
      type="cite">
      <p dir="ltr"><a moz-do-not-send="true"
          href="http://www.cyberciti.biz/faq/yum-history-command/">http://www.cyberciti.biz/faq/yum-history-command/</a></p>
      <p dir="ltr">That should help you to figure out what was
        installed.</p>
      <p dir="ltr">Yum history package-list rancid</p>
      <p dir="ltr">Then</p>
      <p dir="ltr">Yum history info #</p>
      <div class="gmail_quote">On Jun 14, 2015 9:45 AM, "Brooks Bridges"
        <<a moz-do-not-send="true" href="mailto:bbridges@easymail.us">bbridges@easymail.us</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div>That's the thing, I don't really remember and I can't
            seem to find anything in the EPEL repo that says what the
            previous version was.<br>
            <br>
            <br>
            -Brooks Bridges<br>
            <br>
            <br>
            <div class="gmail_quote">On June 14, 2015 9:42:13 AM PDT,
              Joseph Bernard <<a moz-do-not-send="true"
                href="mailto:jhb@clemson.edu" target="_blank">jhb@clemson.edu</a>>
              wrote:
              <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">
                <pre>What version were you using previously?

Thanks,
Joseph B.

-----Original Message-----
From: Rancid-discuss [mailto:<a moz-do-not-send="true" href="mailto:rancid-discuss-bounces@shrubbery.net" target="_blank">rancid-discuss-bounces@shrubbery.net</a>] On Behalf Of Brooks Bridges
Sent: Sunday, June 14, 2015 12:51 AM
To: <a moz-do-not-send="true" href="mailto:rancid-discuss@shrubbery.net" target="_blank">rancid-discuss@shrubbery.net</a>
Subject: [rancid] CentOS 6.6, recent upgrade, now all CatOS devices broken

Had a system with Rancid installed from the EPEL repos.  All switches were configured and everything worked great.  Someone ran a yum update on the system yesterday, and it upgraded the package to "rancid-3.2-1.el6.x86_64", which broke all kinds of crap.

The first indication was the Socket module bug, which I got corrected, however now all CatOS devices in the network are "down" and cannot get the configs pulled from them.  After adding a bit of debugging, the logs
show:

<a moz-do-not-send="true" href="http://smfits1.domain.com" target="_blank">smfits1.domain.com</a>: missed cmd(s): write term
all,show port ifindex,show module,dir sup-microcode:,dir sup-bootflash:,dir bootflash:,dir slot0:,show flash,show running-config,write term,show boot,dir slot1:,show inventory raw
<a moz-do-not-send="true" href="http://smfits1.domain.com" target="_blank">smfits1.domain.com</a> - Clean_run is: 0    <--- added debugging statement
<a moz-do-not-send="true" href="http://smfits1.domain.com" target="_blank">smfits1.domain.com</a> - found_end is: 0    <--- added debugging statement
<a moz-do-not-send="true" href="http://smfits1.domain.com" target="_blank">smfits1.domain.com</a>: End of run not found

After many hours of digging, I've determined that the issue appears to be that clogin is not properly recognizing the end of the output of the commands.  Debug log is attached showing this behavior when running "show version", where it gets to the end of the output from the command and then just hangs there.  It appears that none of the regexes are being matched when the command prompt pops back up after the command completes (perhaps it's only looking for a 'more' prompt?).

Since the FTP site still doesn't let you download anything from the .old directory (and doesn't show any indication that it's going to be fixed anytime soon) I can't get my hands on the old version to compare it against.  My lack of perl, tcl, and expect skills are quite an obstacle here as well.

Any pointers in how to hammer this thing back into submission?

--
-Brooks Bridges

<hr>
Rancid-discuss mailing list
<a moz-do-not-send="true" href="mailto:Rancid-discuss@shrubbery.net" target="_blank">Rancid-discuss@shrubbery.net</a>
<a moz-do-not-send="true" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a>
</pre></blockquote></div></div>
_______________________________________________

Rancid-discuss mailing list

<a moz-do-not-send="true" href="mailto:Rancid-discuss@shrubbery.net">Rancid-discuss@shrubbery.net</a>

<a moz-do-not-send="true" href="http://www.shrubbery.net/mailman/listinfo/rancid-discuss" rel="noreferrer" target="_blank">http://www.shrubbery.net/mailman/listinfo/rancid-discuss</a>
</blockquote></div>



</blockquote>
</body></html>