Provisiond Deleting IpAddr On Nodes After Rescan

Description

Provisiond Deleting IpAddr On Nodes After Rescan.

This affects datacollection and collectd as well.

Pastebins:

http://paste.lisp.org/display/112399

http://paste.lisp.org/display/112399#1

Environment

Operating System: Linux Platform: PC

Acceptance / Success Criteria

None

Attachments

1

Lucidchart Diagrams

Activity

Show:

Benjamin Reed May 23, 2011 at 11:20 AM

An snmpwalk would always help; if we can reproduce the behavior in unit tests, then we can fix it. =)

Anyways, thanks for the update, I'll close this one.

Eric W Abrahamsen May 23, 2011 at 11:18 AM

I should have updated this, forgot I added it here. I did some undoing of the configurations and found that if I had filtering enabled when using the SNMP interface poller this behavior happens, remove the SNMP interface configurations back to default and magic provisiond no longer deleted the interfaces. I opened a new bug on this. A work around I found was to restore SNMP interface poller configs to default sync provision group, once all was complete, re-apply the SNMP interface poller configurations. Would doing the snmpwalk assist to what is going on with this scenario as well? If so, I can add it to the . This ticket can probably be closed again.

Benjamin Reed May 23, 2011 at 11:10 AM

Can you get me an snmpwalk from the devices so we can reproduce it? There's a script in opennms-contrib to git one formatted in such a way that it will work with our SNMP agent emulator:

http://opennms.git.sourceforge.net/git/gitweb.cgi?p=opennms/opennms;a=tree;f=opennms-base-assembly/src/main/resources/contrib;h=36ada22804be49e8715d40f2ebb8c41eeee806b8;hb=HEAD

Eric W Abrahamsen May 5, 2011 at 11:54 AM

I think this issue maybe mostly resolved but not completely. I have Cisco Nexus gear and when I sync provisioning groups IP Addresses on Layer 3 interfaces are removed from the database. I can do a manual Rescan and they may come back for sometimes will not. I even have two Nexus 7010's where one has the IP Addresses and the other does not have IP Addresses for the interfaces. This behavior is only seen on the Cisco Nexus equipment running NX-OS, not on any IOS Cisco devices. Since the IP Addresses are removed it effects being able to SNMP monitor the interfaces for data collection. I ran debugs against the provisiond.log and it looks like everything is working fine it even sets the IP Address as a secondary interface and sets to manage yet there the IP Address is removed in the database. Let me know what I can provide to assist with this issue.

Thanks,
-Eric

Benjamin Reed March 9, 2011 at 4:56 PM

Alright, I've gone ahead and committed that fix.

[1.8 5e77177] - check for nulls in provisiond
[master 69f4d26] - check for nulls in provisiond

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created July 12, 2010 at 5:17 PM
Updated January 27, 2017 at 4:25 PM
Resolved May 23, 2011 at 11:20 AM