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

Provisioning problem due to ipv6 address formatting

    Details

      Description

      This stack trace is probably from a place where we need to normalize our
      storage of IPv6 addresses in a particular format; I think in this case,
      my address has the following value in the database:

      fe80::20c:29ff:fe33:66e1%2

      which doesn't match fe80:0:0:0:20c:29ff:fe33:66e1 because of formatting
      differences.

      2010-11-09 15:50:10,861 DEBUG [scanExecutor-4] SyncTask$1: Exception
      occurred executing task org.opennms.core.tasks.TaskBuilder$1@9c7d64
      java.lang.IllegalArgumentException: could not find interface with nodeid 94 and ipAddr fe80:0:0:0:20c:29ff:fe33:66e1
      at org.opennms.netmgt.provision.service.DefaultProvisionService.assertNotNull(DefaultProvisionService.java:231)
      at org.opennms.netmgt.provision.service.DefaultProvisionService.addMonitoredService(DefaultProvisionService.java:327)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      at $Proxy70.addMonitoredService(Unknown Source)
      at org.opennms.netmgt.provision.service.IpInterfaceScan$1$2.run(IpInterfaceScan.java:149)

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              brozow Matt Brozowski
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: