Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1091

Move migration to be a cloud job invocation

    • 4.5.0a Sprint 2, 4.5.0a Sprint 3

      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

              drodowic@redhat.com Daniel Rodowicz
              awcrosby5 Andrew Crosby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: