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

mirror-registry IPv6 support

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • omr-v1.3.4
    • OMR
    • False
    • None
    • False
    • 0

      Several issues running "mirror-registry" depending on root/rootless and configured variables.

      mirror-registry version v1.3.4 / RHEL version 9.1 (up-to-date)

      Installing with the following variables works but IPv4 listening only.
      quayHostname="rhel9-bastion.lab.local"
      quayRoot="/home/vince/mirror/ocp4"
      quayStorage="/home/vince/mirror/ocp4"
      pgStorage="/home/vince/mirror/ocp4"
      initPassword="password"
      sudo ./mirror-registry install --quayHostname $quayHostname {color}
      --quayRoot $quayRoot --quayStorage $quayStorage {color}
      --pgStorage $pgStorage --initPassword $initPassword

      I noticed if I don't sudo "mirror-registry install" command above. I will see port 8443 bind to IPv6 but not IPv4. But running without sudo causes other issues. The install fails at "Enable lingering for systemd user process"

      TASK [mirror_appliance : Enable lingering for systemd user processes] *************************
      fatal: [vince@rhel9-bastion.lab.local]: FAILED! =>

      {"changed": true, "cmd": ["loginctl", "enable-linger"], "delta": "0:00:00.010219", "end": "2023-05-03 12:23:04.887084", "msg": "non-zero return code", "rc": 1, "start": "2023-05-03 12:23:04.876865", "stderr": "Could not enable linger: Access denied", "stderr_lines": ["Could not enable linger: Access denied"], "stdout": "", "stdout_lines": []}

            Unassigned Unassigned
            vtognaci@redhat.com Vincent Tognaci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: