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

Performance issue on pulp/api/v3/repositories/ansible/ansible/

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • crc-2023-06-27
    • None

      Description

      CRC Stage can list all repo url [1] ok when there are 190 repos. But when you go to list the ansible repo url [2] there is a 504 timeout at 30 seconds.

      Running a script to delete chunks of the “repo-test-####” repos, this problem still existed when there were 30 repos. Once the total number of repos was 10 the ansible repo url [2] was successful in 13 seconds. With only 6 repos, it was successful in 9 seconds.

      While this was discovered on in insights mode on CRC infrastructure, this is possibly a performance issue that presents itself when there are higher number of repos

      Note: The UI in CRC may not use [2], but integration tests do use it.

      [1] https://console.stage.redhat.com/api/automation-hub/pulp/api/v3/repositories/

      [2] https://console.stage.redhat.com/api/automation-hub/pulp/api/v3/repositories/ansible/ansible/

      Key Dependency Versions

      Dependencies when seen on CRC Stage:

      • "galaxy_ng_version":"4.8.0dev"
      • "galaxy_ng_commit":"origin/master:4ea2618"
      • "galaxy_importer_version":"0.4.10"
      • "pulp_core_version":"3.23.4"
      • "pulp_ansible_version":"0.17.2"
      • "pulp_container_version":"2.14.5"

      Steps to Reproduce

      Have 30+ repos (dependent on infra) and go to [2]

      how reproducible: always

      Actual Behavior

      504

      Expected Behavior

      200

            jjerabek@redhat.com Jiri Jerabek
            awcrosby5 Andrew Crosby (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: