CI Discovery might fail in IRE with error "Found multiple non-dependency relations [parent:'xxxxx'/child:'xxxxxx'/type:'xxxxxx'] between payload items


Description

While running discovery on devices (especially network switches) you might see the identification failed in pattern with below error in pattern log

""

Found multiple non-dependency relations [parent:'PARENT_CI_SYSID'/child:'CHILD_CI_SYSID'/type:'RELATIONSHIP_TYPE_SYSID'] between payload items

""

Release or Environment

All

Cause

There are some duplicate relationships exists with same parent, child and relationship type.

Resolution

Remove the duplicates so that you have only one relationship with same parent, child and relationship type.

https://instance_name.service-now.com/cmdb_rel_ci_list.do?sysparm_query=parent.sys_id%3D<<PARENT_CI_SYS_ID>>%5Echild.sys_id%3D<<CHILD_CI_SYS_ID>>%5Etype.sys_id%3D<<RELATIONSHIP_TYPE_SYS_ID>>&sysparm_view=