Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-13260

There are a lot of senseless messages "the object has been modified; please apply your changes to the latest version and try again"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.13
    • OLM
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Informational
    • No
    • None
    • None
    • Rejected
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      When I create a catsrc or a sub, there is a lot of senseless message "the object has been modified; please apply your changes to the latest version and try again". 
      Actually, there is no need to take action, but the message make me confused, it seems to request me to take some action.
      
      
      

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

      4.13

      How reproducible:

      always

      Steps to Reproduce:

      1. oc new-project test-1
      2. create a catsrc
      zhaoxia@xzha-mac OCP-22618 % cat catsrc.yaml
      apiVersion: operators.coreos.com/v1alpha1
      kind: CatalogSource
      metadata:
        name: test-index
        namespace: test-1
      spec:
        displayName: Test
        publisher: OLM-QE
        sourceType: grpc
        image: quay.io/olmqe/nginxolm-operator-index:v1
        updateStrategy:
          registryPoll:
            interval: 10m
      zhaoxia@xzha-mac OCP-22618 % oc apply -f catsrc.yaml
      
       3. create sub
      zhaoxia@xzha-mac OCP-22618 % cat sub.yaml 
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: test
        namespace: test-1
      spec:
        installPlanApproval: Automatic
        name: nginx-operator
        source: test-index
        sourceNamespace: test-1
      zhaoxia@xzha-mac OCP-22618 % oc apply -f sub.yaml
      
      zhaoxia@xzha-mac release % oc get csv -n test-1
      NAME                            DISPLAY                            VERSION   REPLACES                PHASE
      elasticsearch-operator.v5.7.0   OpenShift Elasticsearch Operator   5.7.0                             Succeeded
      loki-operator.v5.7.0            Loki Operator                      5.7.0                             Succeeded
      nginx-operator.v1.0.1           nginxolm                           1.0.1     nginx-operator.v0.0.1   Succeeded
      zhaoxia@xzha-mac release % oc get catsrc -n test-1
      NAME         DISPLAY   TYPE   PUBLISHER   AGE
      test-index   Test      grpc   OLM-QE      68m
      zhaoxia@xzha-mac release % oc get pod  -n test-1
      NAME                                                              READY   STATUS      RESTARTS   AGE
      5dced1ff01d9cb888f370b026b91f0578fe0db5cf39ef8a92542ab4a42dm9jw   0/1     Completed   0          68m
      nginx-operator-controller-manager-7687f4576f-dk7gn                2/2     Running     0          67m
      test-index-rxrvr                                                  1/1     Running     0          68m
      
      4, check catalog-operator log
      zhaoxia@xzha-mac release % oc logs catalog-operator-8469db6595-q6lw5 -n openshift-operator-lifecycle-manager| grep test-1| grep failed
      E0509 07:28:43.103789       1 queueinformer_operator.go:298] sync {"update" "test-1/test-index"} failed: Operation cannot be fulfilled on catalogsources.operators.coreos.com "test-index": the object has been modified; please apply your changes to the latest version and try again
      E0509 07:29:05.054958       1 queueinformer_operator.go:298] sync {"update" "test-1/test"} failed: Operation cannot be fulfilled on subscriptions.operators.coreos.com "test": the object has been modified; please apply your changes to the latest version and try again
      E0509 07:29:08.212255       1 queueinformer_operator.go:298] sync {"update" "test-1/test"} failed: Operation cannot be fulfilled on subscriptions.operators.coreos.com "test": the object has been modified; please apply your changes to the latest version and try again
      E0509 07:29:08.611354       1 queueinformer_operator.go:298] sync {"update" "test-1/install-lkljj"} failed: failed to update installplan bundle lookups: Operation cannot be fulfilled on installplans.operators.coreos.com "install-lkljj": the object has been modified; please apply your changes to the latest version and try again
      E0509 08:19:06.155804       1 queueinformer_operator.go:298] sync {"update" "test-1/test-index"} failed: Operation cannot be fulfilled on catalogsources.operators.coreos.com "test-index": the object has been modified; please apply your changes to the latest version and try again
      
      

      Actual results:

      There are some error log "the object has been modified; please apply your changes to the latest version and try again"

      Expected results:

      no such senseless message

      Additional info:

       

              agreene1991 Alexander Greene (Inactive)
              rhn-support-xzha Xia Zhao
              None
              None
              Xia Zhao Xia Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: