mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-23 12:30:50 +01:00
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:
parent
e1c808eb8f
commit
1e44d42020
@ -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;
|
||||
|
2
XenModel/Messages.Designer.cs
generated
2
XenModel/Messages.Designer.cs
generated
@ -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 {
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user