Management agent not detected after VM migrated - Windows XCP-ng PV drivers 9.0.9137
-
I've been testing out the new XCP-ng Windows PV drivers (version 9.0.9137) and I've run across what appears to be a bug.
The tools status shows normally in Xen Orchestra for a VM with the tools installed but if I migrate a VM to a different host Xen Orchestra seems to lose that connection. After migration it shows a status of "Management agent not detected". The only thing that can bring it back to recognizing that the tools are installed is a reboot of the guest. I've tried restarting all 4 of the xcp-ng/xen related Windows services and that doesn't help either, only a reboot.
I've tested this on a Windows Server 2022 VM that had the XenServer VM Tools removed with XenClean and then the new tools installed. I have also tested it with a fresh install of Windows Server 2019 and only the new tools installed. Finally, I have confirmed the same behavior with a Windows 11 VM that had the XenServer VM Tools removed with XenClean and then the new tools installed.
We are running XCP-ng with all of the latest updates installed and Xen Orchestra version 5.112.1
One of the side effects of the tools not being detected after a migration is that it no longer shows memory usage on the Stats tab (until a reboot of the VM). Here are some before/after migration screenshots of one of the servers with some of the changes highlighted.
General tab before migration:

General tab after migration:

Advanced tab before migration:

Advanced tab after migration:

Stats tab before migration:

Stats tab after migration:

Has anyone else seen this behavior?
-
Hi,
IIRC, it's a known (cosmetic) problem (just the report, but the tools are still working). Also IIRC, @dinhngtu has or works on a patch.