Send Netdot-devel mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."
Today's Topics:
1. [Netdot - Bug #1748] (New) ERROR: _get_arp_from_cli: prompt
does not match ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Mon, 8 Apr 2013 05:44:52 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1748] (New) ERROR:
_get_arp_from_cli: prompt does not match
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1748 has been reported by Vadym Kalsin.
----------------------------------------
Bug #1748: ERROR: _get_arp_from_cli: prompt does not match
https://osl.uoregon.edu/redmine/issues/1748
Author: Vadym Kalsin
Status: New
Priority: Normal
Assignee:
Category: DeviceManagement
Target version: 1.0.4
Resolution:
I've got eroor in netdot log when I'm trying to retrieve ARP information from
Cisco Firewall:
<pre>
[2013/04/08 12:00:17] ERROR Netdot - Device::CLI::_get_arp_from_cli:
cisco.domain.com: login failed to remote host - prompt does not match at
/usr/share/perl5/vendor_perl/Net/Appliance/Session/Transport
.pm line 77.
[2013/04/08 12:00:17] ERROR Netdot - Device::CLI::_get_arp_from_cli:
cisco.domain.com: login failed to remote host - prompt does not match at
/usr/share/perl5/vendor_perl/Net/Appliance/Session/Transport
.pm line 77.
[2013/04/08 12:00:17] ERROR Netdot.Model.Device -
Device::CLI::_get_arp_from_cli: cisco.domain.com: login failed to remote host -
prompt does not match at /usr/share/perl5/vendor_perl/Net/Appliance/Sess
ion/Transport.pm line 77.
</pre>
When I enable some debug ($s->set_global_log_at('debug');) I also see:
<pre>
[0.002292] p finding prompt
[0.009940] t creating Net::Telnet wrapper for ssh
[0.010189] t command expands to: ssh -o StrictHostKeyChecking=no -o
UserKnownHostsFile=/dev/null -o CheckHostIP=no -o ConnectTimeout=30 -o
CheckHostIP=no -l user cisco.domain.com
[1.566720] d SEEN:
[email protected]'s password:
[1.592364] p reading phrasebook
/usr/share/perl5/vendor_perl/Net/CLI/Interact/phrasebook/cisco/pb
[1.593380] p storing prompt prompt
[1.595361] p storing prompt basic
[1.595965] p storing prompt privileged
[1.596601] p storing prompt configure
[1.597231] p storing prompt user
[1.597819] p storing prompt pass
[1.598471] p storing macro begin_privileged
[1.599503] p storing macro end_privileged
[1.600368] p storing macro begin_configure
[1.601208] p storing macro end_configure
[1.602051] p storing macro disconnect
[1.602831] p reading phrasebook
/usr/share/perl5/vendor_perl/Net/CLI/Interact/phrasebook/cisco/pixos/pb
[1.603223] p storing prompt err_string
[1.603837] p storing macro paging
[1.604672] p nope, doesn't (yet) match basic
[1.604874] p hit, matches prompt pass
[1.606215] p prompt has been set to (?-xism:[Pp]assword: ?$)
[1.607476] p finding prompt
[1.609862] d SEEN:
[1.610006] p nope, doesn't (yet) match basic
[1.610198] p nope, doesn't (yet) match pass
[1.610386] p nope, doesn't (yet) match user
[1.610580] p nope, doesn't (yet) match configure
[1.610777] p nope, doesn't (yet) match privileged
[1.610966] p nope, doesn't (yet) match err_string
[1.611187] p nope, doesn't (yet) match prompt
[1.611350] p no match so far, more data?
[1.708873] d SEEN:
Type help or '?' for a list of available commands.
[1.709038] p nope, doesn't (yet) match basic
[1.709231] p nope, doesn't (yet) match pass
[1.709411] p nope, doesn't (yet) match user
[1.709592] p nope, doesn't (yet) match configure
[1.709788] p nope, doesn't (yet) match privileged
[1.709980] p hit, matches prompt err_string
[1.710491] p prompt has been set to (?-xism:(?:Type
help|(?:Error|ERROR|Usage|usage):|not allowed))
ERROR - Device::CLI::_get_arp_from_cli: cisco.domain.com: login failed to
remote host - prompt does not match at
/usr/share/perl5/vendor_perl/Net/Appliance/Session/Transport.pm line 77.
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://osl.uoregon.edu/redmine/my/account
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 73, Issue 3
*******************************************