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

OMR should support installing quay on RHEL9

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • omr-v1.3.0
    • omr-v1.2.0
    • OMR

      Description of problem:

      OMR does not support installing quay on RHEL9

      Version-Release number of selected component (if applicable):

      1. uname -a
        Linux preserve-quay-rhel9-latest-1 5.14.0-1.el9.x86_64 #1 SMP Mon Aug 30 21:21:29 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
      2. cat /etc/redhat-release
        Red Hat Enterprise Linux release 9.0 Beta (Plow)
      3. podman --version
        podman version 3.3.0-dev

      How reproducible:

      Always

      Actual results:

       

      # ./openshift-mirror-registry install --initPassword quaypass -v
      
         __   __
        /  \ /  \     ______   _    _     __   __   __
       / /\ / /\ \   /  __  \ | |  | |   /  \  \ \ / /
      / /  / /  \ \  | |  | | | |  | |  / /\ \  \   /
      \ \  \ \  / /  | |__| | | |__| | / ____ \  | |
       \ \/ \ \/ /   \_  ___/  \____/ /_/    \_\ |_|
        \__/ \__/      \ \__
                        \___\ by Red Hat
       Build, Store, and Distribute your Containers
      	
      INFO[2021-09-09 22:25:48] Install has begun                            
      DEBU[2021-09-09 22:25:48] Quay Image: quay.io/projectquay/quay         
      DEBU[2021-09-09 22:25:48] Redis Image: docker.io/centos/redis-5-centos8 
      DEBU[2021-09-09 22:25:48] Postgres Image: docker.io/centos/postgresql-10-centos8 
      INFO[2021-09-09 22:25:48] Found execution environment at /root/quay/execution-environment.tar 
      INFO[2021-09-09 22:25:48] Loading execution environment from execution-environment.tar 
      Getting image source signatures
      Copying blob c4411fb2bbe4 skipped: already exists  
      Copying blob 05e0da429dc2 skipped: already exists  
      Copying blob 038780c13293 skipped: already exists  
      Copying blob 0822d9df6cf0 skipped: already exists  
      Copying blob b44fb851012e skipped: already exists  
      Copying blob a9677e44c6b8 skipped: already exists  
      Copying blob 199d45ce1d07 skipped: already exists  
      Copying blob f889faa213cb [--------------------------------------] 0.0b / 0.0b
      Copying config 87c484be0c done  
      Writing manifest to image destination
      Storing signatures
      Loaded image(s): quay.io/quay/openshift-mirror-registry-ee:latest
      INFO[2021-09-09 22:25:48] Detected an installation to localhost        
      INFO[2021-09-09 22:25:48] Found SSH key at /root/.ssh/quay_installer   
      INFO[2021-09-09 22:25:48] Attempting to set SELinux rules on SSH key   
      INFO[2021-09-09 22:25:48] Running install playbook. This may take some time. To see playbook output run the installer with -v (verbose) flag. 
      INFO[2021-09-09 22:25:48] Detected an installation to localhost        
      DEBU[2021-09-09 22:25:48] Running command: sudo podman run --rm --interactive --tty --workdir /runner/project --net host  -v /root/.ssh/quay_installer:/runner/env/ssh_key -e RUNNER_OMIT_EVENTS=False -e RUNNER_ONLY_FAILED_EVENTS=False -e ANSIBLE_HOST_KEY_CHECKING=False -e ANSIBLE_CONFIG=/runner/project/ansible.cfg --quiet --name ansible_runner_instance quay.io/quay/openshift-mirror-registry-ee ansible-playbook -i root@localhost, --private-key /runner/env/ssh_key -e "init_password=quaypass quay_image=quay.io/projectquay/quay redis_image=docker.io/centos/redis-5-centos8 postgres_image=docker.io/centos/postgresql-10-centos8 quay_hostname=localhost:8443 local_install=true" install_mirror_appliance.yml   PLAY [Install Mirror Appliance] ******************************************************************************************************************TASK [Gathering Facts] ***************************************************************************************************************************
      ok: [root@localhost]TASK [mirror_appliance : Install Dependencies] ***************************************************************************************************
      included: /runner/project/roles/mirror_appliance/tasks/install-deps.yaml for root@localhostTASK [mirror_appliance : Installing Podman] ******************************************************************************************************
      ok: [root@localhost]TASK [mirror_appliance : Add IP address of all hosts to all hosts] *******************************************************************************
      ok: [root@localhost]TASK [mirror_appliance : Set SELinux Rules] ******************************************************************************************************
      included: /runner/project/roles/mirror_appliance/tasks/set-selinux-rules.yaml for root@localhostTASK [mirror_appliance : Set container_manage_cgroup flag on and keep it persistent across reboots] **********************************************
      skipping: [root@localhost]TASK [mirror_appliance : Create Podman Pod] ******************************************************************************************************
      included: /runner/project/roles/mirror_appliance/tasks/create-podman-pod.yaml for root@localhostTASK [mirror_appliance : Starting Pod with ports 80 and 443 exposed] *****************************************************************************
      fatal: [root@localhost]: FAILED! => {"changed": false, "msg": "Can't create pod quay-pod", "stderr": "time=\"2021-09-09T22:25:54-04:00\" level=error msg=\"Error freeing pod lock after failed creation: no such file or directory\"\nError: error adding Infra Container: error pulling infra-container image: initializing source docker://registry.access.redhat.com/ubi9/pause:latest: reading manifest latest in registry.access.redhat.com/ubi9/pause: name unknown: Repo not found\n", "stderr_lines": ["time=\"2021-09-09T22:25:54-04:00\" level=error msg=\"Error freeing pod lock after failed creation: no such file or directory\"", "Error: error adding Infra Container: error pulling infra-container image: initializing source docker://registry.access.redhat.com/ubi9/pause:latest: reading manifest latest in registry.access.redhat.com/ubi9/pause: name unknown: Repo not found"], "stdout": "", "stdout_lines": []}PLAY RECAP ***************************************************************************************************************************************
      root@localhost             : ok=6    changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0   ERRO[2021-09-09 22:25:54] An error occurred: exit status 2             
      

       

      Expected results:

      should install quay successfully

      Additional info:

              doconnor@redhat.com Dave O'Connor
              rhn-support-dyan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: