At this point, we would like to try to reproduce it on QE's (Nisim's) environment what doesn't add up here - is that the output from vdsm changes upon restart of ovirt-engine
Thanks Arik and Nisim for reproducing the issue and posting a fix so quickly. The workaround to refresh host capabilities seems better than restarting the ovirt-engine every time.
There is no point in testing this before the fix for bz 1987121 gets in
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
Verified: ovirt-engine-4.5.0-0.237.el8ev vdsm-4.50.0.10-1.el8ev.x86_64 qemu-kvm-6.2.0-10.module+el8.6.0+14540+5dcf03db.x86_64 libvirt-daemon-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64 NVIDIA-vGPU-rhel-8.5-470.103.02.x86_64 Verification scenario: 1. Run 3 VMs with nvidia-22 instance (Max. available nvidia-22 in this host is 4). 2. Run another VM using "Run once" option. 3. Shut down VM and run it again. Verify VM is running properly with vGPU instance. (In the reproduction of the bug we saw the next error: Running VM failed with "unavailableMDevs") 4. Repeat steps 2-3 few more times.
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: RHV Manager (ovirt-engine) [ovirt-4.5.0] 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:4711