Hi,
I have recently updated from version 2.033002 to 2.034001 by advice of
Oliver because I was hunting down a bug.
I did a workaround to work with multiple SNMPv3 configurations.
It seemed all was up and running but I recently discovered that
Connected Nodes is empty on every device (cisco switches).
With version SNMP v2 and DB version 40, this was working. When I did the
upgrade I executed "~/bin/netdisco-deploy".
I am not sure if this is another SNMP v3 issue or a DB schema version issue.
I put this last reason on the table because if I rerun
"~/bin/netdisco-deploy" (as shown below), it still says my DB version is 40.
Can someone help me?
Regards, Nicolás
*INFO 1:*
I did force a macsuck on one switch A.B.160.51 (IP is masqueraded for
security reasons)
$ ~/bin/netdisco-do macsuck -D -d A.B.160.51
[18154] 2017-01-05 17:13:20 info App::Netdisco version 2.034001 loaded.
[18154] 2017-01-05 17:13:20 info macsuck: started at Thu Jan 5
14:13:20 2017
[18154] 2017-01-05 17:13:20 debug [A.B.160.51] try_connect with ver: 3,
class: SNMP::Info::Layer3::C3550, comm: XXXXX
[18154] 2017-01-05 17:13:22 debug [A.B.160.51] macsuck
00:1e:bd:7f:2b:1c - port GigabitEthernet0/1 has neighbor A.B.160.130 -
skipping.
[18154] 2017-01-05 17:13:22 debug [A.B.160.51] macsuck
04:da:d2:64:4f:01 - port GigabitEthernet0/3 has neighbor A.B.160.52 -
skipping.
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] macsuck - VLANs:
1,1002,1003,1004,1005,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,263,264,5,500,501,503,555,77,9
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] macsuck VLAN 1002 -
skipped by macsuck_no_vlan config
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] macsuck VLAN 1003 -
skipped by macsuck_no_vlan config
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] macsuck VLAN 1004 -
skipped by macsuck_no_vlan config
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] macsuck VLAN 1005 -
skipped by macsuck_no_vlan config
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-1"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-160"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-161"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-162"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-163"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-164"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-165"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-166"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-167"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-168"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-169"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-170"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-171"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:24 debug [A.B.160.51] reindexing to "vlan-172"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-173"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-174"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-175"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-263"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-264"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-5"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-500"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-501"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-503"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-555"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-77"
(ver: 3, class: SNMP::Info::Layer3::C3550)
[18154] 2017-01-05 17:13:25 debug [A.B.160.51] reindexing to "vlan-9"
(ver: 3, class: SNMP::Info::Layer3::C3550)
*[18154] 2017-01-05 17:13:25 debug [A.B.160.51] macsuck - 0 updated
forwarding table entries**
**[18154] 2017-01-05 17:13:25 debug [A.B.160.51] macsuck - removed 0
fwd table entries to archive**
*[18154] 2017-01-05 17:13:25 info macsuck: finished at Thu Jan 5
14:13:25 2017
[18154] 2017-01-05 17:13:25 info macsuck: status done: Ended macsuck
for A.B.160.51
*INFO 2:*
[netdisco@server ~]$ ~/bin/netdisco-deploy
[18282] 2017-01-05 17:27:05 info App::Netdisco 2.034001 loaded.
This is the Netdisco II deployment script.
Before we continue, the following prerequisites must be in place:
* Database added to PostgreSQL for Netdisco
* User added to PostgreSQL with rights to the Netdisco Database
* "~/environments/deployment.yml" file configured with Database
dsn/user/pass
* A full backup of any existing Netdisco database data
* Internet access (for OUIs and MIBs)
You will be asked to confirm all changes to your system.
So, is all the above in place? [y/N]: y
Would you like to deploy the database schema? [y/N]: y
DBIx::Class::Schema::Versioned::_on_connect(): Versions out of sync.
This is 41, your database contains version 40, please call upgrade on
your Schema. at /home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 85
DBIx::Class::Schema::Versioned::upgrade_single_step(): DB version (40)
is lower than the schema version (41). Attempting upgrade.
DB schema update complete.
DBIx::Class::Schema::Versioned::_on_connect(): Versions out of sync.
This is 41, your database contains version 40, please call upgrade on
your Schema. at /home/netdisco/perl5/lib/perl5/DBICx/Sugar.pm line 85
Download and update vendor MAC prefixes (OUI data)? [y/N]: n
Download and update MIB files? [y/N]: n