Re: [rancid] clogin adding 'exit' command?

2018-08-28 Thread Howard Jones
My 3.6 installation has a bunch of local tweaks (to control_rancid),
so I can't upgrade without a bit of planning.
However, I just installed 3.8 alongside 3.6 (different user, different
dir) and with no changes, I get:

lb02.dc1: missed cmd(s): modify cli preference pager disabled
display-threshold 0

but the quit detection part seems to work OK.

However, changing the TERM to screen-w in bigip.pm *doesn't* resolve
that missed cmd.
So the plot thickens.

I'll investigate a bit more tomorrow.

On 28 August 2018 at 18:37, heasley  wrote:
> Tue, Aug 28, 2018 at 04:58:54PM +0100, Howard Jones:
>> On 28 August 2018 at 14:48, heasley  wrote:
>> >
>> > ah, its been changed in the big-ip <= v10.x script, not the >=11.x script.
>> > Would you test changing this to vt100-w?
>>
>> No, vt100-w doesn't work with bigip13:
>>
>> Warning, can't fully initialize terminal, TERM is set to
>> "vt100-w", status (0)
>> No entry for terminal type "vt100-w";
>
> grumble.  One last bit; could you test clogin from ranicd 3.8 without altering
> TERM?

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Backup Extreme switches

2018-08-28 Thread Nick Hilliard

heasley wrote on 28/08/2018 19:54:

it shouldnt.  please should me xlogin -d -c 'somecommand' output.


fake news.  This was a bug affecting older versions, but it seems to be 
fixed now.


Mikko, make sure you can log in to the switches using ssh from the 
rancid account, because the versions of XOS that are supported on these 
devices only allows deprecated crypto parameters.  You may need this in 
your ~rancid/.ssh/config file:


--
Host *
KexAlgorithms +diffie-hellman-group1-sha1
HostkeyAlgorithms +ssh-dss
--

Nick

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Backup Extreme switches

2018-08-28 Thread Nick Hilliard

Peltokangas Mikko wrote on 28/08/2018 15:55:
Hey, I have Extreme switches from x200 and x460-series. Cant get any 
backup from those.

Is there anyone who fights with same problem?


make sure the configuration has been saved on the switches first.  If 
the config hasn't been saved, the collection process will hang.


Nick

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] clogin adding 'exit' command?

2018-08-28 Thread heasley
Tue, Aug 28, 2018 at 04:58:54PM +0100, Howard Jones:
> On 28 August 2018 at 14:48, heasley  wrote:
> >
> > ah, its been changed in the big-ip <= v10.x script, not the >=11.x script.
> > Would you test changing this to vt100-w?
> 
> No, vt100-w doesn't work with bigip13:
> 
> Warning, can't fully initialize terminal, TERM is set to
> "vt100-w", status (0)
> No entry for terminal type "vt100-w";

grumble.  One last bit; could you test clogin from ranicd 3.8 without altering
TERM?

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


[rancid] Backup Extreme switches

2018-08-28 Thread Peltokangas Mikko
Hey, I have Extreme switches from x200 and x460-series. Cant get any backup 
from those.
Is there anyone who fights with same problem?

Rancid version is 3.7


-mikko

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] clogin adding 'exit' command?

2018-08-28 Thread heasley
Tue, Aug 28, 2018 at 11:21:04AM +0100, Howard Jones:
> On 26 August 2018 at 20:47, heasley  wrote:
> > Sun, Aug 26, 2018 at 09:36:54AM +0100, Howard Jones:
> >> On Sat, 25 Aug 2018 at 23:43, heasley  wrote:
> >>
> >> > what version are you running?  the TERM was changed to vt100-w in rancid
> >> > 3.3.
> >>
> >>
> >> Huh, that’s odd. I’m running 3.6.
> >
> > Not sure what to tell you; might be a bug between the keyboard and chair.
> > Can you try a fresh 3.8?
> 
> But which keyboard and chair? ;-)

right!

> I just downloaded a fresh 3.8 and this is what bigip.pm says:
> 
> # load-time initialization
> sub import {
> # force a terminal type so as not to confuse the POS
> $ENV{'TERM'} = "vt100";
> 
> 0;
> }
> 
> f5rancid has vt100-w, but as far as I can see, neither the bigip or
> bigip13 device type actually uses that anymore. (script is set to
> "rancid -t bigip"). It looks like it's used the module since 3.5 - I
> guess that change didn't make the transition?

ah, its been changed in the big-ip <= v10.x script, not the >=11.x script.
Would you test changing this to vt100-w?

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] clogin adding 'exit' command?

2018-08-28 Thread Howard Jones
On 26 August 2018 at 20:47, heasley  wrote:
> Sun, Aug 26, 2018 at 09:36:54AM +0100, Howard Jones:
>> On Sat, 25 Aug 2018 at 23:43, heasley  wrote:
>>
>> > what version are you running?  the TERM was changed to vt100-w in rancid
>> > 3.3.
>>
>>
>> Huh, that’s odd. I’m running 3.6.
>
> Not sure what to tell you; might be a bug between the keyboard and chair.
> Can you try a fresh 3.8?

But which keyboard and chair? ;-)

I just downloaded a fresh 3.8 and this is what bigip.pm says:

# load-time initialization
sub import {
# force a terminal type so as not to confuse the POS
$ENV{'TERM'} = "vt100";

0;
}

f5rancid has vt100-w, but as far as I can see, neither the bigip or
bigip13 device type actually uses that anymore. (script is set to
"rancid -t bigip"). It looks like it's used the module since 3.5 - I
guess that change didn't make the transition?

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss