Discussion:
[rancid] Rancid CVS issue
Ingle, Vicky
2017-06-23 19:06:53 UTC
Permalink
Hi team,

Can someone assist me here.

Thanks & Regards,
Vicky Ingle
CIS I&O Operations Command Center
Desk: 508-215-0999 / Ext: 69280


-----Original Message-----
From: Ingle, Vicky
Sent: Friday, June 16, 2017 1:50 PM
To: 'rancid-***@shrubbery.net' <rancid-***@shrubbery.net>
Subject: FW: Rancid CVS issue

Hi team,

Can anyone assist me on this issue?

Thanks & Regards,
Vicky Ingle
CIS I&O Operations Command Center
Desk: 508-215-0999 / Ext: 69280


-----Original Message-----
From: ***@shrubbery.net [mailto:***@shrubbery.net]
Sent: Friday, June 16, 2017 1:09 PM
To: Ingle, Vicky <***@bose.com>
Cc: ***@shrubbery.net
Subject: Re: Rancid CVS issue

Fri, Jun 16, 2017 at 04:10:40PM +0000, Ingle, Vicky:
> Hi,
>
> I'm having issues with our rancid/CVS config, as its not updating in a timely manner. We do have a cronjob.
>
> Let me know if someone from the technical team can work with me on this.

please see rancid FAQ for various CVS FAQs and/or email to rancid-***@shrubbery.net with contents of the group's logs and the output of cvs update for the group.
Doug Hughes
2017-06-23 20:39:53 UTC
Permalink
can you include more information? Is it that rancid is not storing in
CVS, that your CVS check-out is not updating from your rancid info, or
other?



On 6/23/2017 3:06 PM, Ingle, Vicky wrote:
> Hi team,
>
> Can someone assist me here.
>
> Thanks & Regards,
> Vicky Ingle
> CIS I&O Operations Command Center
> Desk: 508-215-0999 / Ext: 69280
>
>
> -----Original Message-----
> From: Ingle, Vicky
> Sent: Friday, June 16, 2017 1:50 PM
> To: 'rancid-***@shrubbery.net' <rancid-***@shrubbery.net>
> Subject: FW: Rancid CVS issue
>
> Hi team,
>
> Can anyone assist me on this issue?
>
> Thanks & Regards,
> Vicky Ingle
> CIS I&O Operations Command Center
> Desk: 508-215-0999 / Ext: 69280
>
>
> -----Original Message-----
> From: ***@shrubbery.net [mailto:***@shrubbery.net]
> Sent: Friday, June 16, 2017 1:09 PM
> To: Ingle, Vicky <***@bose.com>
> Cc: ***@shrubbery.net
> Subject: Re: Rancid CVS issue
>
> Fri, Jun 16, 2017 at 04:10:40PM +0000, Ingle, Vicky:
>> Hi,
>>
>> I'm having issues with our rancid/CVS config, as its not updating in a timely manner. We do have a cronjob.
>>
>> Let me know if someone from the technical team can work with me on this.
> please see rancid FAQ for various CVS FAQs and/or email to rancid-***@shrubbery.net with contents of the group's logs and the output of cvs update for the group.
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

--
Doug Hughes
Keystone NAP
Fairless Hills, PA
1.844.KEYBLOCK (539.2562)
Ingle, Vicky
2017-06-26 12:10:11 UTC
Permalink
We have a linux server where in Rancid 3.1 and below is the cronjob (run as user pp71402)

***@neptune:(06-24 23:14): /root
# su - pp71402
***@neptune:(06-24 23:14): /users/pp71402/aws
# crontab -l
30 0 * * * /usr/bin/php /users/pp71402/public_html/netadmin/rancid.php
30 1 * * * /users/pp71402/rancid/bin/rancid-run
30 5 * * * /usr/bin/sudo /bin/chmod a+rw /users/pp71402/rancid/var/MA/configs/*
30 6 * * * /usr/bin/php /users/pp71402/public_html/netadmin/getinfo.php

So we can see that the rancid-run is scheduled to be run every night. But it's not downloading the configs for all the devices.

I have verified that I'm able to login to those devices via clogin without any issues, I have checked the router.db file and they are listed correctly.
Secondly routers.up files reports the devices as up. When I try to see the logs, the devices are not listed in it. So not sure what parameters/logs to check for further troubleshooting

Thanks & Regards,
Vicky Ingle
CIS I&O Operations Command Center
Desk: 508-215-0999 / Ext: 69280


-----Original Message-----
From: Ingle, Vicky
Sent: Friday, June 23, 2017 3:23 PM
To: 'rancid-***@shrubbery.net' <rancid-***@shrubbery.net>
Subject: RE: Rancid CVS issue

Please approve this query, let me know if there are no updates on the device will it download the configs? I have scheduled rancid to run every night, but when I try to see the updates it now getting updated on a daily basis.

Need assistance on priority, as we are running on a production environment.

Thanks & Regards,
Vicky Ingle
CIS I&O Operations Command Center
Desk: 508-215-0999 / Ext: 69280


-----Original Message-----
From: Ingle, Vicky
Sent: Friday, June 23, 2017 3:07 PM
To: 'rancid-***@shrubbery.net' <rancid-***@shrubbery.net>
Subject: RE: Rancid CVS issue

Hi team,

Can someone assist me here.

Thanks & Regards,
Vicky Ingle
CIS I&O Operations Command Center
Desk: 508-215-0999 / Ext: 69280


-----Original Message-----
From: Ingle, Vicky
Sent: Friday, June 16, 2017 1:50 PM
To: 'rancid-***@shrubbery.net' <rancid-***@shrubbery.net>
Subject: FW: Rancid CVS issue

Hi team,

Can anyone assist me on this issue?

Thanks & Regards,
Vicky Ingle
CIS I&O Operations Command Center
Desk: 508-215-0999 / Ext: 69280


-----Original Message-----
From: ***@shrubbery.net [mailto:***@shrubbery.net]
Sent: Friday, June 16, 2017 1:09 PM
To: Ingle, Vicky <***@bose.com>
Cc: ***@shrubbery.net
Subject: Re: Rancid CVS issue

Fri, Jun 16, 2017 at 04:10:40PM +0000, Ingle, Vicky:
> Hi,
>
> I'm having issues with our rancid/CVS config, as its not updating in a timely manner. We do have a cronjob.
>
> Let me know if someone from the technical team can work with me on this.

please see rancid FAQ for various CVS FAQs and/or email to rancid-***@shrubbery.net with contents of the group's logs and the output of cvs update for the group.
Nick Hilliard
2017-06-26 22:39:13 UTC
Permalink
Ingle, Vicky wrote:
> We have a linux server where in Rancid 3.1 and below is the cronjob
> (run as user pp71402)

does clogin work when you su to username pp71402?

Nick
Ingle, Vicky
2017-06-26 22:47:34 UTC
Permalink
Hi Nick,

I'm so glad that you replied for this issue.
Yes, it works fine. I don't see anything in the logs for the failed devices. If there is no change in the decide config, does it skip downloading the config? If yes, where can see those skipped logs..

Thanks,
Vicky Ingle

________________________________
From: Nick Hilliard <***@foobar.org>
Sent: Monday, June 26, 2017 6:39:13 PM
To: Ingle, Vicky
Cc: rancid-***@shrubbery.net
Subject: Re: [rancid] Rancid CVS issue

Ingle, Vicky wrote:
> We have a linux server where in Rancid 3.1 and below is the cronjob
> (run as user pp71402)

does clogin work when you su to username pp71402?

Nick
Doug Hughes
2017-06-27 15:00:58 UTC
Permalink
rancid doesn't make a log entry if there are no changes to the device,
unless there is an error. The log files are there to record errors and
anomalies, not success.

It is true with cvs, svn, git, etc. that if there are no changes, then
there will be no commit into the version control. This is by design and
a good thing! It means you only get emails (if you enable them) when
there's a change, it also means that if you setup a websvn or webcvs
viewer, the choices for the device will only be for when there are new
changes made and you can see exactly what changed in the diffs and when
they happened.



On 6/26/2017 6:47 PM, Ingle, Vicky wrote:
> Hi Nick,
>
> I'm so glad that you replied for this issue.
> Yes, it works fine. I don't see anything in the logs for the failed
> devices. If there is no change in the decide config, does it skip
> downloading the config? If yes, where can see those skipped logs..
>
> Thanks,
> Vicky Ingle
>
> ------------------------------------------------------------------------
> *From:* Nick Hilliard <***@foobar.org>
> *Sent:* Monday, June 26, 2017 6:39:13 PM
> *To:* Ingle, Vicky
> *Cc:* rancid-***@shrubbery.net
> *Subject:* Re: [rancid] Rancid CVS issue
>
> Ingle, Vicky wrote:
> > We have a linux server where in Rancid 3.1 and below is the cronjob
> > (run as user pp71402)
>
> does clogin work when you su to username pp71402?
>
> Nick
>
>
> _______________________________________________
> Rancid-discuss mailing list
> Rancid-***@shrubbery.net
> http://www.shrubbery.net/mailman/listinfo/rancid-discuss

--
Doug Hughes
Keystone NAP
Fairless Hills, PA
1.844.KEYBLOCK (539.2562)
Loading...