Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Database Ci install status keep changing in a loop from intsalled to retired

ayush_g
Tera Contributor

There are lots of issues occurring related to manually change install status of database records CI while checking audit history it shows  Discovery  (Discovery mid server user) is updating install status as Installed while User name with system marking it as retired and the same process keep changing install status in a loop 

 

How to fix it.

7 REPLIES 7

@ayush_g the only possibility is, the status is changed by some server side script (Script Include triggered with scheduled job/Business Rule/Script action). One of the way to check is, check the time stamp the CI status changes to 'Retired' and check in System logs for the same time stamp, what jobs were running. 

Or you can do a code search in Studio for 'retired' string (make sure to select the 'All application' check box). 

These might give you a trace of it. 

VivekSattanatha
Mega Sage

A Database CI getting retired means it is no longer being detected by subsequent discovery runs. If it gets discovered again, it will move back to the Installed state. When a CI retires, you may need to check the discovery logs to confirm whether the database discovery is actually happening for that server.

Thanks @VivekSattanatha  for response but in our case what is happening even on manually retired by  CMDB team discovery runs and keep changing  install status from retire to In stock daily how can we resolve this that discovery don't Update install status