Issue
Symptoms
AWS Datacenter.Discover.AWS Datacenter.Compute Interface.ListImages -- Error
AWS Discovery Schedules discovers devices in data centers but fails to populate some related CI information
CAPI Trail Log while processing cloud API response data shows - " identification_engine : MULTIPLE_DEPENDENCIES Found multiple dependent relation items [{"parent":97,"child":1,"type":"Hosted on::Hosts"}] and [{"parent":97,"child":0,"type":"Hosted on::Hosts"}] in payload: no thrown error "
Release
Kingston, London
Cause
- Based on the error, check the input payload to the identification engine you can figure that there is a CMDB metadata hosting rule record relating cmdb_ci_cloud_service_account to the discovered cloud resource image type 'cmdb_ci_os_template' which results in the existence of 2 hosting rules between 1 cloud resource - 'cmdb_ci_os_template' with cmdb_ci_logical_datacenter & cmdb_ci_cloud_service_account. Hence the error
- The above example issue is pertaining to ListImages but similarly, you may find it useful in other cases
Resolution
- Delete the hosting rule record relating cmdb_ci_cloud_service_account to the discovered cloud resource image type 'cmdb_ci_os_template' ( Image )