392 views

Description

An IP Network with a subnet mask of /32, although valid, is problematic with Discovery.

In Istanbul, no discovery_status record is created and the following stack trace appears in the system log:

java.lang.IllegalArgumentException: Interval: 2680881067 should not exceed 2680881065.
Caused by error in sys_script_include.d22e7bdbc0a8016500a18e024bfc9aa3.script at line 4
com.snc.commons.intervals.Interval.<init>(Interval.java:32)
com.snc.commons.intervals.IPCollectionConverter.convertIPNetworkV4(IPCollectionConverter.java:36)
com.snc.commons.intervals.IPCollectionConverter.convertIPCollection(IPCollectionConverter.java:102)
com.snc.commons.networks.IPMetaCollection.getOptimalCollection(IPMetaCollection.java:128)
com.snc.discovery.DiscoveryRangesDB.getRange(DiscoveryRangesDB.java:205)
com.snc.discovery.DiscoveryRangesDB.getAllRangeItems(DiscoveryRangesDB.java:173)
com.snc.discovery.DiscoveryRangesDB.getRanges(DiscoveryRangesDB.java:129)
com.snc.discovery.DiscoveryRangesDB.getByScheduleID(DiscoveryRangesDB.java:67)
com.snc.discovery.js.DiscoveryRangesDB.jsStaticFunction_getByScheduleID(DiscoveryRangesDB.java:102)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
org.mozilla.javascript.FunctionObject.doInvoke(FunctionObject.java:637)
org.mozilla.javascript.FunctionObject.call(FunctionObject.java:514)
org.mozilla.javascript.ScriptRuntime.doCall(ScriptRuntime.java:2571)
org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
org.mozilla.javascript.gen.sys_script_include_092329440ab30150009e4c93176ef3d0_script_1005._c_anonymous_1(sys_script_include.092329440ab30150009e4c93176ef3d0.script:63)
org.mozilla.javascript.gen.sys_script_include_092329440ab30150009e4c93176ef3d0_script_1005.call(sys_script_include.092329440ab30150009e4c93176ef3d0.script)


In Jakarta, the discovery_status record is created, but gets canceled with the following error in the Discovery Log:

Can't find method com.glide.util.XMLUtil.toString(undefined). (sys_script_include.37d16e0b0a0a0b8200ebb61333ec7d71.script; line 494)

Switching to use an IP Address List (of one IP) or an IP Address Range (where the start and end is the same IP) works fine.

Steps to Reproduce

 

  1. Create a Discovery Schedule
  2. Add an IP Network with an IP 159.202.255.170/32
  3. Click Discover Now UI Action

Workaround

  • Switching to use an IP Address List (of one IP) or an IP Address Range (where the start and end is the same IP) works fine. Define the IP range, like starting IP and Ending IP.
  • Don't use a subnet mask which will prevent the discovery schedule from starting.

Related Problem: PRB951240

Seen In

There is no data to report.

Fixed In

Istanbul Patch 8
Jakarta Patch 2
Kingston

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-04-13 11:46:04
Published:2017-06-16