Bug 2048349
| Summary: | Service CA Operator does not reconcile for spec.loglevel changes in ServiceCA CRD | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Michael Washer <mwasher> |
| Component: | service-ca | Assignee: | Standa Laznicka <slaznick> |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.9 | CC: | aos-bugs, kostrows, mfojtik, slaznick, surbania, xxia |
| Target Milestone: | --- | ||
| Target Release: | 4.12.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-01-17 19:47:08 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
Michael Washer
2022-01-31 03:52:44 UTC
*** Bug 2048348 has been marked as a duplicate of this bug. *** I was able to reproduce the issue. The aforementioned `needsDeploy` logic is a little flawed in general, most if not all the resources should not force a redeployment in fact. The issue has fixed:
[root@localhost ~]# oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.12.0-0.nightly-2022-09-28-204419 True False 37m Cluster version is 4.12.0-0.nightly-2022-09-28-204419
oc get servicecas cluster -o=jsonpath='{.spec.logLevel}'
Trace[root@localhost ~]# oc get pod
NAME READY STATUS RESTARTS AGE
service-ca-6495bddb88-w7tkk 1/1 Running 0 48s
[root@localhost ~]# oc exec po/service-ca-6495bddb88-w7tkk -- ps ax
PID TTY STAT TIME COMMAND
1 ? Ssl 0:01 service-ca-operator controller -v=6
16 ? Rs 0:00 ps ax
[root@localhost ~]# oc get servicecas cluster -o=jsonpath='{.spec.logLevel}'
Normal[root@localhost ~]# oc exec pod/service-ca-5f9bc879d8-4mt9t -- ps ax
PID TTY STAT TIME COMMAND
1 ? Ssl 0:00 service-ca-operator controller -v=2
16 ? Rs 0:00 ps ax
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 (Moderate: OpenShift Container Platform 4.12.0 bug fix and security 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/RHSA-2022:7399 |