Bug 2161879 - logging issue when deleting webhook resources
Summary: logging issue when deleting webhook resources
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: rook
Version: 4.12
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ODF 4.13.0
Assignee: Subham Rai
QA Contact: Vijay Avuthu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-18 06:52 UTC by Vijay Avuthu
Modified: 2023-08-09 17:03 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-06-21 15:23:05 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rook rook pull 11593 0 None open operator: fix webhook logging during deletion 2023-01-30 05:11:57 UTC
Red Hat Product Errata RHBA-2023:3742 0 None None None 2023-06-21 15:24:13 UTC

Description Vijay Avuthu 2023-01-18 06:52:28 UTC
Description of problem (please be detailed as possible and provide log
snippests):

As part of bug https://bugzilla.redhat.com/show_bug.cgi?id=2152839 verification, found out logging is not proper when deleting webhook resources


Version of all relevant components (if applicable):
openshift installer (4.12.0-0.nightly-2023-01-10-062211)
ocs-registry:4.12.0-167

Does this issue impact your ability to continue to work with the product
(please explain in detail what is the user impact)?


Is there any workaround available to the best of your knowledge?
NA

Rate from 1 - 5 the complexity of the scenario you performed that caused this
bug (1 - very simple, 5 - very complex)?
1

Can this issue reproducible?
2/2

Can this issue reproduce from the UI?
Yes

If this is a regression, please provide more details to justify this:
NA

Steps to Reproduce:
1. install OCP (4.12.0-0.nightly-2023-01-10-062211)
2. install cert-manager
3. deploy ODF ( 4.12.0-167 )
4. check rook-ceph-operator log


Actual results:

2023-01-17 09:10:58.289564 I | operator: deleting webhook cert manager Issuer %sselfsigned-issuer
2023-01-17 09:10:58.393056 I | operator: deleting validating webhook service %srook-ceph-admission-controller

Expected results:

expecting actual name instead of %s

Additional info:

Comment 9 Subham Rai 2023-04-14 08:57:33 UTC
everything place, removing my needinfo

Comment 10 Vijay Avuthu 2023-05-04 15:57:09 UTC
Updated:
=========

Verified with odf-operator.v4.13.0-182.stable

$ oc get csv
NAME                                         DISPLAY                       VERSION             REPLACES   PHASE
mcg-operator.v4.13.0-182.stable              NooBaa Operator               4.13.0-182.stable              Succeeded
ocs-operator.v4.13.0-182.stable              OpenShift Container Storage   4.13.0-182.stable              Succeeded
odf-csi-addons-operator.v4.13.0-182.stable   CSI Addons                    4.13.0-182.stable              Succeeded
odf-operator.v4.13.0-182.stable              OpenShift Data Foundation     4.13.0-182.stable              Succeeded

$ oc -n cert-manager-operator get csv
NAME                            DISPLAY                                       VERSION   REPLACES   PHASE
cert-manager-operator.v1.10.2   cert-manager Operator for Red Hat OpenShift   1.10.2               Succeeded

$ oc logs rook-ceph-operator-684d9f6f6b-dpn4b | grep -ir "delete webhook resources since webhook is disabled" rook_ceph_op.log  -A5
2023-05-04 13:13:05.020660 I | operator: delete webhook resources since webhook is disabled
2023-05-04 13:13:05.020663 I | operator: deleting validating webhook rook-ceph-webhook
2023-05-04 13:13:05.022830 I | operator: deleting webhook cert manager Certificate rook-admission-controller-cert
2023-05-04 13:13:05.024753 I | operator: deleting webhook cert manager Issuer "selfsigned-issuer"
2023-05-04 13:13:05.026672 I | operator: deleting validating webhook service "rook-ceph-admission-controller"
2023-05-04 13:13:05.028358 I | ceph-cluster-controller: successfully started

Comment 12 errata-xmlrpc 2023-06-21 15:23:05 UTC
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 (Red Hat OpenShift Data Foundation 4.13.0 enhancement and bug fix update), 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-2023:3742


Note You need to log in before you can comment on or make changes to this bug.