Bug 2238791 - repeating log message in mtq-controller pod even after removing the VM/Namespace
Summary: repeating log message in mtq-controller pod even after removing the VM/Namespace
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.14.1
Assignee: Barak
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-13 16:24 UTC by Denys Shchedrivyi
Modified: 2023-12-07 15:00 UTC (History)
1 user (show)

Fixed In Version: v4.14.1.rhel9-8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-12-07 15:00:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt managed-tenant-quota pull 18 0 None Merged [release-v1.1]Update number of replicas and remove redundant log 2023-10-03 08:52:53 UTC
Red Hat Issue Tracker CNV-32940 0 None None None 2023-09-13 16:25:58 UTC
Red Hat Product Errata RHSA-2023:7704 0 None None None 2023-12-07 15:00:44 UTC

Description Denys Shchedrivyi 2023-09-13 16:24:06 UTC
Description of problem:
 There is a repeating message in mtq-controller pod logs (every 16-17 minutes) even after removing the Namespace.

> {"component":"","level":"info","msg":"ManagedQuotaController: Error with key: test-mtq/fedora-vm","pos":"mtq-controller.go:211","reason":"there should be 1 virtualMachineMigrationResourceQuota in test-mtq namespace","timestamp":"2023-09-11T20:41:32.004612Z"}
> {"component":"","level":"info","msg":"ManagedQuotaController: Error with key: test-mtq/fedora-vm","pos":"mtq-controller.go:211","reason":"there should be 1 virtualMachineMigrationResourceQuota in test-mtq namespace","timestamp":"2023-09-11T20:58:12.020908Z"}
> {"component":"","level":"info","msg":"ManagedQuotaController: Error with key: test-mtq/fedora-vm","pos":"mtq-controller.go:211","reason":"there should be 1 virtualMachineMigrationResourceQuota in test-mtq namespace","timestamp":"2023-09-11T21:14:52.042517Z"}

> $ oc get ns test-mtq
> Error from server (NotFound): namespaces "test-mtq" not found
 



Version-Release number of selected component (if applicable):
4.14

How reproducible:
100%

Steps to Reproduce:
1. In the namespace without virtualMachineMigrationResourceQuota - create and migrate VM 
2. check mtq-controller pod logs
3.

Actual results:
 repeating message in logs 

Expected results:
 Probably current message should appear only when VM exists and migration initiated

Additional info:

Comment 2 Denys Shchedrivyi 2023-11-27 20:28:56 UTC
Verified on CNV-v4.14.1.rhel9-62 - no repeating log messages in mtq-controller pod

Comment 9 errata-xmlrpc 2023-12-07 15:00:42 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 (Important: OpenShift Virtualization 4.14.1 security 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/RHSA-2023:7704


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