What did you do?
Try to install operator with operator hub to a specific NS, the namespace is create several months ago and alreay have some operator running.
What did you expect to see?Deployment of operator start to run
What did you see instead? Under which circumstances?
Nothing happened, there is only a subscription. its state is normal. No related installplan or CVS generated.
The state of catalogsources is ok.
Then I check the log of catalog-operator, nothing wrong but one thing is dubiously:
time="2022-09-28T23:31:53Z" level=warning msg="an error was encountered during reconciliation" error="Operation cannot be fulfilled on subscriptions.operators.coreos.com \"ibm-user-data-services-operator\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/operators.coreos.com/subscriptions/ibm-common-services/ibm-user-data-services-operator, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 01268747-7774-4821-b304-87f84bb92aa3, UID in object meta: " event=update reconciling="*v1alpha1.Subscription" selflink=
But when I install same operator in another NS, everything works as expected.
That's weird, that's means catalogsources works well, the OLM works well. but not work with a specific NS.
Any clue will be welcome, thanks
Environment
operator-lifecycle-manager version:
OLM in OCP 4.8.39
Kubernetes version information:
Kubernetes cluster kind:
Possible Solution
Additional context
Add any other context about the problem here.
Bug Report
What did you do? Try to install operator with
operator hub
to a specific NS, the namespace is create several months ago and alreay have some operator running.What did you expect to see?
Deployment
of operator start to runWhat did you see instead? Under which circumstances? Nothing happened, there is only a
subscription
. its state is normal. No relatedinstallplan
or CVS generated. The state ofcatalogsources
is ok.Then I check the log of
catalog-operator
, nothing wrong but one thing is dubiously:But when I install same operator in another NS, everything works as expected.
That's weird, that's means
catalogsources
works well, the OLM works well. but not work with a specific NS. Any clue will be welcome, thanksEnvironment
operator-lifecycle-manager version: OLM in OCP 4.8.39
Kubernetes version information:
Possible Solution
Additional context Add any other context about the problem here.