[rancid] [heas at shrubbery.net: Re: Rancid 2.3.8, update issue]

Brian Cuttler brian at wadsworth.org
Fri Feb 7 21:11:43 UTC 2014


Heasley,

# you need to fix the cvs.  cd group; rm configs/*; cvs update

I'm a little afraid your overestimating what I know about rancid
and cvs.

group would be CVSROOT/<site>/configs where the site is one of
several config directories I have, in this case "ESP"? Or is it
that other data tree that rancid seems to communicate with? There
is some client server thing going on here? on a single machine.

I (just now) # cd'd to that directory and run the cvs update,
first time cvs has run without error, so I must be in a better
(if not actually correct) spot.

Ah, the new run of rancid has produced that looks like a much cleaner
output. I think that was it, unless you tell me I still have problems.

So, the delete cleans up the unlocked retrieved cvs files?
The committed files are in this directory, and bear a resemblance
to RCS files?

Then the update does what, restore/non-locking from cvs?

Sorry - just trying to figure out what I did, I'll help me the
next time I find or induce an error.

						many thanks,

						Brian

# /data1/rancid/CVS/ESP/configs$ ls
Attic                 d10a2650-1,v  d52650-2,v       e10002650-1,v
b10002650-1,v         d10b2650-1,v  d52650-3,v       e2502626-1,v
b10122650-1,v         d12650-1,v    d5862650-1,v     exec2626-1,v
b10122650-2,v         d12650-2,v    d6b2610-2,v      exec2810-1,v
c2802626-1,v          d132650-1,v   d6b2610-3,v      frank2650-1,v
c280dcrack2650-1,v    d132650-2,v   d6b2610-4,v      gerwin2810-1,v
c280dcrack2810-172,v  d1462650-1,v  d6b2650-1,v      ids2650-1,v
c280dcrack2810-1,v    d172650-1,v   d6b2810-1,v      libceiling2626-1,v
c280rack12650-1,v     d172650-2,v   d7b2650-1,v      libe2626-1,v
c280rack12810-1,v     d172810-1,v   d7b2650-2,v      librefdesk2626-1,v
c280rack12810-2,v     d22650-1,v    d7b5308-1,v      mgtsrv2650-1,v
c280rack42810-1,v     d22650-2,v    d82650-1,v       notes2626-1,v
c280rack42810-2,v     d2452650-1,v  d9a2650-1,v      test2626-1,v
c280rack4n-1,v        d32650-1,v    d9a2650-2,v      wceport,v
c280rack52650-1,v     d32650-2,v    d9b2650-1,v      wclr2626,v
c280rack52810-1,v     d42650-1,v    dlc2650-1,v      wclr2821,v
c280rack52810-2,v     d42650-2,v    dlc2650-2,v      wclrgwfail,v
c280rack72650-1,v     d42650-3,v    dmz162626-1,v    wclrgw,v
c280rack72810-1,v     d4862650-1,v  dmz192626-1,v    wclr-oft-2821,v
c6b2626-1,v           d52650-1,v    dmzapoa2626-1,v


# cat ESP.20140207.160131
starting: Fri Feb 7 16:01:31 EST 2014


cvs remove: scheduling `trans2810-1' for removal
cvs remove: use `cvs commit' to remove this file permanently
/home/rancid/var/rancid/CVS/ESP/configs/trans2810-1,v  <--  trans2810-1
new revision: delete; previous revision: 1.25
Deleted trans2810-1

Trying to get all of the configs.
All routers sucessfully completed.

cvs diff: Diffing .
cvs diff: Diffing configs
cvs commit: Examining .
cvs commit: Examining configs
/home/rancid/var/rancid/CVS/ESP/router.db,v  <--  router.db
new revision: 1.6; previous revision: 1.5
/home/rancid/var/rancid/CVS/ESP/configs/d172650-2,v  <--  configs/d172650-2
new revision: 1.14; previous revision: 1.13
/home/rancid/var/rancid/CVS/ESP/configs/d172810-1,v  <--  configs/d172810-1
new revision: 1.2; previous revision: 1.1
/home/rancid/var/rancid/CVS/ESP/configs/d5862650-1,v  <--  configs/d5862650-1
new revision: 1.12; previous revision: 1.11
/home/rancid/var/rancid/CVS/ESP/configs/test2626-1,v  <--  configs/test2626-1
new revision: 1.26; previous revision: 1.25
/home/rancid/var/rancid/CVS/ESP/configs/wclr2821,v  <--  configs/wclr2821
new revision: 1.9; previous revision: 1.8

ending: Fri Feb 7 16:04:42 EST 2014


----- Forwarded message from heasley <heas at shrubbery.net> -----
X-Sieve: CMU Sieve 2.4
Date: Fri, 7 Feb 2014 20:41:58 +0000
From: heasley <heas at shrubbery.net>
To: Brian Cuttler <brian at wadsworth.org>
Subject: Re: [rancid] Rancid 2.3.8, update issue
In-Reply-To: <20140207155708.GG20403 at nnewton.wadsworth.org>
X-PGPkey: http://www.shrubbery.net/~heas/public-key.asc
X-note: live free, or die!
X-homer: i just want to have a beer while i am caring.
X-Claimation: an engineer needs a manager like a fish needs a bicycle
X-reality: only YOU can put an end to the embarrassment that is Tom Cruise
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Wadsworth-MailScanner-Information: Please contact the ITG for more information
X-Wadsworth-MailScanner-ID: s17KgKeM017705
X-Wadsworth-MailScanner: Found to be clean
X-Wadsworth-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
	score=0, required 5, autolearn=not spam)
X-Wadsworth-MailScanner-From: heas at shrubbery.net
X-Spam-Status: No

Fri, Feb 07, 2014 at 10:57:08AM -0500, Brian Cuttler:
> 
> The most recent rancid run did not have any specific meantion of
> the trans2810* switches, but did have an uncomfortably large number
> of instances of the word "failed".
> 
> Do I need to take an action? If so, can you please step me through
> what that action sequence might be?

