Bug 1817097
Summary: | Failed to create or get service for metrics: services is forbidden: cannot set blockOwnerDeletion in cluster-logging-operator | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Oscar Casal Sanchez <ocasalsa> |
Component: | Logging | Assignee: | Periklis Tsirakidis <periklis> |
Status: | CLOSED ERRATA | QA Contact: | Qiaoling Tang <qitang> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.3.z | CC: | aos-bugs, periklis, qitang |
Target Milestone: | --- | ||
Target Release: | 4.5.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-07-13 17:23:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Oscar Casal Sanchez
2020-03-25 14:59:25 UTC
There still have these error logs in the CLO and EO pod. Testing images are from 4.5.0-0.ci-2020-04-24-012839 $ oc logs -n openshift-operators-redhat elasticsearch-operator-b44d4f876-s68kl {"level":"info","ts":1587707915.5165293,"logger":"cmd","msg":"Go Version: go1.13.8"} {"level":"info","ts":1587707915.5165737,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"} {"level":"info","ts":1587707915.516579,"logger":"cmd","msg":"Version of operator-sdk: v0.8.2"} {"level":"info","ts":1587707915.516989,"logger":"leader","msg":"Trying to become the leader."} {"level":"info","ts":1587707915.742507,"logger":"leader","msg":"No pre-existing lock was found."} {"level":"info","ts":1587707915.7529628,"logger":"leader","msg":"Became the leader."} {"level":"info","ts":1587707916.0702565,"logger":"cmd","msg":"Registering Components."} {"level":"info","ts":1587707916.0712004,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"kibana-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707916.071423,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"elasticsearch-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707916.0716872,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"proxyconfig-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707916.0718582,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"kibanasecret-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707916.0721056,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"trustedcabundle-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707916.3842432,"logger":"cmd","msg":"failed to create or get service for metrics: services \"elasticsearch-operator\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"} {"level":"info","ts":1587707916.3842745,"logger":"cmd","msg":"Starting the Cmd."} $ oc logs cluster-logging-operator-6fff647b89-pbg4h {"level":"info","ts":1587707938.0083652,"logger":"cmd","msg":"Go Version: go1.12.16"} {"level":"info","ts":1587707938.0083916,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"} {"level":"info","ts":1587707938.0084045,"logger":"cmd","msg":"Version of operator-sdk: v0.8.2"} {"level":"info","ts":1587707938.008979,"logger":"leader","msg":"Trying to become the leader."} {"level":"info","ts":1587707938.1408584,"logger":"leader","msg":"Found existing lock","LockOwner":"cluster-logging-operator-7fb9b7c876-njjjp"} {"level":"info","ts":1587707938.1547015,"logger":"leader","msg":"Not the leader. Waiting."} {"level":"info","ts":1587707939.3150458,"logger":"leader","msg":"Not the leader. Waiting."} {"level":"info","ts":1587707941.4651976,"logger":"leader","msg":"Became the leader."} {"level":"info","ts":1587707941.5699837,"logger":"cmd","msg":"Registering Components."} {"level":"info","ts":1587707941.5705988,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"clusterlogging-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707941.5707474,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"logforwarding-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707941.570857,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"collector-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707941.57104,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"proxyconfig-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707941.571199,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"trustedcabundle-controller","source":"kind source: /, Kind="} {"level":"info","ts":1587707941.813846,"logger":"cmd","msg":"failed to create or get service for metrics: services \"cluster-logging-operator\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>"} {"level":"info","ts":1587707941.8138752,"logger":"cmd","msg":"Starting the Cmd."} (In reply to Qiaoling Tang from comment #5) > There still have these error logs in the CLO and EO pod. I forgot to update the manifests when I testing this issue. The issue in CLO is fixed, but it still could be reproduced in EO. > Testing images are from 4.5.0-0.ci-2020-04-24-012839 > > $ oc logs -n openshift-operators-redhat > elasticsearch-operator-b44d4f876-s68kl > {"level":"info","ts":1587707915.5165293,"logger":"cmd","msg":"Go Version: > go1.13.8"} > {"level":"info","ts":1587707915.5165737,"logger":"cmd","msg":"Go OS/Arch: > linux/amd64"} > {"level":"info","ts":1587707915.516579,"logger":"cmd","msg":"Version of > operator-sdk: v0.8.2"} > {"level":"info","ts":1587707915.516989,"logger":"leader","msg":"Trying to > become the leader."} > {"level":"info","ts":1587707915.742507,"logger":"leader","msg":"No > pre-existing lock was found."} > {"level":"info","ts":1587707915.7529628,"logger":"leader","msg":"Became the > leader."} > {"level":"info","ts":1587707916.0702565,"logger":"cmd","msg":"Registering > Components."} > {"level":"info","ts":1587707916.0712004,"logger":"kubebuilder.controller", > "msg":"Starting EventSource","controller":"kibana-controller","source":"kind > source: /, Kind="} > {"level":"info","ts":1587707916.071423,"logger":"kubebuilder.controller", > "msg":"Starting > EventSource","controller":"elasticsearch-controller","source":"kind source: > /, Kind="} > {"level":"info","ts":1587707916.0716872,"logger":"kubebuilder.controller", > "msg":"Starting > EventSource","controller":"proxyconfig-controller","source":"kind source: /, > Kind="} > {"level":"info","ts":1587707916.0718582,"logger":"kubebuilder.controller", > "msg":"Starting > EventSource","controller":"kibanasecret-controller","source":"kind source: > /, Kind="} > {"level":"info","ts":1587707916.0721056,"logger":"kubebuilder.controller", > "msg":"Starting > EventSource","controller":"trustedcabundle-controller","source":"kind > source: /, Kind="} > {"level":"info","ts":1587707916.3842432,"logger":"cmd","msg":"failed to > create or get service for metrics: services \"elasticsearch-operator\" is > forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a > resource you can't set finalizers on: , <nil>"} > {"level":"info","ts":1587707916.3842745,"logger":"cmd","msg":"Starting the > Cmd."} > @Qiaoling Tang TBH, I had to split the issue for EO in a separate BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1827063 This makes backporting and BZ-depenendecies easier for us. Please reconsider to put this BUG to VERIFIED for CLO. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |