26 Mar
2025
26 Mar
'25
1:41 p.m.
On Wed, Mar 26, 2025 at 13:39:55 +0100, Peter Krempa via Devel wrote:
From: Peter Krempa <pkrempa@redhat.com>
In esxConnectListAllDomains if the lookup of the VM name and UUID fails for a single VM (possible e.g. with broken storage) the whole API would return failure even when there are working VMs.
Rework the lookup so that if a subset fails we ignore the failure on those. We report an error only if lookup of all of the objects failed. Failure is reported from the last one.
Resolves: https://issues.redhat.com/browse/RHEL-80606 Signed-off-by: Peter Krempa <pkrempa@redhat.com> ---
Forgot to add disclaimer. I didn't test this because I don't have a (broken) ESX setup.