Re: [PATCH] esxConnectListAllDomains: Don't propagate failure to lookup a single domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 26, 2025 at 13:39:55 +0100, Peter Krempa via Devel wrote:
> From: Peter Krempa <pkrempa@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>
> ---

Forgot to add disclaimer. I didn't test this because I don't have a
(broken) ESX setup.



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux