netmiko 0.4.3: broken linux ssh connection

Bug #1570656 reported by Vasyl Saienko on 2016-04-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Networking ML2 Generic Switch
High
Vasyl Saienko

Bug Description

The following commit broke linux ssh connection:

https://github.com/ktbyers/netmiko/commit/77bc9c9ebf7be7403b861268f10ecffc0a99140e

base_prompt is different for enable (regular user) and configure (root) modes on linux:

regular-user prompt: stack@vsaienko-multitenancy-openstack-01:~$
root user prompt: root@vsaienko-multitenancy-openstack-01:/opt/stack#
base_prompt: stack@vsaienko-multitenancy-openstack-01:~

as result the following if doesn't work for root user:

https://github.com/ktbyers/netmiko/commit/4343c98d993a94dddfcd1978f8f282a2ba6a3bfa#diff-356f254b084894f341050b6b9d88e302R361

Reviewed: https://review.openstack.org/306193
Committed: https://git.openstack.org/cgit/openstack/networking-generic-switch/commit/?id=079b98405bb98d4cebd91263e5e8037e1bab7cb6
Submitter: Jenkins
Branch: master

commit 079b98405bb98d4cebd91263e5e8037e1bab7cb6
Author: vsaienko <email address hidden>
Date: Fri Apr 15 03:37:31 2016 +0300

    Block netmiko 0.4.3

    linux ssh connector is broken in netmiko 0.4.3

    Related-Bug: #1570656

    Depends-On: I7a053b7f053725f130beff865ae6a6b781846891
    Change-Id: If8a249889afd406ab2e4457cb0d57dd21d5d8177

Vasyl Saienko (vsaienko) on 2016-06-30
Changed in networking-generic-switch:
importance: Undecided → High
assignee: nobody → Vasyl Saienko (vsaienko)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers