Error while Discover Datacenter in azure discovery

rmunjal
Mega Explorer

Hi Team ,

I have created Azure Service Principle and the Service Account for one of our subscriptions successfully.

 

From the Service Account record I am clicking the related link 'Discover Datacenters', the discovery end up with status shows as 10-Apr-2019 04:54:16: Error.... after some time.

But when I click the Cloud API Trail to checkout the error, the same entry shows as success, and the route_result shows a list of the Azure datacenters with their locations etc.

But when I checked the logs under "Cloud Orchestration Trail" . it shows error  in Level . Please see below error message

["MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"East Asia\",\"region\":\"eastasia\",\"object_id\":\"eastasia\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Southeast Asia\",\"region\":\"southeastasia\",\"object_id\":\"southeastasia\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Central US\",\"region\":\"centralus\",\"object_id\":\"centralus\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"East US\",\"region\":\"eastus\",\"object_id\":\"eastus\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"East US 2\",\"region\":\"eastus2\",\"object_id\":\"eastus2\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"West US\",\"region\":\"westus\",\"object_id\":\"westus\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"North Central US\",\"region\":\"northcentralus\",\"object_id\":\"northcentralus\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"South Central US\",\"region\":\"southcentralus\",\"object_id\":\"southcentralus\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"North Europe\",\"region\":\"northeurope\",\"object_id\":\"northeurope\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"West Europe\",\"region\":\"westeurope\",\"object_id\":\"westeurope\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Japan West\",\"region\":\"japanwest\",\"object_id\":\"japanwest\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Japan East\",\"region\":\"japaneast\",\"object_id\":\"japaneast\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Brazil South\",\"region\":\"brazilsouth\",\"object_id\":\"brazilsouth\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Australia East\",\"region\":\"australiaeast\",\"object_id\":\"australiaeast\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Australia Southeast\",\"region\":\"australiasoutheast\",\"object_id\":\"australiasoutheast\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"South India\",\"region\":\"southindia\",\"object_id\":\"southindia\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Central India\",\"region\":\"centralindia\",\"object_id\":\"centralindia\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"West India\",\"region\":\"westindia\",\"object_id\":\"westindia\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Canada Central\",\"region\":\"canadacentral\",\"object_id\":\"canadacentral\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Canada East\",\"region\":\"canadaeast\",\"object_id\":\"canadaeast\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"UK South\",\"region\":\"uksouth\",\"object_id\":\"uksouth\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"UK West\",\"region\":\"ukwest\",\"object_id\":\"ukwest\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"West Central US\",\"region\":\"westcentralus\",\"object_id\":\"westcentralus\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"West US 2\",\"region\":\"westus2\",\"object_id\":\"westus2\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Korea Central\",\"region\":\"koreacentral\",\"object_id\":\"koreacentral\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Korea South\",\"region\":\"koreasouth\",\"object_id\":\"koreasouth\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"France Central\",\"region\":\"francecentral\",\"object_id\":\"francecentral\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"France South\",\"region\":\"francesouth\",\"object_id\":\"francesouth\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Australia Central\",\"region\":\"australiacentral\",\"object_id\":\"australiacentral\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"Australia Central 2\",\"region\":\"australiacentral2\",\"object_id\":\"australiacentral2\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"South Africa North\",\"region\":\"southafricanorth\",\"object_id\":\"southafricanorth\"}}'","ABANDONEDToo many other errors","MISSING_DEPENDENCYIn payload no relations defined for dependent class [cmdb_ci_azure_datacenter] that matches any containment/hosting rules: [cmdb_ci_logical_datacenter >> Hosts >> cmdb_ci_cloud_service_account]. Add appropriate relations in payload for '{\"className\":\"cmdb_ci_azure_datacenter\",\"values\":{\"discovery_source\":\"ServiceNow\",\"name\":\"South Africa West\",\"region\":\"southafricawest\",\"object_id\":\"southafricawest\"}}'","ABANDONEDToo many other errors"]

 

 

Can Anyone help what is the problem. Thanks

1 REPLY 1

Vivektietsood
Tera Guru
Tera Guru

I am planning to do an article on Azure. In the meantime, following are the articles on AWS in the meantime:

 

TOM Series Article 1: AWS Discovery

ITOM Series Article 2: Provision AWS Resources Using Cloud Formation Templates

 

ITOM Series Article 3 : AWS Billing Integration