Key Value not getting updated for AWS service account
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2024 01:21 PM
Hi,
We have master and child cloud discovery setup. For few AWS cloud service account, key value in cmdb_key_value table is not getting updated, for few accounts duplicate key value pair getting created instead pf updating old one.
Could someone please help me with troubleshooting?
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 01:07 PM
@Ram Devanathan1 @Narsing1 Thank you for response.
I checked Discovery logs. For 'Amazon AWS - Key Pair (LP)' pattern, I am getting below error.
: Pattern exit because Graceful Termination, reason: Key Pair is empty Failed Condition(s): [(${key_pair} : value=[]) IS NOT EMPTY ]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 09:14 PM
Have you checked the Related entry table as mentioned instead of Pattern as Pattern works based on this configuration.
Thanks,
Narsing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 09:18 PM
Hi @Narsing1
I have updated it to Key in related entry
key value is neither getting updated nor created in table. I assume that is because of error in pattern.
table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 09:26 PM
Any screen shot would help to check from the related entry.. like "Allow null attribute" is true? Is your table pointed to cloud service account as per your issue? also, update with the latest version of pattern if not. Once updated, perform the "Pattern sync to MID Server".
Thanks,
Narsing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2024 08:58 AM
Hi @Narsing1 ,,
Pattern is not updated, we are using OOTB.
In cmdb_related_entry, "Allow null attribute" is true and Criterion attributes = key
Error in Discovery Logs: Pattern exit because Graceful Termination, reason: Key Pair is empty Failed Condition(s): [(${key_pair} : value=[]) IS NOT EMPTY ]