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

Synclist dup key value 500 on AH Prod

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    • 13
    • False
    • False
    • None
    • Undefined
    • AAH Sprint 8, AAH Sprint 9, AAH Sprint 10, AAH Sprint 11, AAH Sprint 12, AAH Sprint 13

      We are getting alerts on AH Prod for 500 errors related to synclist duplicate key values when hitting the namespace endpoint

      2021-04-12 18:05:20,391 INFO gunicorn.access: 10.129.4.9 - - [12/Apr/2021:18:05:20 +0000] "GET /api/automation-hub/v3/namespaces HTTP/1.0" 301 0 "https://cloud.redhat.com/beta" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36" 2021-04-12 18:05:20,582 ERROR django.request: Internal Server Error: /api/automation-hub/v3/namespaces/ Traceback (most recent call last): File "/venv/lib64/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "galaxy_synclist_name_key" DETAIL: Key (name)=(940527-synclist) already exists.
      
      2021-04-13 18:18:25,405 INFO gunicorn.access: 10.129.4.9 - - [13/Apr/2021:18:18:25 +0000] "GET /api/automation-hub/v3/namespaces/
      ...
      psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "galaxy_synclist_name_key" DETAIL: Key (name)=(5644938-synclist) already exists.
      
      2021-04-14 13:53:18,887 INFO gunicorn.access: 10.129.4.9 - - [14/Apr/2021:13:53:18 +0000] "GET /api/automation-hub/v3/namespaces/ 
      ...
      psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "galaxy_synclist_name_key" DETAIL:  Key (name)=(6894258-synclist) already exists.
      

              Unassigned Unassigned
              awcrosby5 Andrew Crosby (Inactive)
              Archiver:
              ranumula@redhat.com Raju Anumula

                Created:
                Updated:
                Resolved:
                Archived: