Notifications

10 views

Description

Azure WebSite pattern failed during Azure discovery with error
Failed Exploring CI Pattern, Pattern name: Azure WebSite

Horizontal discovery log has:

The following fields are mandatory: IP Address,Insertion failed with error Data Policy Exception: 

Steps to Reproduce

Run disovery to Azure website with some of the cloud webserver do not have ip address.

Workaround

Access "Azure Website" pattern

Modified step 12 Resolve FQDN to IPs

Value field from
EVAL(return com.snc.sw.util.DNSUtils.resolveHostName( ${cmdb_ci_cloud_webserver[].fqdn} );)

to

EVAL(javascript: var rtrn = ''try{ var value = Packages.com.snc.sw.util.DNSUtils.resolveToOneIP(${cmdb_ci_cloud_webserver[].fqdn}) }catch(e){} if (value) { rtrn = value}else { rtrn = ${cmdb_ci_cloud_webserver[].fqdn}}rtrn)



Related Problem: PRB1403371

Seen In

There is no data to report.

Intended Fix Version

Quebec

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2020-06-18 22:33:33
Published:2020-06-19