[rancid] "svn warning - <router> is already under version control" message while running the rancid-run -r <router>

Atle Østbø Atle.Ostbo at tdcsong.no
Thu Dec 7 10:54:10 UTC 2006


Hi
 
I have try to use rancid to take care of the configuration changes for our routers.
 
I export an node list from our HP OpenView NNM and build an list of over 5000 cisco routers.
 
The rancid starting: Tue Dec 5 23:00:01 CET 2006 - and was finish: ending: Thu Dec 7 05:22:23 CET 2006

It's take a long time to build the svn repository - it use nearly 24 hours to do that. I don't know why this take so longe time. 
 
Example of message for each router:
 
property 'svn:ignore' set on '.'
/usr/local/rancid/dead.letter... Saved message in /usr/local/rancid/dead.letter
A         1880-sijgjgls_gjovik_30019266.cpe.no.sn.net
Adding         1880-sijgjgls_gjovik_30019266.cpe.no.sn.net
Transmitting file data .
Committed revision 400.
Added 1880-sijgjgls_gjovik_30019266.cpe.no.sn.net
...
....
...
 
and the end of the log file is the following message:
 

svn: Commit failed (details follow):
svn: Out of date: '/cisco' in transaction '46y'
Sending        .
/usr/local/rancid/dead.letter... Saved message in /usr/local/rancid/dead.letter
 
ending: Thu Dec 7 05:22:23 CET 2006
~

- - - 
 
I have set up swatch to se after syslog messages from our routers, when there come an message about configuration changes the rancid-run -r <router> start up, in this case there is a strange problem - when rancid-run -r <router> start the rancid start to add all the routers in the router.db file again to the svn repository.... - se the log file:
 
starting: Thu Dec 7 10:46:12 CET 2006
 
/usr/local/rancid/dead.letter... Saved message in /usr/local/rancid/dead.letter
svn: warning: 1880-sijgjgls_gjovik_30019266.cpe.no.sn.net' is already under version control
Added 1880-sijgjgls_gjovik_30019266.cpe.no.sn.net

And now it have done that in the last hour - and the time now is: Thu Dec  7 11:51:15 CET 2006 and it's not finish yes ;-(
 
---------------------------------------
 
Is there any way to perform the rancid to get config from one router without check in all of them, only get the new config from the -r <router> ?
 
 
 
 
 
 
 
 
Med vennlig hilsen/Best regards


 


Atle Østbø

Network Services

 

TDC Song AS

Prof.O.Hanssensvei 7

Postboks 8034

N-4068 Stavanger

Tlf/Phone:        +47 51 20 26 51

Mobil/Mobile:    +47 40 000 651
Faks/Fax       +47 51 20 26 01 

E-post/E-mail:   atle.ostbo at tdcsong.no

Web:   tdcsong.no

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20061207/649a200e/attachment.html 


More information about the Rancid-discuss mailing list