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 #1687] (Resolved) Trace at import with useless
port-channel configuration ([email protected])
2. [SCM] UNNAMED PROJECT branch netdot-1.0 updated.
netdot-1.0.1-30-ge791997 ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Sat, 8 Sep 2012 11:05:17 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1687] (Resolved) Trace at
import with useless port-channel configuration
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1687 has been updated by Carlos Vicente.
Category set to DeviceManagement
Status changed from New to Resolved
Assignee set to Carlos Vicente
Target version set to 1.0.2
Resolution set to fixed
Thank you.
----------------------------------------
Bug #1687: Trace at import with useless port-channel configuration
https://osl.uoregon.edu/redmine/issues/1687#change-2960
Author: Erik Wenzel
Status: Resolved
Priority: Normal
Assignee: Carlos Vicente
Category: DeviceManagement
Target version: 1.0.2
Resolution: fixed
Import script needs to catch a traceback when router configuration has a
port-channel interface configuration with no members.
---snip---
$ /usr/local/Netdot/bin/updatedevices.pl -H <ip-address> -I -c <community>
INFO - /usr/local/Netdot/bin/updatedevices.pl started at Fri Sep 7 12:54:16
2012
INFO - Updating single device: <ip-address>
INFO - Inserted new RR: <host.fqdn>
INFO - Inserting new Device: <ip-address>
INFO - <host.fqdn>: SNMP target address set to <ip-adress>
[?]
INFO - <host.fqdn>: Interface 1281 (VLAN-XX) updated
Use of uninitialized value in sprintf at
/usr/local/Netdot/lib/Netdot/Model/Interface.pm line 459.
[?]
INFO - <host.fqdn>: Interface 1313 (Po<YY>) updated
Message from syslogd@nmstest at Sep 7 12:49:40 ...
netdot: FATAL - Missing required parameter: VLAN ID
ERROR: Missing required parameter: VLAN ID
Trace begun at /usr/local/Netdot/lib/Netdot.pm line 83
Netdot::throw_fatal('Vlan', 'Missing required parameter: VLAN ID') called at
/usr/local/Netdot/lib/Netdot/Model/Vlan.pm line 130
Netdot::Model::Vlan::_validate_vid('Vlan', 0) called at
/usr/local/Netdot/lib/Netdot/Model/Vlan.pm line 62
Netdot::Model::Vlan::search('Vlan', 'vid', 0) called at
/usr/local/Netdot/lib/Netdot/Model/Interface.pm line 488
Netdot::Model::Interface::snmp_update('Interface', 'monitored', 0,
'doc_status', 'snmp', 'number', 1313, 'name', 'Po<YY>', 'overwrite_descr', 1,
'auto_dns', 1, 'device', 'Device=HASH(0xa9b2f20)', 'snmp_info',
'HASH(0xab98728)', 'add_subnets', 1, 'subs_inherit', 1, 'stp_instances',
'HASH(0xaaf5428)') called at /usr/local/Netdot/lib/Netdot/Model/Device.pm line
5648
Netdot::Model::Device::_update_interfaces('Device=HASH(0xa9b2f20)', 'info',
'HASH(0xa430c28)', 'add_subnets', undef, 'subs_inherit', undef,
'overwrite_descr', 1) called at /usr/local/Netdot/lib/Netdot/Model/Device.pm
line 2847
Netdot::Model::Device::info_update('Device=HASH(0xa9b2f20)', 'add_subnets',
undef, 'subs_inherit', undef, 'bgp_peers', undef, 'pretend', undef, 'session',
'SNMP::Info::Layer3::C6500=HASH(0xa75ad78)', 'info', 'HASH(0xa430c28)',
'device_is_new', 1) called at /usr/local/Netdot/lib/Netdot/Model/Device.pm line
2645
Netdot::Model::Device::snmp_update('Device=HASH(0xa9b2f20)', 'info',
'HASH(0xa430c28)', 'communities', 'ARRAY(0xa4d1ea0)', 'retries', 1, 'do_info',
1, 'device_is_new', 1, 'session', 'SNMP::Info::Layer3::C6500=HASH(0xa75ad78)',
'timeout', 1000000) called at /usr/local/Netdot/lib/Netdot/Model/Device.pm line
1508
Netdot::Model::Device::discover('Device', 'retries', 1, 'subs_inherit', undef,
'auth_pass', undef, 'pretend', undef, 'matching', undef, 'do_fwt', undef,
'add_subnets', undef, 'sec_level', undef, 'timeout', 1000000, 'priv_pass',
undef, 'version', undef, 'sec_name', undef, 'atomic', undef, 'name',
<ip-address>, 'do_arp', undef, 'bgp_peers', undef, 'priv_proto', undef,
'communities', 'ARRAY(0xa4d1ea0)', 'do_info', 1, 'auth_proto', undef) called at
/usr/local/Netdot/bin/updatedevices.pl line 188
eval {...} at /usr/local/Netdot/bin/updatedevices.pl line 187
---snip---
Po<YY> has the following incomplete configuration:
---snip---
Current configuration : 54 bytes
!
interface Port-channel<YY>
switchport
shutdown
end
---snip---
After removing the useless port-channel interface with no member the import
worked well. I tested this with netdot-1.0.1.
--
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
------------------------------
Message: 2
Date: Sat, 8 Sep 2012 11:56:46 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] UNNAMED PROJECT branch netdot-1.0
updated. netdot-1.0.1-30-ge791997
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, netdot-1.0 has been updated
via e79199784abc9146e992b0dc2ad9bf243b3cf2c1 (commit)
from b0c0dff168accd4fc5d9515ba950ce2d95f3c117 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e79199784abc9146e992b0dc2ad9bf243b3cf2c1
Author: Carlos Vicente <[email protected]>
Date: Sat Sep 8 14:56:18 2012 -0400
Added patched Net::Patricia to package
diff --git a/thirdparty/Net-Patricia-1.19_01.tar.gz
b/thirdparty/Net-Patricia-1.19_01.tar.gz
new file mode 100644
index 0000000..b5e8272
Binary files /dev/null and b/thirdparty/Net-Patricia-1.19_01.tar.gz differ
-----------------------------------------------------------------------
Summary of changes:
thirdparty/Net-Patricia-1.19_01.tar.gz | Bin 0 -> 27098 bytes
1 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 thirdparty/Net-Patricia-1.19_01.tar.gz
hooks/post-receive
--
UNNAMED PROJECT
------------------------------
_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel
End of Netdot-devel Digest, Vol 66, Issue 5
*******************************************