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:
Verified on CNV-v4.14.1.rhel9-62 - no repeating log messages in mtq-controller pod
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