-
Task
-
Resolution: Done
-
Critical
-
None
-
None
Problem Description:
In deploying migrations as part of database wipe for AAH-1050 & RHIOPS-1089 in working with Insights platform dev productivity team @crc-devprod-team:
- We ran script to drop tables from inside psql shell:
select 'drop table if exists "' || tablename || '" cascade;' from pg_tables; - Saw that migrations were run from different image (therefore different set of migrations) than the code/config image
- When these images were matched up there was an error, based on logging changes made in https://github.com/ansible/galaxy_ng/pull/893/files:
"/app/galaxy_ng/contrib/cloudwatch.py" AWS_ACCESS_KEY_ID = settings.CLOUDWATCH_ACCESS_KEY_ID … AttributeError: 'Settings' object has no attribute 'CLOUDWATCH_ACCESS_KEY_ID'
QA Criteria:
Migrations run without issue and we hand over c.stage.rh.c to QE for regression testing per AAH-1050
Proposed Solution:
In order to resolve this we want to move the migration to be a cloud job invocation. We can