Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6271

Provisioner creates transient OnmsSnmpInterface on interfaces with null ifIndex

    XMLWordPrintable

    Details

      Description

      We ran into a problem onsite at a customer where the provisioner was throwing a Hibernate exception when trying to update an OnmsIpInterface during scans of a particular Solaris 5.8 node. It turns out that the OnmsIpInterface had a null ifIndex but the table tracker code was adding an OnmsSnmpInterface to it anyway. During a later query, this transient object could not be looked up in the database (because of the null ifIndex) so it remained transient and when the OnmsIpInterface was saved, an exception was thrown because of the linked transient object.

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              tarus Tarus Balog
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: