fail to backup HP switches

Bug #1625512 reported by zako
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rancid (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

$ LANG=C lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

$ LANG=C apt-cache policy rancid
rancid:
  Installed: 3.3.0-1
  Candidate: 3.3.0-1
  Version table:
 *** 3.3.0-1 500
        500 http://es.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

The backup of switches HP are based on the hlogin and hrancid scripts. The hlogin expect plugin fails to launch commands in the HP switch. It only sends the "no page" command (line 552 of hlogin script), it waits in the expect sentence until the timeout is reached.

This has been already solved in the upstream 3.5.1 version. According to the Changelog of the project several bug/improvements have been applied to hlogin script since the 3.3.0 version:

3.5.0: hlogin: when refactoring prompt, eat full lines before looking for the
 prompt
3.5.1: hlogin: missed an ssh -c option among the clean-up - Mark Felder

I can confirm that by replacing the hlogin script provided by the package with the hlogin of version 3.5.1, the backup of HP switches works again.

Regards,

Christian

Tags: patch
Revision history for this message
zako (chr-pinedo) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "diff between the hlogin provided by the package and the hlogin provided by rancid 3.5.1" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Roland Rosenfeld (roland) wrote :

From my point of view this bug report can be closed.
The mentioned problem should be fixed in version 3.4.1-5:

rancid (3.4.1-5) unstable; urgency=medium

  * Remove 08_hlogin_paging, since this seems to be broken and upstream
    implemented some major updates in 3.3.0 on hlogin (Closes: #824153).

 -- Roland Rosenfeld <email address hidden> Fri, 13 May 2016 07:50:13 +0200

The above mentioned change to 3.5.1 was incorporated 1.5 years ago:

rancid (3.5.1-1) unstable; urgency=medium

  * New upstream version 3.5.1.

 -- Roland Rosenfeld <email address hidden> Fri, 09 Sep 2016 10:38:38 +0200

So I set this to "Fix released".

Changed in rancid (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.