[rancid] Re: Setting up rancid with a corp svn server?

john heasley heas at shrubbery.net
Wed Dec 3 23:30:43 UTC 2008


Tue, Dec 02, 2008 at 03:55:03PM -0800, John A. Kilpatrick:
> 
> 
> My boss wants me to have rancid use our corporate svn server.  Shouldn't 
> be a problem right? :)
> 
> So I went and made /data/rancid as the base dir.  I checked out the tree 
> using svn co https://svn.foo.com/svn/is-ops is-ops and got the tree we 
> use.
> 
> I have the basedir set to /data/rancid and I have CVSROOT set to 
> /data//rancid/is-ops/trunk/doc/network/Configs which is where I'd like the 
> files to go.
> 
> Then I ran rancid-cvs and got:
> 
> rancid at ntop /data/rancid $ rancid-cvs
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 
> 'file:///data/rancid/is-ops/trunk/doc/network/Configs/prod'
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 
> 'file:///data/rancid/is-ops/trunk/doc/network/Configs/prod'

rancid-cvs assume that CVSROOT (from rancid.conf) is local and is a
path not a URL and in some cases svn wants a path and in others a
URL.

To support this, i think CVSROOT would have to become a url.

> svn: '.' is not a working copy
> svn: Can't open file '.svn/entries': No such file or directory
> svn: '/data/rancid/prod/configs' is not a working copy
> svn: '.' is not a working copy
> svn: Can't open file '.svn/entries': No such file or directory
> svn: '/data/rancid/prod' is not a working copy
> svn: Can't open file '/data/rancid/prod/.svn/entries': No such file or 
> directory
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 
> 'file:///data/rancid/is-ops/trunk/doc/network/Configs/corp'
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 
> 'file:///data/rancid/is-ops/trunk/doc/network/Configs/corp'
> svn: '.' is not a working copy
> svn: Can't open file '.svn/entries': No such file or directory
> svn: '/data/rancid/corp/configs' is not a working copy
> svn: '.' is not a working copy
> svn: Can't open file '.svn/entries': No such file or directory
> svn: '/data/rancid/corp' is not a working copy
> svn: Can't open file '/data/rancid/corp/.svn/entries': No such file or 
> directory
> 
> I'll be honest, I'm not an svn guru nor am I rancid guru - rancid always 
> falls under the "just works" category for me.  If someone can point out 
> what I'm doing wrong I'd appreciate it.  Should the CVS basedir be a URL?
> 
> Thanks,
> John
> 
> -- 
>                                 John A. Kilpatrick
> john at hypergeek.net                Email|     http://www.hypergeek.net/
> john-page at hypergeek.net      Text pages|          ICQ: 19147504
>                   remember:  no obstacles/only challenges
> 
> 
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-discuss at shrubbery.net
> http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


More information about the Rancid-discuss mailing list