xenadmin/XenAdmin/Diagnostics/Checks
Mihaela Stoica 76c806c0b3 CA-322790: Fix unhandled exception when the host cannot be reached to execute an API call.
In the CrossPoolMigrateCanMigrateFilter a WebException can be raised if the host cannot be reached to execute the API call that asserts is the VM can be migrated there. With these changes, we catch any exception (not just Failure) and mark the VM as not migratable (because we couldn't assert if it can be migrated to that host).

Also fixed other places where the same error might occur.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2019-07-24 09:46:00 +01:00
..
DR Removed code applicable to servers earlier than dundee since connection to them is now blocked. 2019-02-06 09:25:38 +00:00
AssertCanEvacuateCheck.cs CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this 2018-07-04 12:09:37 +01:00
AssertCanEvacuateUpgradeCheck.cs CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this 2018-07-04 12:09:37 +01:00
AutomatedUpdatesLicenseCheck.cs CA-293682: In the RPU wizard, only check the batch hotfix license restriction for Dundee or greater hosts 2018-07-11 12:59:52 +01:00
CfuAvailabilityCheck.cs CA-293764: Added new property XenObject to the Checks, which returns the Pool 2018-07-13 12:39:33 +01:00
Check.cs CA-293764: Added new property XenObject to the Checks, which returns the Pool 2018-07-13 12:39:33 +01:00
DiskSpaceForBatchUpdatesCheck.cs Removed code applicable to servers earlier than dundee since connection to them is now blocked. 2019-02-06 09:25:38 +00:00
HAOffCheck.cs Reverted the AutomatedUpdatedLicenseCheck to derive from HostPostLivenessCheck or 2018-07-08 22:43:21 +01:00
HostCheck.cs CA-293764: Added new property XenObject to the Checks, which returns the Pool 2018-07-13 12:39:33 +01:00
HostHasHotfixCheck.cs CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this 2018-07-04 12:09:37 +01:00
HostHasUnsupportedStorageLinkSRCheck.cs CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this 2018-07-04 12:09:37 +01:00
HostLivenessCheck.cs Removed HostMaintenanceModeCheck; simplified logic by having the HostLivenessCheck 2018-10-22 14:23:29 +01:00
HostMemoryPostUpgradeCheck.cs CA-322790: Fix unhandled exception when the host cannot be reached to execute an API call. 2019-07-24 09:46:00 +01:00
HostNeedsRebootCheck.cs CA-317752: Take live-patching qualification into consideration in the Install Update pre-checks 2019-07-22 17:49:18 +01:00
PatchPrecheckCheck.cs CA-322790: Fix unhandled exception when the host cannot be reached to execute an API call. 2019-07-24 09:46:00 +01:00
PBDsPluggedCheck.cs CA-299356: If there are any broken SRs, show all of them when running prechecks 2018-10-22 14:23:29 +01:00
PoolCheck.cs CA-293764: Added new property XenObject to the Checks, which returns the Pool 2018-07-13 12:39:33 +01:00
PoolHasGFS2SR.cs Update the PoolHasGFS2SR class to inherit from HostPostLivenessCheck 2018-07-13 13:23:01 +01:00
PrepareToUpgradeCheck.cs CA-322790: Fix unhandled exception when the host cannot be reached to execute an API call. 2019-07-24 09:46:00 +01:00
RebootPendingOnMasterCheck.cs CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this 2018-07-04 12:09:37 +01:00
SafeToUpgradeCheck.cs CA-322790: Fix unhandled exception when the host cannot be reached to execute an API call. 2019-07-24 09:46:00 +01:00
ServerSelectionCheck.cs CA-293328: SafeToUpgradeCheck was not checking for liveness first; now this 2018-07-04 12:09:37 +01:00
XenCenterVersionCheck.cs CA-293764: Added new property XenObject to the Checks, which returns the Pool 2018-07-13 12:39:33 +01:00