Bug 2105257
| Summary: | Can't set log verbosity level for virt-operator pod | ||
|---|---|---|---|
| Product: | Container Native Virtualization (CNV) | Reporter: | zhe peng <zpeng> |
| Component: | Virtualization | Assignee: | Itamar Holder <iholder> |
| Status: | CLOSED ERRATA | QA Contact: | zhe peng <zpeng> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.11.0 | CC: | acardace |
| 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-24 13:37:46 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: | |||
We need the following info: 1) HCO CR 2) KV CR 3) virt-operator deployment manifest. Kubevirt PR: https://github.com/kubevirt/kubevirt/pull/8476 PR merged upstream verify with build:
v4.12.0-585
step:
1.set log verbosity in HCO cr
....
spec:
logVerbosityConfig:
kubevirt:
virtOperator: 8
....
2. check two operator pod's log
$ oc logs virt-operator-69ff4ffc96-r6p49 -n openshift-cnv| grep verbosity
{"component":"virt-operator","level":"info","msg":"set log verbosity to 8","pos":"application.go:459","timestamp":"2022-10-17T06:17:42.925115Z"}
$ oc logs virt-operator-69ff4ffc96-t7h9m -n openshift-cnv | grep verbosity
{"component":"virt-operator","level":"info","msg":"set log verbosity to 8","pos":"application.go:459","timestamp":"2022-10-17T06:17:42.925233Z"}
move to verified.
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 (Important: OpenShift Virtualization 4.12.0 Images 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-2023:0408 |
Description of problem: Can't set log verbosity level for virt-operator pod Version-Release number of selected component (if applicable): 4.11 How reproducible: always Steps to Reproduce: 1.set log verbosity in HCO spec: logVerbosityConfig: kubevirt: virtOperator: 8 2.check virt-operator pods $ oc logs virt-operator-cf86f858d-bwfsm | grep verbosity $(no output) Actual results: no output Expected results: should like other virt components pods $oc logs virt-controller-5d5bf5f97-ls5wx| grep verbosity {"component":"virt-controller","level":"info","msg":"set log verbosity to 2","pos":"application.go:405","timestamp":"2022-07-06T02:53:46.5414 Additional info: