Loading...
Loading...
We have a disocvery schedule which has the discovery range set to have IP address lists with attribute field populated. The discovery fails to run with the error: java.lang.IllegalStateException: Expected tag ip, got attributes! at com.snc.commons.networks.DiscoveryRanges.fromXML(DiscoveryRanges.java:130) at com.snc.commons.networks.DiscoveryRanges.fromXML(DiscoveryRanges.java:151) at com.snc.commons.networks.DiscoveryRanges.fromXML(DiscoveryRanges.java:143) at com.snc.commons.networks.DiscoveryRanges.<init>(DiscoveryRanges.java:76) at com.service_now.mid.probe.Shazzam.getIPs(Shazzam.java:466) at com.service_now.mid.probe.Shazzam.probeConcurrently(Shazzam.java:168) at com.service_now.mid.probe.Shazzam.probe(Shazzam.java:143) at com.service_now.mid.probe.AProbe.process(AProbe.java:104) at com.service_now.mid.queue_worker.AWorker.runWorker(AWorker.java:122) at com.service_now.mid.queue_worker.AWorkerThread.run(AWorkerThread.java:20) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at Steps to Reproduce 1. create a schedule schedule 2. create a discovery range set and for discovery ip range change type to IP address list, add some value in attirbutes field, submit 3. Add IP in discovery range item IP, run the discovery.
There are two possible workarounds: 1) Remove the attribute value from the address list 2) Set system property "glide.discovery.shazzam_ranges_json" to true. If the property doesnot exist in sys_properties.LIST, create it.
PRB1400636
Click on a version to see all relevant bugs
ServiceNow Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.