[rancid] "Stuttering" and line-ending mangling on ASR9000?

Howard Jones howie at thingy.com
Thu Jun 15 08:29:16 UTC 2017


We have an ASR9001 that registers a change a few times a day that looks 
like this:


--- bgp1    (revision 17595)
+++ bgp1    (revision 17596)
@@ -1,6 +1,4 @@
-!RANCID-CONTENT-TYPE: cisco
-!
-!Ch!Chassis type: ASR-9001 - a ASR9K Series router
+!RANCID-CONTENT-TYPE: cisco-xr!Ch!Chassis type: ASR-9001 - a ASR9K 
Series router
  !CPU: P4040
  !
  !Memory: main 8388608K


Or back the other way. That is, the line endings of the internally 
generated RANCID content seem to be changing. Also, there is a stutter 
in there (!Ch!Chassis) in both variations. Also, the content-type 
switches between cisco and cisco-xr (or is truncated perhaps).

Any ideas on where this might be coming from? It would have to be 
between bin/rancid and lib/rancid/rancid.pm, wouldn't it?

This is with rancid 3.6.2, plus a few local patches, but nothing to do 
with output processing (file naming only). Same install has a couple 
hundred other devices (no other IOS XR though, I don't think) all 
working happily.

Thanks in advance,

Howard



More information about the Rancid-discuss mailing list