Discussion:
[rancid] "rancid -d <devicename>" works, but "rancid-run <groupname>" does nothing
Olivier Boudry
2014-05-14 09:19:18 UTC
Permalink
Hi,

I just installed rancid 2.3.8 and configured it as described in
http://www.routereflector.com/2013/09/configuration-versioning-using-rancid/

I can get bin/clogin to work for all my devices. bin/rancid -d will also
work and create me a localfile called devicename.new and containing the
full configuration, but when I try to run the full group of devices "gb1",
nothing happens.

The group is defined in etc/rancid.conf as LIST_OF_GROUPS="gb1"
(uncommented). I ran rancid-cvs which created the var/gb1 folder, and
edited var/gb1/router.db which looks like this:

10.210.9.2|cisco|up
10.210.9.3|cisco|up
10.210.9.4|cisco|up
10.210.9.5|cisco|up

Running "rancid-run gb1", or simply "rancid-run" has no effect. In the log
I find the following:

starting: Wed May 14 09:52:28 BST 2014

ending: Wed May 14 09:52:28 BST 2014

But if I run directly "bin/rancid 10.210.9.2", it works and I get the
config in 10.210.9.2.new

Any idea what could go wrong and how I could troubleshoot this?

Thanks,

Olivier.
Alan McKinnon
2014-05-14 15:09:50 UTC
Permalink
Post by Olivier Boudry
Hi,
I just installed rancid 2.3.8 and configured it as described in
http://www.routereflector.com/2013/09/configuration-versioning-using-rancid/
I can get bin/clogin to work for all my devices. bin/rancid -d will also
work and create me a localfile called devicename.new and containing the
full configuration, but when I try to run the full group of devices
"gb1", nothing happens.
The group is defined in etc/rancid.conf as LIST_OF_GROUPS="gb1"
(uncommented). I ran rancid-cvs which created the var/gb1 folder, and
10.210.9.2|cisco|up
10.210.9.3|cisco|up
10.210.9.4|cisco|up
10.210.9.5|cisco|up
The separators must be colon ":" not pipes "|"

That howto you are following is just flat-out wrong (or it's author is
using a locally modified rancid and forgot that he did that)

The rancid tarballs ship with decent install docs that describe
everything nicely, rather use those in preference to anything else.
--
Alan McKinnon
***@gmail.com
Loading...