Check for unplugged PBDs when selecting SRs for placing a new disk or importing an XVA.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
This commit is contained in:
Konstantina Chremmou 2022-11-29 23:35:32 +00:00
parent e1c808eb8f
commit 1e44d42020
3 changed files with 3 additions and 3 deletions

View File

@ -259,7 +259,7 @@ namespace XenAdmin.Controls
protected bool IsBroken(out string cannotEnableReason)
{
if (TheSR.IsBroken(false))
if (TheSR.IsBroken())
{
cannotEnableReason = Messages.SR_IS_BROKEN;
return true;

View File

@ -35271,7 +35271,7 @@ namespace XenAdmin {
}
/// <summary>
/// Looks up a localized string similar to This storage repository is broken.
/// Looks up a localized string similar to This SR is broken or not fully attached..
/// </summary>
public static string SR_IS_BROKEN {
get {

View File

@ -12219,7 +12219,7 @@ Incremental allocation: {1}</value>
<value>This SR contains running VMs.</value>
</data>
<data name="SR_IS_BROKEN" xml:space="preserve">
<value>This storage repository is broken</value>
<value>This SR is broken or not fully attached.</value>
</data>
<data name="SR_IS_LOCAL" xml:space="preserve">
<value>VMs without a home server cannot have disks on local storage</value>