Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: RANCID: Users

RANCID, CRS and SDR

 

 

RANCID users RSS feed   Index | Next | Previous | View Threaded


lists at quux

Dec 1, 2011, 12:28 AM

Post #1 of 9 (751 views)
Permalink
RANCID, CRS and SDR

Hi,

I'm having some problems with RANCID when querying CRS SDRs (Secure
Domain Router). RANCID is running once an hour and every time RANCID
finds some differences in the hardware configuration.

Here is an example:

This moring a 7 o'clock:
- !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
- !VID: N/A
- !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"

And at 8 o'clock
+ !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
+ !VID: N/A
+ !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"

This is not on related to sensors, I've also seen fan trays, interface
cards, ... appearing and disappearing. Any ideas? Querying the actual
(hardware) CRS works fine.

Regards

Jens
--
-------------------------------------------------------------------------
| Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 |
| http://blog.quux.de | jabber: jenslink [at] guug | ------------------- |
-------------------------------------------------------------------------
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


tyler at tolaris

Dec 1, 2011, 1:01 AM

Post #2 of 9 (722 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

Jens,

I have the same problem with one of my Cisco Catalyst 6509, when querying
via telnet. It removes and adds hardware seemingly at whim. However, the
same behaviour is visible when testing with clogin myself - it seems to be
the real output.

I'd prefer to fix it, or have RANCID ignore it. Right now, I have neither
solution.

Tyler

On 2011-12-01 08:28, Jens Link wrote:
> Hi,
>
> I'm having some problems with RANCID when querying CRS SDRs (Secure
> Domain Router). RANCID is running once an hour and every time RANCID
> finds some differences in the hardware configuration.
>
> Here is an example:
>
> This moring a 7 o'clock:
> - !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> - !VID: N/A
> - !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
>
> And at 8 o'clock
> + !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> + !VID: N/A
> + !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
>
> This is not on related to sensors, I've also seen fan trays, interface
> cards, ... appearing and disappearing. Any ideas? Querying the actual
> (hardware) CRS works fine.
>
> Regards
>
> Jens

--
"Complaining about ionizing radiation on your way to a plane flight is
like complaining about a TSA pat-down on your way to Caligula's palace."
-- Soren Ragsdale
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


misch at schwartzkopff

Dec 1, 2011, 6:06 AM

Post #3 of 9 (723 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

> Jens,
>
> I have the same problem with one of my Cisco Catalyst 6509, when querying
> via telnet. It removes and adds hardware seemingly at whim. However, the
> same behaviour is visible when testing with clogin myself - it seems to be
> the real output.
>
> I'd prefer to fix it, or have RANCID ignore it. Right now, I have neither
> solution.
>
> Tyler
>
> On 2011-12-01 08:28, Jens Link wrote:
> > Hi,
> >
> > I'm having some problems with RANCID when querying CRS SDRs (Secure
> > Domain Router). RANCID is running once an hour and every time RANCID
> > finds some differences in the hardware configuration.
> >
> > Here is an example:
> >
> > This moring a 7 o'clock:
> > - !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> > - !VID: N/A
> > - !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
> >
> > And at 8 o'clock
> > + !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> > + !VID: N/A
> > + !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
> >
> > This is not on related to sensors, I've also seen fan trays, interface
> > cards, ... appearing and disappearing. Any ideas? Querying the actual
> > (hardware) CRS works fine.
> >
> > Regards
> >
> > Jens

Hi,

possible this behavior is related to the fact, that the output is formatted
different every run. Especially we found no way to tell the devices not to add
line breaks at will.

And yes, we tried "term length 0" already.

Greetings,

--
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Fax: (089) 620 304 13
Attachments: signature.asc (0.19 KB)


heas at shrubbery

Dec 1, 2011, 8:29 AM

Post #4 of 9 (730 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

Thu, Dec 01, 2011 at 09:01:13AM +0000, Tyler J. Wagner:
> Jens,
>
> I have the same problem with one of my Cisco Catalyst 6509, when querying
> via telnet. It removes and adds hardware seemingly at whim. However, the
> same behaviour is visible when testing with clogin myself - it seems to be
> the real output.
>
> I'd prefer to fix it, or have RANCID ignore it. Right now, I have neither
> solution.

it is most likely a problem with the IOS/IOX or the hardware. we've seen
both, though not yet on IOX; requiring reseating the LC or a s/w fix.

Its not likely a problem with rancid. as you've mentioned, you see it with
clogin too.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


daniel.schmidt at wyo

Dec 1, 2011, 8:48 AM

Post #5 of 9 (726 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

You may consider editing your local rancid to ignore things like these
that continually change; it's not difficult to do.

-----Original Message-----
From: rancid-discuss-bounces [at] shrubbery
[mailto:rancid-discuss-bounces [at] shrubbery] On Behalf Of john heasley
Sent: Thursday, December 01, 2011 9:30 AM
To: Tyler J. Wagner
Cc: rancid-discuss [at] shrubbery
Subject: Re: [rancid] RANCID, CRS and SDR

Thu, Dec 01, 2011 at 09:01:13AM +0000, Tyler J. Wagner:
> Jens,
>
> I have the same problem with one of my Cisco Catalyst 6509, when
> querying via telnet. It removes and adds hardware seemingly at whim.
> However, the same behaviour is visible when testing with clogin myself
> - it seems to be the real output.
>
> I'd prefer to fix it, or have RANCID ignore it. Right now, I have
> neither solution.

it is most likely a problem with the IOS/IOX or the hardware. we've seen
both, though not yet on IOX; requiring reseating the LC or a s/w fix.

Its not likely a problem with rancid. as you've mentioned, you see it
with clogin too.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss
E-Mail to and from me, in connection with the transaction
of public business,is subject to the Wyoming Public Records
Act, and may be disclosed to third parties.

_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


tyler at tolaris

Dec 1, 2011, 9:16 AM

Post #6 of 9 (722 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

On 2011-12-01 16:48, Daniel Schmidt wrote:
> You may consider editing your local rancid to ignore things like these
> that continually change; it's not difficult to do.

I have very seriously considered that. However, I don't know how to edit it
to ignore "show inventory raw" for just this host. Other suggestions welcome.

Regards,
Tyler

--
"Offending fundamentalists isn't my goal – but if it is an inevitable
side-effect of defending human rights, so be it."
-- Johann Hari
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


heas at shrubbery

Dec 1, 2011, 9:52 AM

Post #7 of 9 (725 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

Thu, Dec 01, 2011 at 05:16:17PM +0000, Tyler J. Wagner:
> On 2011-12-01 16:48, Daniel Schmidt wrote:
> > You may consider editing your local rancid to ignore things like these
> > that continually change; it's not difficult to do.
>
> I have very seriously considered that. However, I don't know how to edit it
> to ignore "show inventory raw" for just this host. Other suggestions welcome.

ignoring it for all is easy; for one, less so. you'd have to match the
prompt to exclude the output.

please please please bitch at your vendor about the problem for the benefit
of all.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


pelle at hemmop

Dec 3, 2011, 5:21 PM

Post #8 of 9 (723 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

Hi Jens.

> I'm having some problems with RANCID when querying CRS SDRs (Secure
> Domain Router). RANCID is running once an hour and every time RANCID
> finds some differences in the hardware configuration.
>
> Here is an example:
>
> This moring a 7 o'clock:
> - !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> - !VID: N/A
> - !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
>
> And at 8 o'clock
> + !NAME: "0/0/* - host - Inlet0", DESCR: "Temperature Sensor"
> + !VID: N/A
> + !NAME: "0/0/* - host - Inlet1", DESCR: "Temperature Sensor"
>
> This is not on related to sensors, I've also seen fan trays, interface
> cards, ... appearing and disappearing. Any ideas? Querying the actual
> (hardware) CRS works fine.

I've seen spurios "non-printables" mess up the diff on both IOS and
IOS-XR devices. Can't recall from memory if that occurred in "show
inventory" on XR.

Any way, I do have a substantial code change for xrrancid hanging
around at GitHub[0]. *One* of the differences with the stock 2.3.6
code are filtering of "non-printables". If you would like some more
info of the changes, checkout the command table at the end of
bin/xrrancid.in[1]. You are welcome to give it a try if you like. If
you have any suggestions for improvements or other changes, I'm
listening.

[0] https://github.com/hemmop/rancid/tree/xrrancid
[1] https://github.com/hemmop/rancid/blob/xrrancid/bin/xrrancid.in#L836

--
Pelle

RFC1925, truth 11:
 Every old idea will be proposed again with a different name and
 a different presentation, regardless of whether it works.
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss


lists at quux

Dec 7, 2011, 5:33 AM

Post #9 of 9 (723 views)
Permalink
Re: RANCID, CRS and SDR [In reply to]

Per Carlson <pelle [at] hemmop> writes:

Hi,

> Any way, I do have a substantial code change for xrrancid hanging
> around at GitHub[0].

> [1] https://github.com/hemmop/rancid/blob/xrrancid/bin/xrrancid.in#L836

Still the same. One hour the hardware is reported missing, an hour later
it there again. :-(

I'll keep looking.

JEns
--
-------------------------------------------------------------------------
| Foelderichstr. 40 | 13595 Berlin, Germany | +49-151-18721264 |
| http://blog.quux.de | jabber: jenslink [at] guug | ------------------- |
-------------------------------------------------------------------------
_______________________________________________
Rancid-discuss mailing list
Rancid-discuss [at] shrubbery
http://www.shrubbery.net/mailman/listinfo.cgi/rancid-discuss

RANCID users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.