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

Quay 3.9.0 Operator can't reconcile the change after update the config bundle secret managed by QuayRegistry CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • quay-v3.8.8, quay-v3.9.0, quay-v3.10.0
    • quay-operator
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      This issue is being reprioritized as Major since it has not been addressed within a few days or weeks of creation. We are using the OpenShift Bug Process critieria, https://source.redhat.com/groups/public/openshift/openshift_wiki/openshift_bugzilla_process#bug-priority:

      • BLOCKER: These are interrupt worthy bugs. Usually these would be CRITICAL or IMPORTANT severity bugs. Teams should immediately stop other items and address BLOCKER priority bugs. It should be worked until it is either resolved or the priority reduced. Leads and managers SHOULD always know the up-to-date status of these bugs.
      • CRITICAL: These are not necessarily immediately interrupt worthy, but likely cannot wait more than a few days for attention. Usually these would be CRITICAL or IMPORTANT severity bugs.
      • MAJOR: These should generally be scheduled for the current or next sprint and take precedence over feature work. These should not necessarily immediately interrupt ongoing work. Owners should be reporting daily on these in their standups.
      • NORMAL: These bugs should be evaluated, prioritized, and scheduled alongside all other work (ie. features) each sprint.
      • MINOR: These bugs should be periodically re-evaluated and may be scheduled along with other work. Bugs with a sustained low priority should be given strong consideration for closure.
      Show
      This issue is being reprioritized as Major since it has not been addressed within a few days or weeks of creation. We are using the OpenShift Bug Process critieria, https://source.redhat.com/groups/public/openshift/openshift_wiki/openshift_bugzilla_process#bug-priority: BLOCKER: These are interrupt worthy bugs. Usually these would be CRITICAL or IMPORTANT severity bugs. Teams should immediately stop other items and address BLOCKER priority bugs. It should be worked until it is either resolved or the priority reduced. Leads and managers SHOULD always know the up-to-date status of these bugs. CRITICAL: These are not necessarily immediately interrupt worthy, but likely cannot wait more than a few days for attention. Usually these would be CRITICAL or IMPORTANT severity bugs. MAJOR: These should generally be scheduled for the current or next sprint and take precedence over feature work. These should not necessarily immediately interrupt ongoing work. Owners should be reporting daily on these in their standups. NORMAL: These bugs should be evaluated, prioritized, and scheduled alongside all other work (ie. features) each sprint. MINOR: These bugs should be periodically re-evaluated and may be scheduled along with other work. Bugs with a sustained low priority should be given strong consideration for closure.

      Description:

      This is an issue found in Quay 3.9.0 Operator, now after use quay config editor to make some config changes successfully, found can't update Quay config by updating the config bundle secret managed by QuayRegistry CR, pls review this issue, see the Quay Operator logs Quay390_operator_pod.logs 

      Quay: quay-operator-bundle-container-v3.9.0-105

      Note: This issue can also be reproduced in Quay 3.8.8 

      Steps:

      1. Deploy Quay 3.9.0 Operator, choose to use all managed components
      2. Open Quay config editor to make some config changes, like adding new superuser, etc.
      3. After Quay Operator reconcile the change successfully, update the config bundle secret managed by QuayRegistry CR, like add new line "FEATURE_UI_V2: true", etc
      4. Save the Change
      5. Waiting for Quay Operator to reconcile the change

      Expected Results:

      Quay Operator reconcile the change successfully.

      Actual Results:

      Quay Operator can't reconcile the change, and report following error message in Quay Operator logs.

      "1.685431185274928e+09 DEBUG events Warning {"object": {"kind":"QuayRegistry","namespace":"quay-enterprise-847","name":"quayregistry","uid":"a4fe4625-02ed-4d0a-9e5f-e662f37e181e","apiVersion":"quay.redhat.com/v1","resourceVersion":"209440"}, "reason": "ComponentCreationFailed", "message": "could not inflate kubernetes objects: error converting JSON to YAML: yaml: control characters are not allowed"}" 

      How to update the quay config by updating the config bundle secret managed by QuayRegistry CR:

      Update the config bundle secret:

              Unassigned Unassigned
              lzha1981 luffy zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: