Node it is not added in DB at synchronization if added by import or by provision.pl

Description

Has created and has added node in Provisioning Group with the help provision.pl as it is described in provisioning guide:

  1. /usr/share/opennms/bin/provision.pl --password 123SD requisition add customer1

  2. /usr/share/opennms/bin/provision.pl --password 123SD node add customer1 1 node-a

  3. /usr/share/opennms/bin/provision.pl --password 123SD interface add customer1 1 127.0.0.1

  4. /usr/share/opennms/bin/provision.pl --password 123SD service add customer1 1 127.0.0.1 ICMP

  1. /usr/share/opennms/bin/provision.pl --password 123SD requisition import customer1
    But node it is not added in DB at synchronization - "1 nodes defined, 0 nodes in database" .
    It's not work if press synhronize button or if import test xml taked from http://opennms.git.sourceforge.net/git/gitweb.cgi?p=opennms/opennms;a=history;f=opennms-webapp/src/test/resources/tec_dump.xml;h=d1df5f08b056c8b64990e7d1d0e30c386e81d77e;hb=HEAD

Environment

# rpm -qa | grep opennms opennms-common-1.8.10-alt1.M51.1 libopennms-1.8.10-alt1.M51.1 opennms-core-1.8.10-alt1.M51.1 opennms-webapp-jetty-1.8.10-alt1.M51.1 opennms-1.8.10-alt1.M51.1 opennms-plugin-provisioning-map-1.8.10-alt1.M51.1 opennms-plugin-provisioning-snmp-asset-1.8.10-alt1.M51.1 opennms-plugin-provisioning-link-1.8.10-alt1.M51.1 opennms-contrib-1.8.10-alt1.M51.1

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Slava Dubrovskiy May 13, 2011 at 5:41 AM

Need use more options - set snmp-primary and other.

Slava Dubrovskiy May 13, 2011 at 5:40 AM

Yes! It's working. But name of file and foreign-source must be the same. And need set snmp-primary and other properties.

Benjamin Reed May 12, 2011 at 8:03 AM

I have most definitely provisioned in 1.8.10 and had it work fine. 2 things jump out at me:

1. You're using a custom build of opennms, going by the names of your packages?

No idea what you've changed, but is any of it related to provisioning or the REST interfaces?

2. Have you tried upgrading to the latest version?

I just tried provisioning some nodes on demo.opennms.org (which is on 1.8.12) and it works, so there's something more to this.

Turn your provisioning logs up to debug, and look for errors. This isn't enough data to debug your issue, but it's definitely confirmed working elsewhere.

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

PagerDuty

Created May 12, 2011 at 7:56 AM
Updated May 13, 2011 at 5:41 AM
Resolved May 13, 2011 at 5:41 AM