Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-4139

Update mirror registry to use `hostname` instead of reading `/etc/hosts`

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Normal
    • None
    • omr-v1.2.2
    • OMR
    • 0

    Description

      See upstream issue: https://github.com/quay/mirror-registry/issues/60
      RH Quay Space: https://chat.google.com/room/AAAAEfCP9z8/Gt_7kagLgVo

      getFQDN() relies on the fqdn library to determine fqdn. This library tries to read /etc/hosts directly. On some RHEL installs with uncommon DNS configurations this fails and install aborts. We should update this function to instead use `hostname -f` to pull the fqdn.

      Attachments

        Activity

          Public project attachment banner

            context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
            current Project key: PROJQUAY

            People

              doconnor@redhat.com Dave O'Connor
              doconnor@redhat.com Dave O'Connor
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: