Date |
|
Authors | |
Status | Documenting |
Summary | NIMDTA reference service could not start |
Impact | TIS NIMDTA unavailable |
Non-technical Description
The reference service for NIMDTA was stuck in a cycle attempting to step in our database migration tool. A database configuration value was set incorrectly for the migration to be completed as expected.
Trigger
OrganizationType reference type deployed to production with Flyway script to create required database table and trigger.
Detection
Notification sent to #monitoring-prod.
Resolution
Set the global variable
log_bin_trust_function_creators
toON
in the NIMDTA production database.Delete the
OrganizationType
table to avoid issues from the partial update.Delete the failed migration from the schema history table.
Let the reference service restart and run the migration again with the correct access.
Timeline
: 12:20 BST - New flyway migration deployed to production
: 12:23 BST - Notification in #monitoring-prod.
: 12:42 BST - Call started in #tis-dev-team
: 12:43 BST - Fix deployed.
Root Cause(s)
Flyway migration validation failed due to a lack of permissions to create a trigger.
Global variable
log_bin_trust_function_creators
on NIMDTA production database was set toOFF
instead ofON
???
Action Items
Action Items | Owner | |
---|---|---|
Ensure any automated process (ansible) sets |
| |
Document how to investigate Flyway migration issues. | ||
Add Comment