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

Quay Operator was failed to create QuayRegistry when using OCS 4.7

    XMLWordPrintable

Details

    • 0

    Description

      Description:

      This is an issue found when use quay 3.5.1 operator to create QuayRegistry. when the OCS is 4.7, the results is failed to create QuayRegistry, get error message "all Kubernetes objects not created/updated successfully: failed to create typed patch object: .spec.ObjectBucketName: field not declared in schema"

      Note: This issue can't reproduced when OCS is 4.6

      Quay Version: 3.5.1

      OCS: 4.7

      apiVersion: quay.redhat.com/v1
      kind: QuayRegistry
      metadata:
        creationTimestamp: '2021-05-24T07:22:15Z'
        generation: 2
        managedFields:
          - apiVersion: quay.redhat.com/v1
            fieldsType: FieldsV1
            fieldsV1:
              'f:spec':
                .: {}
                'f:components': {}
            manager: Mozilla
            operation: Update
            time: '2021-05-24T07:22:15Z'
          - apiVersion: quay.redhat.com/v1
            fieldsType: FieldsV1
            fieldsV1:
              'f:spec':
                'f:configBundleSecret': {}
              'f:status':
                .: {}
                'f:conditions': {}
                'f:lastUpdated': {}
            manager: manager
            operation: Update
            time: '2021-05-24T07:22:24Z'
        name: example-registry
        namespace: quay
        resourceVersion: '138308'
        uid: ac65e70c-1f35-4058-8cc6-5aa73145d423
      spec:
        components:
          - kind: clair
            managed: true
          - kind: postgres
            managed: true
          - kind: objectstorage
            managed: true
          - kind: redis
            managed: true
          - kind: horizontalpodautoscaler
            managed: true
          - kind: route
            managed: true
          - kind: mirror
            managed: true
          - kind: monitoring
            managed: false
        configBundleSecret: example-registry-config-bundle-tsztx
      status:
        conditions:
          - lastTransitionTime: '2021-05-24T07:22:23Z'
            lastUpdateTime: '2021-05-24T07:22:23Z'
            message: >-
              all Kubernetes objects not created/updated successfully: failed to
              create typed patch object: .spec.ObjectBucketName: field not declared in
              schema
            reason: ComponentCreationFailed
            status: 'True'
            type: RolloutBlocked
        lastUpdated: '2021-05-24 07:22:23.763032974 +0000 UTC'
      
      

       

      Steps:

      1. Deploy Quay 3.5.1  Operator
      2. Deploy OCS Operator and choose channel stable-4.7
      3. Create QuayRegistry with using managed Object Storage

      Expected Results:

      QuayRegistry should be created successfully.

      Actual Results:

      QuayRegistry was failed to create.

       

      Attachments

        Issue Links

          Activity

            People

              rmarasch@redhat.com Ricardo Maraschini (Inactive)
              lzha1981 luffy zhang
              luffy zhang luffy zhang
              Votes:
              2 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: