Payload no relations defined for dependent class
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 06:45 AM
Hi All,
we have recently setup discovery and while discovering we are getting the below error.
I don't know how to represent the missing dependency mentioned in the error response. I am relatively new to discovery and any pointers regarding this would be helpful.
- Labels:
-
Discovery
-
Service Mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2022 08:07 AM - edited 10-27-2022 08:10 AM
Hi @IYYAPPAN E1
This error states that per the dependency rule configuration there must be a relation to the web service per that rule but was missing here and hence it throws the same. These are IRE errors.
You can check the dependency rule in the CI Class Manager [from Filter navigator] by opening the class name for cmdb_ci_web_service and navigate to "Dependent Relationships" within this manager.
You need to check why the relation is not created by debugging the pattern. It seems you have added an extension section and you might have broken that functionality as OOB that relations will be there.
I would suggest 2 ways here.
1. If you are well aware of discovery product and patterns, I would recommend using "Retrieve Payload" feature to check the payload from here to see exact IRE Errors. This "Retrieve Payload" feature is available at top right in this above pattern log area when you select "Payload Processing" on the left menu.
2. If you are naive at present, I would recommend just to disable your custom extension section and see if discovery works fine. If it does, try understanding what you have broken in the extension by using option 1 i.e. suggested above.
If you need help with option 1, best you can reach out to your Support account manager or SNOW Discovery Admin and they should be able to guide you.
Hope this is clear.