[rancid] Arista Spurious Diffs

Andreas Ott andreas at h169.naund.org
Sat Jan 21 00:52:22 UTC 2023


Hi,

On Fri, Jan 20, 2023 at 02:16:21PM -1000, Steve O'Brien wrote:
> I have just started to deploy Arista switches in my mostly Cisco network.
> My first one that I added to Rancid is sending diffs every run:
> 
> Index: configs/switch
> ===================================================================
> retrieving revision 1.8
> diff -u -4 -r1.8 switch
> @@ -65,9 +65,9 @@
>   !Flash:        -rw-         568            Nov 2  2021  SsuRestore.log
>   !Flash:        -rw-         568            Nov 2  2021
> SsuRestoreLegacy.log
>   !Flash:        drwx        4096           Sep 15  2021  aboot
>   !Flash:        -rw-          18           Jan 10  2022  boot-config
> - !Flash:        drwx        4096           Jan 19 16:01  debug
> + !Flash:        drwx        4096           Jan 19 17:01  debug
> 
> Any help would be greatly appreciated!

Coincidentally I fixed this earlier this week on one of our rancid instances.

In the file 'arrancid' look for the section '# This routine parses "dir flash:"'
and add the following line(s)

+	# Ignore debug subdirectory
+	/drwx.*debug/ && next;

before it invokes the function 	
	ProcessHistory("FLASH","","","!Flash: $_");


Apparently newer EOS versions such as 4.27 are now frequently touching the debug 
directory in the filesystem.


Cheers, andreas



More information about the Rancid-discuss mailing list