Chapter 9. Troubleshooting the QuayRegistry CR


You can troubleshoot the QuayRegistry CR to reveal issues during registry deployment by checking the Events page on the OpenShift Container Platform web console, or by using the oc CLI.

Lifecycle observability for a Red Hat Quay registry is reported on the Events page of the registry. If leveraging the OpenShift Container Platform web console, this is the first place to look for any problems related to registry deployment.

Prerequisites

  • You have deployed a Red Hat Quay registry.

Procedure

  1. On the OpenShift Container Platform web console, click Operators Installed Operators Red Hat Quay.
  2. On the Red Hat Quay Operator details page, click Quay Registry.
  3. Click the name of the registry Events. On this page, events a streamed in real-time.
  4. Optional: To reveal more information about deployment issues, you can click the name of the registry on the Events page to navigate to the QuayRegistry details page. On the QuayRegistry details page, you can view the condition of all QuayRegistry CR components.

9.2. Monitoring and debugging the QuayRegistry CR by using the CLI

The oc CLI tool can be used to troubleshoot problems related to registry deployment. With the oc CLI, you can obtain the following information about the QuayRegistry CR:

  • The conditions field, which field shows the status of all QuayRegistry components.
  • The currentVersion field, which shows the version of Red Hat Quay.
  • The registryEndpoint field, which shows the publicly available hostname of the registry.

When troubleshooting deployment issues, you can check the Status field of the QuayRegistry custom resource (CR). This field reveals the health of the components during the deployment and can help you debug various problems with the deployment.

Prerequisites

  • You have deployed a Red Hat Quay registry by using the web console or the CLI.

Procedure

  1. View the state of deployed components by entering the following command:

    $ oc get pods -n quay-enterprise
    Copy to Clipboard Toggle word wrap

    Example output

    NAME                                                   READY   STATUS              RESTARTS   AGE
    example-registry-clair-app-86554c6b49-ds7bl            0/1     ContainerCreating   0          2s
    example-registry-clair-app-86554c6b49-hxp5s            0/1     Running             1          17s
    example-registry-clair-postgres-68d8857899-lbc5n       0/1     ContainerCreating   0          17s
    example-registry-quay-app-upgrade-h2v7h                0/1     ContainerCreating   0          9s
    example-registry-quay-database-66f495c9bc-wqsjf        0/1     ContainerCreating   0          17s
    example-registry-quay-mirror-854c88457b-d845g          0/1     Init:0/1            0          2s
    example-registry-quay-mirror-854c88457b-fghxv          0/1     Init:0/1            0          17s
    example-registry-quay-postgres-init-bktdt              0/1     Terminating         0          17s
    example-registry-quay-redis-f9b9d44bf-4htpz            0/1     ContainerCreating   0          17s
    Copy to Clipboard Toggle word wrap

  2. Return information about your deployment by entering the following command:

    $ oc get quayregistry -n <namespace> -o yaml
    Copy to Clipboard Toggle word wrap

    Example output

    apiVersion: v1
    items:
    - apiVersion: quay.redhat.com/v1
      kind: QuayRegistry
      metadata:
        annotations:
    ...
      spec:
        components:
        - kind: clair
          managed: true
        - kind: objectstorage
          managed: false
    ...
     status:
        conditions: 
    1
    
        - lastTransitionTime: "2025-10-01T18:46:13Z"
          lastUpdateTime: "2025-10-07T13:12:54Z"
          message: Horizontal pod autoscaler found
          reason: ComponentReady
          status: "True"
          type: ComponentHPAReady
    ...
        currentVersion: v3.15.2 
    2
    
        lastUpdated: 2025-10-07 13:12:54.48811705 +0000 UTC
        registryEndpoint: https://example-registry-quay-cluster-new.gcp.quaydev.org 
    3
    Copy to Clipboard Toggle word wrap

    1
    Shows information about the status of all QuayRegistry components.
    2
    Shows the current version that the registry is using.
    3
    Shows the publicly available hostname of the registry.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat