Error message on New Azure Discovery Schedule

jkessler1
Tera Contributor

We’ve just started trying to use Azure discovery. We have our credentials entered, and it is able to discover our subscription. The cloud service account is also set up and able to discover our datacenters. However when we run the discovery schedule we’ve get an error message in the Horizontal Discovery Log.

We also got a similar message when creating the discovery schedule, but it didn’t prevent us from moving ahead and starting discovery.

 

The discovery log contains this message:

Failed Exploring CI Pattern, Pattern name: Azure Service account, To Check Pattern Log Press Here

 

The pattern log shows:

2021-02-09 11:58:56: Identification Engine: Discovery status is FAILURE, Required attribute datacenter_type is missing for CI Type cmdb_ci_cloud_service_account

Has anyone gotten anything similar? Any suggested workarounds? 

1 ACCEPTED SOLUTION

chuckm
Giga Guru

jkessler,

This is a known issue. The error can be fixed by making the 3 updates outlined below:

1) Upgrade the Discovery and Service Mapping Patterns to the latest version (currently at 1.0.74).

find_real_file.png

2) Upgrade the CMDB CI Class Models to the latest version (currently at 1.23.0).

find_real_file.png

3) On the Cloud Service Account update the Datacenter URL to (https://portal.azure.us).

find_real_file.png

View solution in original post

2 REPLIES 2

ayman_h
Kilo Sage
Kilo Sage

Hi,

Not sure why you would get that error, but can you try setting the Datacentre manually using the steps below

 

  1. Navigate to https://[your instance].service-now.com/cmdb_ci_cloud_service_account_list.do
  2. Click on your Cloud Service account record
  3. Using the Datacenter Type dropdown, select 'Azure Datacenter [cmdb_ci_azure_datacenter]'
  4. Save the record
  5. Click on the 'Discover Datacenter' link below to see if it discovers the logical datacenters
  6. Re-run the failed Discovery schedule or create a new one from the link (UI Action) on the Cloud Service Account record

Thanks,

Ayman

chuckm
Giga Guru

jkessler,

This is a known issue. The error can be fixed by making the 3 updates outlined below:

1) Upgrade the Discovery and Service Mapping Patterns to the latest version (currently at 1.0.74).

find_real_file.png

2) Upgrade the CMDB CI Class Models to the latest version (currently at 1.23.0).

find_real_file.png

3) On the Cloud Service Account update the Datacenter URL to (https://portal.azure.us).

find_real_file.png