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
    • Status: Closed
    • Normal
    • Resolution: Done
    • omr-v1.2.2
    • None
    • 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

          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: