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

For unmanaged clairpostgres, any changes made via config editor tool results in quay operator flipping the component back to managed

XMLWordPrintable

    • False
    • None
    • False
    • Troubleshoot
    • Quay Enterprise

      • This incident occur twice:

      1. When configuring + validating Action Log Rotation

      OCP UI > config-editor-endpoint > Enable Action Log Rotation > Validate configuration changes > Reconfigure Quay 
      [sbhavsar@sbhavsar ~]$ oc get pod
      NAME                                                   READY   STATUS              RESTARTS   AGE
      example-registry-clair-postgres-59bf4f559c-2zz64       0/1     ContainerCreating   0          3s
      
      
      clair-combo-7659ffcfbb-9drc9                         1/1     Running     0              60m
      clairv4-postgres-f4d59454-gmnjp                      1/1     Running     0              4h7m
      
      example-registry-quay-app-5d6755949f-4lsbc             1/1     Running             0          6m
      example-registry-quay-app-5d6755949f-dds97             1/1     Running             0          5m
      example-registry-quay-app-76f5fdf887-dz75f             0/1     Running             0          3s
      example-registry-quay-app-upgrade--1-vnvgl             0/1     Completed           0          9m5s
      example-registry-quay-config-editor-775579c8d9-kbtcv   1/1     Running             0          6m
      example-registry-quay-config-editor-7c7bdf8bd8-6bvxr   0/1     ContainerCreating   0          3s
      example-registry-quay-database-8685485bb5-n85cp        1/1     Running             0          9m14s
      example-registry-quay-mirror-5d9f484bc7-jg6s8          1/1     Terminating         0          5m29s
      example-registry-quay-mirror-5d9f484bc7-qqtwq          1/1     Terminating         0          5m29s
      example-registry-quay-redis-695867f649-sq7mw           1/1     Running             0          9m15s
      quay-operator.v3.7.7-668f59cbd7-hcs5f                  1/1     Running             0          16m
       
      $ oc get pvc 
      NAME                             STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
      example-registry-clair-postgres   Bound    pvc-ac0711f1-4257-46a9-9e07-143930f4270c   50Gi       RWO            gp2            1m43s 
      
      
      example-registry-quay-database    Bound    pvc-c20bb7fd-3ff9-487b-918f-172775632b0d   50Gi       RWO            gp2            4h3m 
      
      clairv4-postgres                 Bound    pvc-9933ab0e-8a28-4b89-8b90-661e7433939f   20Gi       RWO            gp2            3h53m 
      
      

       

      $ oc get pv | grep clair
      
      pvc-9933ab0e-8a28-4b89-8b90-661e7433939f   20Gi       RWO            Delete           Bound         quay1/clairv4-postgres                                          gp2                     3h55m
      
      pvc-ac0711f1-4257-46a9-9e07-143930f4270c   50Gi       RWO            Delete           Bound         quay1/example-registry-clair-postgres                            gp2                     7m56s
      
      
      $ oc get deploy | grep -i clair | grep -i postgres
      example-registry-clair-postgres       1/1     1            1           10m
      clairv4-postgres                     1/1     1            1           4h15m
       

       2. configuring email notification

        1. quay-logs02.log
          3.08 MB
        2. quay-logs01-1.log
          2.93 MB
        3. quay-logs01.log
          2.34 MB
        4. quayconfig.yaml
          3 kB
        5. image-2022-10-13-11-48-52-918.png
          image-2022-10-13-11-48-52-918.png
          442 kB
        6. image-2022-10-13-11-46-23-072.png
          image-2022-10-13-11-46-23-072.png
          316 kB
        7. image-2022-10-13-11-42-18-704.png
          image-2022-10-13-11-42-18-704.png
          428 kB
        8. image-2022-09-22-15-18-25-972.png
          image-2022-09-22-15-18-25-972.png
          382 kB
        9. clair-logs02-1.log
          433 kB
        10. clair-logs02.log
          128 kB
        11. clair-logs01.log
          6 kB
        12. clair-config.yaml
          0.7 kB

              jonathankingfc Jonathan King
              rhn-support-sbhavsar Sayali Bhavsar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: