Problem Description:

      In CRC we use custom logic for accessing the content app via the download url https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/api/v3/viewsets/collection.py/#L182-L183

      Now that we are syncing namespaces and logos, on standalone syncing from insights mode, the insights mode api cannot reach the content app for this particular type of content, and standalone cannot sync down logos.

      Proposed Solution:

      • Update CRC to expose the content app at a url
      • Update settings to point at the new content app path - TBD on what we want the PULP_CONTENT_PATH_PREFIX to be

      We can keep the custom logic for now, and attempt to remove it at a later time

            [AAH-2213] proxy content app for CRC logos

            The content path is now set via PULP_CONTENT_PATH_PREFIX and exposed via nginx.

            The custom logic for CRC can now be removed.

            Daniel Rodowicz added a comment - The content path is now set via PULP_CONTENT_PATH_PREFIX and exposed via nginx. The custom logic for CRC can now be removed.

            Daniel Rodowicz mentioned this issue in a merge request of Service Delivery / app-interface on branch update-nginx-prod:

            Draft: Automation hub: update prod image for nginx

            GitLab CEE Bot added a comment - Daniel Rodowicz mentioned this issue in a merge request of Service Delivery / app-interface on branch update-nginx-prod : Draft: Automation hub: update prod image for nginx

            Daniel Rodowicz mentioned this issue in a merge request of Service Delivery / app-interface on branch update-nginx-stage:

            Automation Hub: update stage image for nginx

            GitLab CEE Bot added a comment - Daniel Rodowicz mentioned this issue in a merge request of Service Delivery / app-interface on branch update-nginx-stage : Automation Hub: update stage image for nginx

            CPaaS Service Account mentioned this issue in a merge request of aap-cpaas / config / automation-hub-container on branch ansible-automation-platform-2.4_upstream_a1dd3fb18be7c9dc2769fd9fada532cb:

            Updated US source to: 743cbbb crc: proxy content to the content-app (#1655)

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of aap-cpaas / config / automation-hub-container on branch ansible-automation-platform-2.4_ upstream _a1dd3fb18be7c9dc2769fd9fada532cb : Updated US source to: 743cbbb crc: proxy content to the content-app (#1655)

              drodowic@redhat.com Daniel Rodowicz
              hesmith@redhat.com Heather Smith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: