Package: rancid
Version: 3.8-1~bpo9+1
Severity: important
Dear Maintainer,
I get an error on saving the configuration of a PowerConnect M8024-k switch
with rancid since the upgrade from 3.7-2~bpo9+1 to 3.8-1~bpo9+1. I read the
changelogs and news and did not find any relevant information to fix my
problem.
* What led up to the situation?
I did an upgrade:
> 2018-08-22 08:36:54 upgrade rancid:amd64 3.7-2~bpo9+1 3.8-1~bpo9+1
and get the configuration save from my powerconnect switch not working with
this error:
> swe2-stack2.mgmt.ensimag.fr: missed cmd(s): show version, dir, show vlan
> swe2-stack2.mgmt.ensimag.fr: End of run not found
and the report email says:
> The following routers have not been successfully contacted for
> more than 24 hours.
> -rw-r----- 1 rancid rancid 31076 août 22 07:55 swe2-stack2.mgmt.ensimag.fr
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
- login with clogin and manually run the commands (show version, dir, show
vlan) works
- test with srancid doesn't work:
> executing hlogin -t 90 -c"terminal datadump;show system;show version;dir;show
> vlan;show running-config" swe2-stack2.mgmt.ensimag.fr
> PROMPT MATCH: swe2-stack2#
> HIT COMMAND:swe2-stack2#terminal datadump
> In RunCommand: swe2-stack2#terminal datadump
> HIT COMMAND:swe2-stack2#show system
> In ShowSys: swe2-stack2#show system
> swe2-stack2.mgmt.ensimag.fr: missed cmd(s): show version, dir, show vlan
> swe2-stack2.mgmt.ensimag.fr: End of run not found
> swe2-stack2.mgmt.ensimag.fr: found_end is false
> ! !
- the command 'terminal datadump' doesn't work when logged on the switch
('terminal length 0' works) but every other commands works
* What outcome did you expect instead?
As usual, I expect to get a backup of my switch config.
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages rancid depends on:
ii adduser 3.115
ii debconf [debconf-2.0] 1.5.61
ii expect 5.45-7+deb9u1
ii git 1:2.11.0-3+deb9u3
ii iputils-ping [ping] 3:20161105-1
ii libc6 2.24-11+deb9u3
ii libperl4-corelibs-perl 0.003-2
ii openssh-client 1:7.4p1-10+deb9u4
ii passwd 1:4.4-4.1
ii perl 5.24.1-3+deb9u4
rancid recommends no packages.
Versions of packages rancid suggests:
pn diffstat <none>
-- Configuration Files:
/etc/cron.d/rancid changed:
55 7-18 * * 1-5 rancid /usr/bin/rancid-run
50 21 * * * rancid find /var/log/rancid -type f -mtime +2 -exec rm {} \;
/etc/rancid/rancid.conf changed:
TERM=network;export TERM
LC_COLLATE="POSIX"; export LC_COLLATE
uid=`perl -e 'print "$>"'`
test "$uid" -eq 0 && echo "Do not run $0 as root!" && exit 1
umask 027
PERL5LIB="/usr/share/perl5/rancid"; export PERL5LIB
TMPDIR=/tmp; export TMPDIR
BASEDIR=/var/lib/rancid; export BASEDIR
PATH=/usr/lib/rancid/bin:/usr/bin:/usr/sbin:/bin:/usr/local/bin; export PATH
SENDMAIL="/usr/sbin/sendmail"
CVSROOT=$BASEDIR/depot; export CVSROOT
LOGDIR=$BASEDIR/logs; export LOGDIR
RCSSYS=git; export RCSSYS
LIST_OF_GROUPS="switches"; export LIST_OF_GROUPS
MAILDOMAIN="@ensimag.fr"; export MAILDOMAIN
-- debconf information:
* rancid/go_on: true
* rancid/warning:
Thanks,
--
Thomas vO