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

Broken migration on qa deploy, likely affects stage and prod

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.2.0 Cloud Release
    • None
    • Backend
    • None
    • False
    • False
    • Undefined
    • Approved
    • AAH 4.3.0 Sprint 1

      On deployment to QA, the migration 0011_collection_import_task_id_fk.py fails:

      django.db.utils.IntegrityError: insert or update on table "galaxy_collectionimport" violates foreign key constraint "galaxy_collectionimp_task_id_493fd6d1_fk_ansible_c"
      DETAIL:  Key (task_id)=(b382c518-dc40-420f-9f87-839f4808172f) is not present in table "ansible_collectionimport".
      

      There are 11567 records in galaxy_collectionimport table and only 1110 records in ansible_collectionimport

      The migration will need to be fixed before we can proceed with deployment to QA

              cspealma@redhat.com Clara Spealman (Inactive)
              awcrosby5 Andrew Crosby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: