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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: