[rancid] hp procurve problem - hlogin works - rancid-run fails

Klavs Klavsen kl at vsen.dk
Tue Jun 4 17:21:55 UTC 2013


heasley said the following on 06/04/2013 05:20 PM:
> Tue, Jun 04, 2013 at 04:57:33PM +0200, Klavs Klavsen:
>> I am trying to backup a hp procurve 2520.
>>
>> using rancid 2.3.6 (I tried updating hlogin to v2.3.8).
> are you using linux?  if so, would you try the hpuifilter from 3.0a2?

Yes - I'll gladly test that.

>> When running:
>> /usr/libexec/rancid/hlogin -c "show version;show flash;show
>> system-information;show system information;show module;show stack;write
>> term" 10.10.15.96
>>
>> it seems to work fine. It logs in, runs the commands, and after a few
>> seconds (and a lot of output :) - it writes exit etc. and gets out just
>> fine.
>>
>> When I then run rancid-run - I see it has spawned that exact command,
>> but there it appearently fails - because the log says:
>> Trying to get all of the configs.
>> 10.10.15.96: End of run not found
>> ;
>> =====================================
>> Getting missed routers: round 1.
>> 10.10.15.96: End of run not found
>> ;
>> =====================================
>> Getting missed routers: round 2.
>> 10.10.15.96: End of run not found
>> ;
>> =====================================
>> Getting missed routers: round 3.
>> 10.10.15.96: End of run not found
>> ;
>> =====================================
>> Getting missed routers: round 4.
>> 10.10.15.96: End of run not found
>>
>> Any ideas as to what I could do, to try to debug it?
> This is rare, a failure w/o some indication of why, but is difficult to
> debug.  start by trying the debugging with the PATH from rancid.conf.
Typical - rare failures.. gr8 :)

What do you mean? I don't believe there's any PATH set in rancid.conf.

I am home from work now - and it's national holiday tomorrow - but 
thursday, I'll try hpuifilter 3.0.2a and I figured I'd try to insert 
some debugging output in rancid-run - around where it calls hlogin (or 
is it rancid-control that calls hlogin.. I don't remember right now..)

p.s. router db contains: 10.10.15.96:hp:up

-- 
Regards,
Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk - Tlf. 61281200

"Those who do not understand Unix are condemned to reinvent it, poorly."
   --Henry Spencer



More information about the Rancid-discuss mailing list