you need to fix the cvs.  cd group; rm configs/*; cvs update

> 						thank you,
> 
> 						Brian
> 
> This file is unabridged.
> 
> # cat ESP.20140207.102001
> starting: Fri Feb 7 10:20:01 EST 2014
> 
> 
> 
> Trying to get all of the configs.
> All routers sucessfully completed.
> 
> cvs diff: Diffing .
> cvs diff: Diffing configs
> cvs commit: Examining .
> cvs commit: Examining configs
> cvs commit: Up-to-date check failed for `configs/b10002650-1'
> cvs commit: Up-to-date check failed for `configs/b10122650-1'
> cvs commit: Up-to-date check failed for `configs/b10122650-2'
> cvs commit: Up-to-date check failed for `configs/c2802626-1'
> cvs commit: Up-to-date check failed for `configs/c280dcrack2650-1'
> cvs commit: Up-to-date check failed for `configs/c280dcrack2810-1'
> cvs commit: Up-to-date check failed for `configs/c280dcrack2810-172'
> cvs commit: Up-to-date check failed for `configs/c280rack12650-1'
> cvs commit: Up-to-date check failed for `configs/c280rack12810-1'
> cvs commit: Up-to-date check failed for `configs/c280rack12810-2'
> cvs commit: Up-to-date check failed for `configs/c280rack42810-1'
> cvs commit: Up-to-date check failed for `configs/c280rack42810-2'
> cvs commit: Up-to-date check failed for `configs/c280rack4n-1'
> cvs commit: Up-to-date check failed for `configs/c280rack52650-1'
> cvs commit: Up-to-date check failed for `configs/c280rack52810-1'
> cvs commit: Up-to-date check failed for `configs/c280rack52810-2'
> cvs commit: Up-to-date check failed for `configs/c280rack72650-1'
> cvs commit: Up-to-date check failed for `configs/c280rack72810-1'
> cvs commit: Up-to-date check failed for `configs/c6b2626-1'
> cvs commit: Up-to-date check failed for `configs/d10a2650-1'
> cvs commit: Up-to-date check failed for `configs/d10b2650-1'
> cvs commit: Up-to-date check failed for `configs/d12650-1'
> cvs commit: Up-to-date check failed for `configs/d12650-2'
> cvs commit: Up-to-date check failed for `configs/d132650-1'
> cvs commit: Up-to-date check failed for `configs/d132650-2'
> cvs commit: Up-to-date check failed for `configs/d1462650-1'
> cvs commit: Up-to-date check failed for `configs/d172650-1'
> cvs commit: Up-to-date check failed for `configs/d172650-2'
> cvs commit: Up-to-date check failed for `configs/d22650-1'
> cvs commit: Up-to-date check failed for `configs/d22650-2'
> cvs commit: Up-to-date check failed for `configs/d2452650-1'
> cvs commit: Up-to-date check failed for `configs/d32650-1'
> cvs commit: Up-to-date check failed for `configs/d32650-2'
> cvs commit: Up-to-date check failed for `configs/d42650-1'
> cvs commit: Up-to-date check failed for `configs/d42650-2'
> cvs commit: Up-to-date check failed for `configs/d42650-3'
> cvs commit: Up-to-date check failed for `configs/d4862650-1'
> cvs commit: Up-to-date check failed for `configs/d52650-1'
> cvs commit: Up-to-date check failed for `configs/d52650-2'
> cvs commit: Up-to-date check failed for `configs/d5862650-1'
> cvs commit: Up-to-date check failed for `configs/d6b2610-2'
> cvs commit: Up-to-date check failed for `configs/d6b2610-3'
> cvs commit: Up-to-date check failed for `configs/d6b2610-4'
> cvs commit: Up-to-date check failed for `configs/d6b2650-1'
> cvs commit: Up-to-date check failed for `configs/d6b2810-1'
> cvs commit: Up-to-date check failed for `configs/d7b2650-1'
> cvs commit: Up-to-date check failed for `configs/d7b2650-2'
> cvs commit: Up-to-date check failed for `configs/d7b5308-1'
> cvs commit: Up-to-date check failed for `configs/d82650-1'
> cvs commit: Up-to-date check failed for `configs/d9a2650-1'
> cvs commit: Up-to-date check failed for `configs/d9a2650-2'
> cvs commit: Up-to-date check failed for `configs/d9b2650-1'
> cvs commit: Up-to-date check failed for `configs/dlc2650-1'
> cvs commit: Up-to-date check failed for `configs/dlc2650-2'
> cvs commit: Up-to-date check failed for `configs/dmz162626-1'
> cvs commit: Up-to-date check failed for `configs/dmz192626-1'
> cvs commit: Up-to-date check failed for `configs/dmzapoa2626-1'
> cvs commit: Up-to-date check failed for `configs/e10002650-1'
> cvs commit: Up-to-date check failed for `configs/exec2626-1'
> cvs commit: Up-to-date check failed for `configs/exec2810-1'
> cvs commit: Up-to-date check failed for `configs/frank2650-1'
> cvs commit: Up-to-date check failed for `configs/gerwin2810-1'
> cvs commit: Up-to-date check failed for `configs/ids2650-1'
> cvs commit: Up-to-date check failed for `configs/libceiling2626-1'
> cvs commit: Up-to-date check failed for `configs/libe2626-1'
> cvs commit: Up-to-date check failed for `configs/librefdesk2626-1'
> cvs commit: Up-to-date check failed for `configs/mgtsrv2650-1'
> cvs commit: Up-to-date check failed for `configs/notes2626-1'
> cvs commit: Up-to-date check failed for `configs/wceport'
> cvs commit: Up-to-date check failed for `configs/wclr-oft-2821'
> cvs commit: Up-to-date check failed for `configs/wclr2626'
> cvs commit: Up-to-date check failed for `configs/wclr2821'
> cvs commit: Up-to-date check failed for `configs/wclrgw'
> cvs commit: Up-to-date check failed for `configs/wclrgwfail'
> cvs [commit aborted]: correct above errors first!
> 
> ending: Fri Feb 7 10:23:17 EST 2014
> 
> 
> ---
>    Brian R Cuttler                 brian.cuttler at wadsworth.org
>    Computer Systems Support        (v) 518 486-1697
>    Wadsworth Center                (f) 518 473-6384
>    NYS Department of Health        Help Desk 518 473-0773
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

----- End forwarded message -----
---
   Brian R Cuttler                 brian.cuttler at wadsworth.org
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



More information about the Rancid-discuss mailing list