jerancid for ERX's with "service manual-commit"?

Williamson, Todd TWilliam at Covad.COM
Thu Nov 4 19:33:29 UTC 2004


> -----Original Message-----
> From: Mark Cooper 
> Subject: Re: jerancid for ERX's with "service manual-commit"?
> 
> Think this is related to the same problem I'm seeing which is 
> jerancid 
> b0rking when coming across things not 'in sync'
> 
> I commented out the following lines in jerancid and 
> everything works fine:-
>          # fail if the RP is amid the auto-sync process
> #       return(-1) if (/auto-sync enabled/ && !/in sync/);
>          # fail if the RP is amid the auto-sync process
> #       return(-1) if (/active\/standby/ && !/not sync/);
> 
> I haven't supplied a patch as yet as I saw this as a kludge until I 
> could find out from Juniper what its all about ;)

that's just about what i changed to get it working.  i altered the sync
test case and changed the configuration command a bit for use with
"service manual-commit" ("show config" doesn't work in this case); the
"exclude interface atm" piece is there to keep the clogin sessions from
timing out and cull the cruft from the config (lots of pre-prov'ed ATM
subinterfaces):

prodeng01:rancid$ diff jerancid.old jerancid
266c266
<       return(-1) if (/active\/standby/ && !/not sync/);
---
>       return(-1) if (/active\/standby/ && /not sync/);
545c545
<       'show configuration'    => "WriteTerm"
---
>       'show running-configuration exclude interface atm'      =>
"WriteTerm"
556c556
<       "show configuration"
---
>       "show running-configuration exclude interface atm"


everything has been working fine since removing the negation of the
negative ;)  

i'd love to help out (rancid makes my life so much easier :)  if there's
any assistance i can offer with respect to e-series testing, please
contact me off-list.

thanks,
todd

> 
> HTH
> 
> -- 
> 
> Mark Cooper
> http://pvrhw.goldfish.org/ - Open Source PVR Hardware Database
> 

todd



More information about the Rancid-discuss mailing list