Data Consistency error or Object not found error while performing "uxupd UPR"
search cancel

Data Consistency error or Object not found error while performing "uxupd UPR"

book

Article ID: 284716

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Dollar Universe command "uxupd upr" ($UNI_DIR_EXEC/uxupd UPR UPR=* ...) fails with "Data consistency error" or "Object not found error" and stops executing without saying on which Uproc it failed and what's the missing object or inconsistency.

Environment

Dollar Universe 6.x or 7.x

Cause

Uproc definition no longer valid as a condition was referencing an object that had been deleted, hence the update of that Uproc could not be made.

Resolution

To figure out what Uproc is generating the issue do the following:

  1. Loop one by one on the command "uxupd upr upr=name_of_each_uproc" and print the name of each uproc to figure out which is the one that throws the error.
  2. Once you have found it out, you can either check its "Launch formula" and verify if all the referenced Resources or Uprocs / Session / Management Units related to it still in the node, else you can just set in Node Settings - Logging - Main log level to "0,IOCACHE" and with that we could find the following in universe.log
    | 2024-04-22 14:31:54 |INFO |X|IO |pid=26277.140615618656000| o_io_cache_get            | Entry (7/NAME_OF_MISSING_RESOURCE) not found: using provider
    | 2024-04-22 14:31:54 |ERROR|X|IO |pid=26277.140615618656000| o_io_cache_get            | Object not found
  3. Create or Deploy from the reference node the misssing object or delete this incorrect launch formula from the Uproc and problem solved

Additional Information

The "uxupd upr" error handling and troubleshooting is quite a complex topic and we acknowledge that it definitely has room for improvement, ie. printing the Uproc that threw the error and what's the missing related Object.

For that, we have created the following Product Enhancement Request: PMDU-3370 to track all these improvements around the error handling and error messages.

Feel free to reach out to Product Management in case you feel there's a special need around that topic to include it in the future versions of Dollar Universe.