Discussion:
[rancid] RANCID with SVN not committing
Andrew Meyer
2016-06-30 16:31:47 UTC
Permalink
Thank you for the help with the lock files and tmp dir.  However now I'm running into other issues with adding devices to RANCID.
I'm seeing this at the top of the logs:[***@rancid3svn ~/logs]$ cat NetworkDevices.20160724.125000starting: Sun Jul 24 12:50:00 CDT 2016
property 'svn:ignore' set on '.'property 'svn:ignore' set on 'configs'Updating '.':Restored 'configs/192.168.220.1'Restored 'configs/10.150.1.180'svn: E155009: Failed to run the WC DB work queue associated with '/usr/local/var/rancid/NetworkDevices/configs/10.150.1.1', work item 233 (file-install configs/10.150.1.1 1 0 1 1)svn: E000002: Can't open file '/usr/local/var/rancid/NetworkDevices/.svn/pristine/60/6090119d75f579cc9febd2435980a56f0e790e9b.svn-base': No such file or directorysvn: E155037: Commit failed (details follow):svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn: E155037: Commit failed (details follow):svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn added missing router 10.150.1.124svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn: E155037: Commit failed (details follow):svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn added missing router asm-asa.borg.localsvn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn: E155037: Commit failed (details follow):svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn added missing router pss.borg.localsvn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn: E155037: Commit failed (details follow):svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn added missing router tsg-asa.borg.local
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedsvn: E155037: Commit failed (details follow):svn: E155037: Previous operation has not finished; run 'cleanup' if it was interruptedDeleted 192.168.220.1
So I tried running a clean up on svn as that is what is said to do but i'm getting this:
[***@rancid3svn ~]$ svn cleanup /usr/local/var/rancid/NetworkDevices/svn: E155009: Failed to run the WC DB work queue associated with '/usr/local/var/rancid/NetworkDevices', work item 233 (file-install configs/10.150.1.1 1 0 1 1)svn: E000002: Can't open file '/usr/local/var/rancid/NetworkDevices/.svn/pristine/60/6090119d75f579cc9febd2435980a56f0e790e9b.svn-base': No such file or directory[***@rancid3svn ~]$
heasley
2016-06-30 19:26:40 UTC
Permalink
looks like something was mangled badly. I suggest that you re-checkout
the group, as user rancid:

cd /usr/local/var/rancid
mv NetworkDevices NetworkDevices.junk
svn co file:///usr/local/var/rancid/CVS/NetworkDevices
Andrew Meyer
2016-06-30 20:11:10 UTC
Permalink
Do I need re-run rancid-cvs?
looks like something was mangled badly.  I suggest that you re-checkout
the group, as user rancid:

cd /usr/local/var/rancid
mv NetworkDevices NetworkDevices.junk
svn co file:///usr/local/var/rancid/CVS/NetworkDevices
Andrew Meyer
2016-06-30 20:21:20 UTC
Permalink
ok so now i'm getting this:
[***@rancid3svn ~/logs]$ cat NetworkDevices.20160630.152000starting: Thu Jun 30 15:20:00 CDT 2016
property 'svn:ignore' set on '.'property 'svn:ignore' set on 'configs'Updating '.':At revision 226.

Trying to get all of the configs.10.150.1.180: missed cmd(s): all commands10.150.1.180 clogin error: Error: no enable password for 10.150.1.180 in /usr/local/var/rancid/.cloginrc.10.150.1.180: End of run not found10.150.1.3: missed cmd(s): all commands10.150.1.3 clogin error: Error: no enable password for 10.150.1.3 in /usr/local/var/rancid/.cloginrc.10.150.1.3: End of run not found!!10.150.1.1: missed cmd(s): all commands10.150.1.1 clogin error: Error: Couldn't login: 10.150.1.110.150.1.1: End of run not found192.168.220.1: missed cmd(s): all commands192.168.220.1 clogin error: Error: Couldn't login: 192.168.220.1192.168.220.1: End of run not found!!24.240.197.150: missed cmd(s): all commands24.240.197.150 clogin error: Error: Couldn't login: 24.240.197.15024.240.197.150: End of run not found!


On Thursday, June 30, 2016 3:11 PM, Andrew Meyer <***@yahoo.com> wrote:



Do I need re-run rancid-cvs?
looks like something was mangled badly.  I suggest that you re-checkout
the group, as user rancid:

cd /usr/local/var/rancid
mv NetworkDevices NetworkDevices.junk
svn co file:///usr/local/var/rancid/CVS/NetworkDevices

Loading...