CP-20545: [XC] Validate the usage of "scheduled snapshots" and "snapshot schedules"

Signed-Off-By: Sharath Babu <sharath.babu@citrix.com>
This commit is contained in:
Sharath Babu 2017-02-08 14:00:47 +05:30
parent 0800e361c6
commit 087be4a776
3 changed files with 9 additions and 9 deletions

View File

@ -71,7 +71,7 @@ namespace XenAdmin.Alerts
}
StringBuilder sb = new StringBuilder();
sb.AppendFormat(Message.FriendlyBody(name), policyName, numberOfVMsFailed);
sb.AppendFormat(Message.FriendlyBody(name), policyName);
string[] messageHeader = Regex.Split(body.Replace("\n", " "), "Details:");
/* get a list of all VMs that have encountered an error */

View File

@ -4221,7 +4221,7 @@ namespace XenAdmin {
}
/// <summary>
/// Looks up a localized string similar to The XenServer license you are using does not allow you to use the snapshot schedule feature..
/// Looks up a localized string similar to The XenServer license you are using does not allow you to use the Scheduled Snapshots feature..
/// </summary>
public static string Message_body_vmss_license_error {
get {
@ -4230,7 +4230,7 @@ namespace XenAdmin {
}
/// <summary>
/// Looks up a localized string similar to The snapshot schedule &apos;{0}&apos; failed because a snapshot could not be created on {1} VMs..
/// Looks up a localized string similar to The snapshot schedule &apos;{0}&apos; failed because a snapshot could not be created..
/// </summary>
public static string Message_body_vmss_snapshot_failed {
get {
@ -4239,7 +4239,7 @@ namespace XenAdmin {
}
/// <summary>
/// Looks up a localized string similar to Unable to create snapshots at this time because the snapshot schedule operation for this policy is already in progress. Please try again later..
/// Looks up a localized string similar to Unable to create snapshots at this time because a scheduled snapshot operation is already in progress in this pool. Only one scheduled snapshot operation can run at a time in the same pool. Please check that the snapshot schedules in this pool do not clash..
/// </summary>
public static string Message_body_vmss_snapshot_lock_failed {
get {
@ -4248,7 +4248,7 @@ namespace XenAdmin {
}
/// <summary>
/// Looks up a localized string similar to Unable to create snapshots at this time because a snapshot schedule&apos;s snapshot operation is already in progress in this pool. One only snapshot schedule operation can run at a time in the same pool. Please check that the snapshot schedules in this pool do not clash..
/// Looks up a localized string similar to Unable to create snapshots at this time because the scheduled snapshot operation for this policy is already in progress. Please try again later..
/// </summary>
public static string Message_body_vmss_snapshot_missed_event {
get {

View File

@ -1215,16 +1215,16 @@
<value>Unable to log in to XAPI session.</value>
</data>
<data name="Message.body-vmss_license_error" xml:space="preserve">
<value>The XenServer license you are using does not allow you to use the snapshot schedule feature.</value>
<value>The XenServer license you are using does not allow you to use the Scheduled Snapshots feature.</value>
</data>
<data name="Message.body-vmss_snapshot_failed" xml:space="preserve">
<value>The snapshot schedule '{0}' failed because a snapshot could not be created on {1} VMs.</value>
<value>The snapshot schedule '{0}' failed because a snapshot could not be created.</value>
</data>
<data name="Message.body-vmss_snapshot_lock_failed" xml:space="preserve">
<value>Unable to create snapshots at this time because the snapshot schedule operation for this policy is already in progress. Please try again later.</value>
<value>Unable to create snapshots at this time because a scheduled snapshot operation is already in progress in this pool. Only one scheduled snapshot operation can run at a time in the same pool. Please check that the snapshot schedules in this pool do not clash.</value>
</data>
<data name="Message.body-vmss_snapshot_missed_event" xml:space="preserve">
<value>Unable to create snapshots at this time because a snapshot schedule's snapshot operation is already in progress in this pool. One only snapshot schedule operation can run at a time in the same pool. Please check that the snapshot schedules in this pool do not clash.</value>
<value>Unable to create snapshots at this time because the scheduled snapshot operation for this policy is already in progress. Please try again later.</value>
</data>
<data name="Message.body-vmss_snapshot_succeeded" xml:space="preserve">
<value>Snapshot schedule succeeded</value>