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:
- duplicates
-
OCPBUGS-37634 queueinformer_operator.go:319] sync {"update" "e2e-test-storage-lso-xxx/lso-sub-xxxxx"} failed: Operation cannot be fulfilled on subscriptions.operators.coreos.com "lso-sub-xxxxx"
-
- Closed
-