-
Bug
-
Resolution: Done
-
Critical
-
omr-v1.2.0
-
False
-
None
-
False
Description:
This is an issue found for OMR 1.2.0, after installed OMR 1.2.0, found the Quay Version is 3.7.0, the expected quay version should be 3.7.1.
OMR Image: brew.registry.redhat.io/rh-osbs/openshift-mirror-registry-rhel8:v1.2.0-3
OMR 1.2.0
OMR installation logs:
[root@ip-10-0-1-79 fedora]# ./mirror-registry install --quayHostname quayomr.qe.devcluster.openshift.com --initPassword password --initUser quay -v --quayRoot /quayomr120 -v __ __ / \ / \ ______ _ _ __ __ __ / /\ / /\ \ / __ \ | | | | / \ \ \ / / / / / / \ \ | | | | | | | | / /\ \ \ / \ \ \ \ / / | |__| | | |__| | / ____ \ | | \ \/ \ \/ / \_ ___/ \____/ /_/ \_\ |_| \__/ \__/ \ \__ \___\ by Red Hat Build, Store, and Distribute your ContainersINFO[2022-06-09 04:15:07] Install has begun DEBU[2022-06-09 04:15:07] Ansible Execution Environment Image: quay.io/quay/mirror-registry-ee:latest DEBU[2022-06-09 04:15:07] Pause Image: registry.access.redhat.com/ubi8/pause:latest DEBU[2022-06-09 04:15:07] Quay Image: registry.redhat.io/quay/quay-rhel8:v3.7.1 DEBU[2022-06-09 04:15:07] Redis Image: registry.redhat.io/rhel8/redis-6:1-56 DEBU[2022-06-09 04:15:07] Postgres Image: registry.redhat.io/rhel8/postgresql-10:1-184 INFO[2022-06-09 04:15:07] Found execution environment at /home/fedora/execution-environment.tar INFO[2022-06-09 04:15:07] Loading execution environment from execution-environment.tar DEBU[2022-06-09 04:15:07] Importing execution enviornment with command: /bin/bash -c sudo /usr/bin/podman image import \ --change 'ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' \ --change 'ENV HOME=/home/runner' \ --change 'ENV container=oci' \ --change 'ENTRYPOINT=["entrypoint"]' \ --change 'WORKDIR=/runner' \ --change 'EXPOSE=6379' \ --change 'VOLUME=/runner' \ --change 'CMD ["ansible-runner", "run", "/runner"]' \ - quay.io/quay/mirror-registry-ee:latest < /home/fedora/execution-environment.tar Getting image source signatures Copying blob 2403a69598cf done Copying config 018fdb013e done Writing manifest to image destination Storing signatures sha256:018fdb013ecb4315afb1eeecd5a516c79328d4ac377e0b73e7a3b7a4da110677 INFO[2022-06-09 04:15:26] Detected an installation to localhost INFO[2022-06-09 04:15:26] Did not find SSH key in default location. Attempting to set up SSH keys. INFO[2022-06-09 04:15:26] Generating SSH Key Generating public/private rsa key pair. Your identification has been saved in /root/.ssh/quay_installer Your public key has been saved in /root/.ssh/quay_installer.pub The key fingerprint is: SHA256:iw13oFagTJqxY62nkyF4jAoxTyqZiRo57ZUqEvSw+qc root@ip-10-0-1-79.us-east-2.compute.internal The key's randomart image is: +---[RSA 2048]----+ | . . . | | O . . | |ooB + o | |+/+o . o . | |^.B.+ + S . | |*B B . = o | |* * . o | |.o .. | | Eo | +----[SHA256]-----+ INFO[2022-06-09 04:15:26] Generated SSH Key at /root/.ssh/quay_installer INFO[2022-06-09 04:15:26] Adding key to ~/.ssh/authorized_keys INFO[2022-06-09 04:15:26] Successfully set up SSH keys INFO[2022-06-09 04:15:26] Attempting to set SELinux rules on /root/.ssh/quay_installer INFO[2022-06-09 04:15:26] Found image archive at /home/fedora/image-archive.tar INFO[2022-06-09 04:15:26] Detected an installation to localhost INFO[2022-06-09 04:15:26] Unpacking image archive from /home/fedora/image-archive.tar quay.tar redis.tar postgres.tar pause.tar INFO[2022-06-09 04:15:29] Loading pause image archive from pause.tar DEBU[2022-06-09 04:15:29] Importing Pause with command: /bin/bash -c sudo /usr/bin/podman image import \ --change 'ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' \ --change 'ENTRYPOINT=["/pause"]' \ - registry.access.redhat.com/ubi8/pause:latest < pause.tar Getting image source signatures Copying blob b9b890b85f20 done Copying config dfe11c3ebd done Writing manifest to image destination Storing signatures sha256:dfe11c3ebd0fda05dca9b50afbb232be18fedcfaacc7cc1f3794f1a5ad91ab7d INFO[2022-06-09 04:15:30] Loading redis image archive from redis.tar DEBU[2022-06-09 04:15:30] Importing Redis with command: /bin/bash -c sudo /usr/bin/podman image import \ --change 'ENV PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' \ --change 'ENV container=oci' \ --change 'ENV STI_SCRIPTS_URL=image:///usr/libexec/s2i' \ --change 'ENV STI_SCRIPTS_PATH=/usr/libexec/s2i' \ --change 'ENV APP_ROOT=/opt/app-root' \ --change 'ENV HOME=/var/lib/redis' \ --change 'ENV PLATFORM=el8' \ --change 'ENV REDIS_VERSION=6' \ --change 'ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/redis' \ --change 'ENV REDIS_PREFIX=/usr' \ --change 'ENV REDIS_CONF=/etc/redis.conf' \ --change 'ENTRYPOINT=["container-entrypoint"]' \ --change 'USER=1001' \ --change 'WORKDIR=/opt/app-root/src' \ --change 'EXPOSE=6379' \ --change 'VOLUME=/var/lib/redis/data' \ --change 'CMD ["run-redis"]' \ - registry.redhat.io/rhel8/redis-6:1-56 < redis.tar Getting image source signatures Copying blob d9214d4e9711 done Copying config 6c0a47c61d done Writing manifest to image destination Storing signatures sha256:6c0a47c61da1ac767569ce0550253cd106b6bf8e7d273ca6a916a933ee900572 INFO[2022-06-09 04:15:49] Loading postgres image archive from postgres.tar DEBU[2022-06-09 04:15:49] Importing Postgres with command: /bin/bash -c sudo /usr/bin/podman image import \ --change 'ENV PATH=/opt/app-root/src/bin:/opt/app-root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' \ --change 'ENV STI_SCRIPTS_URL=image:///usr/libexec/s2i' \ --change 'ENV STI_SCRIPTS_PATH=/usr/libexec/s2i' \ --change 'ENV APP_ROOT=/opt/app-root' \ --change 'ENV APP_DATA=/opt/app-root' \ --change 'ENV HOME=/var/lib/pgsql' \ --change 'ENV PLATFORM=el8' \ --change 'ENV POSTGRESQL_VERSION=10' \ --change 'ENV POSTGRESQL_PREV_VERSION=9.6' \ --change 'ENV PGUSER=postgres' \ --change 'ENV CONTAINER_SCRIPTS_PATH=/usr/share/container-scripts/postgresql' \ --change 'ENTRYPOINT=["container-entrypoint"]' \ --change 'WORKDIR=/opt/app-root/src' \ --change 'EXPOSE=5432' \ --change 'USER=26' \ --change 'CMD ["run-postgresql"]' \ - registry.redhat.io/rhel8/postgresql-10:1-184 < postgres.tar Getting image source signatures Copying blob bcb74f1a9dcc done Copying config 493f542d5c done Writing manifest to image destination Storing signatures sha256:493f542d5c0eedbffbc7319ad7fb5c8bb62ad7c445df10b6d0477affbceb8ad2 INFO[2022-06-09 04:16:12] Loading Quay image archive from quay.tar DEBU[2022-06-09 04:16:12] Importing Quay with command: /bin/bash -c sudo /usr/bin/podman image import \ --change 'ENV PATH=/.local/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' \ --change 'ENV RED_HAT_QUAY=true' \ --change 'ENV PYTHON_VERSION=3.8' \ --change 'ENV PYTHON_ROOT=/usr/local/lib/python3.8' \ --change 'ENV PYTHONUNBUFFERED=1' \ --change 'ENV PYTHONIOENCODING=UTF-8' \ --change 'ENV LANG=en_US.utf8' \ --change 'ENV QUAYDIR=/quay-registry' \ --change 'ENV QUAYCONF=/quay-registry/conf' \ --change 'ENV QUAYRUN=/quay-registry/conf' \ --change 'ENV QUAYPATH=.' \ --change 'ENV container=oci' \ --change 'ENTRYPOINT=["dumb-init","--","/quay-registry/quay-entrypoint.sh"]' \ --change 'WORKDIR=/quay-registry' \ --change 'EXPOSE=7443' \ --change 'EXPOSE=8080' \ --change 'EXPOSE=8443' \ --change 'VOLUME=/conf/stack' \ --change 'VOLUME=/datastorage' \ --change 'VOLUME=/tmp' \ --change 'VOLUME=/var/log' \ --change 'USER=1001' \ --change 'CMD ["registry"]' \ - registry.redhat.io/quay/quay-rhel8:v3.7.1 < quay.tar Getting image source signatures Copying blob 3c911ec163e5 done Copying config 60e106aa87 done Writing manifest to image destination Storing signatures sha256:60e106aa876c7b4f4feaa2afdb899cda092e2a269f798e9e4a0eb34ff2e7924c INFO[2022-06-09 04:16:51] Attempting to set SELinux rules on image archive INFO[2022-06-09 04:16:51] Running install playbook. This may take some time. To see playbook output run the installer with -v (verbose) flag. INFO[2022-06-09 04:16:52] Detected an installation to localhost DEBU[2022-06-09 04:16:52] Running command: sudo podman run --rm --interactive --tty --workdir /runner/project --net host -v /home/fedora/image-archive.tar:/runner/image-archive.tar -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/mirror-registry-ee:latest ansible-playbook -i root@ip-10-0-1-79.us-east-2.compute.internal, --private-key /runner/env/ssh_key -e "init_user=quay init_password=password quay_image=registry.redhat.io/quay/quay-rhel8:v3.7.1 redis_image=registry.redhat.io/rhel8/redis-6:1-56 postgres_image=registry.redhat.io/rhel8/postgresql-10:1-184 pause_image=registry.access.redhat.com/ubi8/pause:latest quay_hostname=quayomr.qe.devcluster.openshift.com:8443 local_install=true quay_root=/quayomr120" install_mirror_appliance.yml PLAY [Install Mirror Appliance] ***************************************************************************************************************************TASK [Gathering Facts] ************************************************************************************************************************************ ok: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Install Dependencies] ************************************************************************************************************ included: /runner/project/roles/mirror_appliance/tasks/install-deps.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Add IP address of all hosts to all hosts] **************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Set SELinux Rules] *************************************************************************************************************** included: /runner/project/roles/mirror_appliance/tasks/set-selinux-rules.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Set container_manage_cgroup flag on and keep it persistent across reboots] ******************************************************* skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Install Quay Pod Service] ******************************************************************************************************** included: /runner/project/roles/mirror_appliance/tasks/install-pod-service.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Copy Quay Pod systemd service file] ********************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Check if pod pause image is loaded] ********************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Pull Infra image] **************************************************************************************************************** skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Start Quay Pod service] ********************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Autodetect Image Archive] ******************************************************************************************************** included: /runner/project/roles/mirror_appliance/tasks/autodetect-image-archive.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Checking for Image Archive] ****************************************************************************************************** ok: [root@ip-10-0-1-79.us-east-2.compute.internal -> localhost]TASK [mirror_appliance : Create install directory for image-archive.tar dest] ***************************************************************************** ok: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Copy Images if /runner/image-archive.tar exists] ********************************************************************************* skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Unpack Images if /runner/image-archive.tar exists] ******************************************************************************* skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Loading Redis if redis.tar exists] *********************************************************************************************** skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Loading Quay if quay.tar exists] ************************************************************************************************* skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Loading Postgres if postgres.tar exists] ***************************************************************************************** skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Install Postgres Service] ******************************************************************************************************** included: /runner/project/roles/mirror_appliance/tasks/install-postgres-service.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Create necessary directory for Postgres persistent data] ************************************************************************* changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Set permissions on data directory] *********************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Copy Postgres systemd service file] ********************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Check if Postgres image is loaded] *********************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Pull Postgres image] ************************************************************************************************************* skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Start Postgres service] ********************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Wait for pg_trgm to be installed] ************************************************************************************************ FAILED - RETRYING: [root@ip-10-0-1-79.us-east-2.compute.internal]: Wait for pg_trgm to be installed (20 retries left). changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Install Redis Service] *********************************************************************************************************** included: /runner/project/roles/mirror_appliance/tasks/install-redis-service.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Copy Redis systemd service file] ************************************************************************************************* changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Check if Redis image is loaded] ************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Pull Redis image] **************************************************************************************************************** skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Start Redis service] ************************************************************************************************************* changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Install Quay Service] ************************************************************************************************************ included: /runner/project/roles/mirror_appliance/tasks/install-quay-service.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Create necessary directory for Quay local storage] ******************************************************************************* changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create necessary directory for Quay config bundle] ******************************************************************************* changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Set permissions on local storage directory] ************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Copy Quay config.yaml file] ****************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Check if SSL Cert exists] ******************************************************************************************************** ok: [root@ip-10-0-1-79.us-east-2.compute.internal -> localhost]TASK [mirror_appliance : Check if SSL Key exists] ********************************************************************************************************* ok: [root@ip-10-0-1-79.us-east-2.compute.internal -> localhost]TASK [mirror_appliance : Create necessary directory for Quay rootCA files] ******************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create OpenSSL Config] *********************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create root CA key] ************************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create root CA pem] ************************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create ssl key] ****************************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create CSR] ********************************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create self-signed cert] ********************************************************************************************************* changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create chain cert] *************************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Replace ssl cert with chain cert] ************************************************************************************************ changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Copy SSL certificate] ************************************************************************************************************ skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Copy SSL key] ******************************************************************************************************************** skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Set permissions for key] ********************************************************************************************************* changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Set permissions for cert] ******************************************************************************************************** ok: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Copy Quay systemd service file] ************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Check if Quay image is loaded] *************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Pull Quay image] ***************************************************************************************************************** skipping: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Start Quay service] ************************************************************************************************************** changed: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Wait for Quay] ******************************************************************************************************************* included: /runner/project/roles/mirror_appliance/tasks/wait-for-quay.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Waiting up to 3 minutes for Quay to become alive at https://quayomr.qe.devcluster.openshift.com:8443/health/instance] ************ FAILED - RETRYING: [root@ip-10-0-1-79.us-east-2.compute.internal]: Waiting up to 3 minutes for Quay to become alive at https://quayomr.qe.devcluster.openshift.com:8443/health/instance (10 retries left). FAILED - RETRYING: [root@ip-10-0-1-79.us-east-2.compute.internal]: Waiting up to 3 minutes for Quay to become alive at https://quayomr.qe.devcluster.openshift.com:8443/health/instance (9 retries left). ok: [root@ip-10-0-1-79.us-east-2.compute.internal]TASK [mirror_appliance : Create init user] **************************************************************************************************************** included: /runner/project/roles/mirror_appliance/tasks/create-init-user.yaml for root@ip-10-0-1-79.us-east-2.compute.internalTASK [mirror_appliance : Creating init user at endpoint https://quayomr.qe.devcluster.openshift.com:8443/api/v1/user/initialize] ************************** ok: [root@ip-10-0-1-79.us-east-2.compute.internal]PLAY RECAP ************************************************************************************************************************************************ root@ip-10-0-1-79.us-east-2.compute.internal : ok=47 changed=30 unreachable=0 failed=0 skipped=12 rescued=0 ignored=0 INFO[2022-06-09 04:18:29] Quay installed successfully, permanent data is stored in /quayomr120 INFO[2022-06-09 04:18:29] Quay is available at https://quayomr.qe.devcluster.openshift.com:8443 with credentials (quay, password)