Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-3846

CRs managed by OLM missing 'observedGeneration' in status

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • OLM
    • None
    • False
    • None
    • False
    • olm
    • Not Selected
    • 0
    • 0% 0%

    Description

      Description of problem:

      This is no way to tell whether the state/status reflects the current version of the spec. For example, the connection ready status in a catalog source CR becomes stale after an index change in the spec. Automation built on top can be misled thinking the new index is ready and move on to check if there is a pending upgrade in the subscriptions.
      

      Version-Release number of selected component (if applicable):

       

      How reproducible:

       

      Steps to Reproduce:

      1. Create a catalog source, wait for the connection status to become ready
      2. Change the index field value
      3. Dump the catalog source right after the change
      

      Actual results:

      Stale connection status with the new index value

      Expected results:

      observedGeneration field populated as described by:
      https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties

      Additional info:

      We observed the window for the stale status could be as long as 2 minutes in scale lab with many virtual SNOs. See OCPBUGS-2813 for more info.
      
      

       

      Attachments

        Issue Links

          Activity

            People

              agreene1991 Alexander Greene
              jche@redhat.com Jun Chen
              Jian Zhang Jian Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: