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

Quay Operator v3.4.6 was failed to create QuayRegistry when using OCS 4.7

XMLWordPrintable

      Description:

      This is an issue found when use quay operator 3.4.5 and 3.4.6 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

      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 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.

       

        1. image-2021-06-28-11-42-46-633.png
          297 kB
          Dongbo Yan
        2. image-2021-06-29-16-36-04-384.png
          35 kB
          Nate Revo
        3. image-2021-07-06-10-12-04-339.png
          253 kB
          luffy zhang

              rmarasch@redhat.com Ricardo Maraschini (Inactive)
              rhn-support-dyan Dongbo Yan
              Dongbo Yan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: