|
|
|
|
|
|
|
|
|
|
xen-api
[Xen-API] [PATCH 1 of 3] [mq]: xapi-locallize-snapshot-with-quiesce-erro
# HG changeset patch
# User Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
# Date 1260286991 0
# Node ID 169c8b562c5668bdc73ca8510f6bc8399b580534
# Parent fb3787ea1b73217538607a45bac0b9378c918330
[mq]: xapi-locallize-snapshot-with-quiesce-error-messages
diff -r fb3787ea1b73 -r 169c8b562c56 ocaml/idl/api_errors.ml
--- a/ocaml/idl/api_errors.ml Tue Dec 08 14:46:40 2009 +0000
+++ b/ocaml/idl/api_errors.ml Tue Dec 08 15:43:11 2009 +0000
@@ -116,6 +116,14 @@
let vm_snapshot_with_quiesce_timeout = "VM_SNAPSHOT_WITH_QUIESCE_TIMEOUT"
let vm_snapshot_with_quiesce_plugin_does_not_respond =
"VM_SNAPSHOT_WITH_QUIESCE_PLUGIN_DEOS_NOT_RESPOND"
let vm_snapshot_with_quiesce_not_supported =
"VM_SNAPSHOT_WITH_QUIESCE_NOT_SUPPORTED"
+let xen_vss_req_error_init_failed = "XEN_VSS_REQ_ERROR_INIT_FAILED"
+let xen_vss_req_error_prov_not_loaded = "XEN_VSS_REQ_ERROR_PROV_NOT_LOADED"
+let xen_vss_req_error_no_volumes_supported =
"XEN_VSS_REQ_ERROR_NO_VOLUMES_SUPPORTED"
+let xen_vss_req_error_start_snapshot_set_failed =
"XEN_VSS_REQ_ERROR_START_SNAPSHOT_SET_FAILED"
+let xen_vss_req_error_adding_volume_to_snapset_failed =
"XEN_VSS_REQ_ERROR_ADDING_VOLUME_TO_SNAPSET_FAILED"
+let xen_vss_req_error_preparing_writers = "XEN_VSS_REQ_ERROR_PREPARING_WRITERS"
+let xen_vss_req_error_creating_snapshot = "XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT"
+let xen_vss_req_error_creating_snapshot_xml_string =
"XEN_VSS_REQ_ERROR_CREATING_SNAPSHOT_XML_STRING"
let vm_revert_failed = "VM_REVERT_FAILED"
let vm_checkpoint_suspend_failed = "VM_CHECKPOINT_SUSPEND_FAILED"
let vm_checkpoint_resume_failed = "VM_CHECKPOINT_RESUME_FAILED"
diff -r fb3787ea1b73 -r 169c8b562c56 ocaml/idl/datamodel.ml
--- a/ocaml/idl/datamodel.ml Tue Dec 08 14:46:40 2009 +0000
+++ b/ocaml/idl/datamodel.ml Tue Dec 08 15:43:11 2009 +0000
@@ -455,8 +455,24 @@
~doc:"The VSS plug-in has timed out" ();
error Api_errors.vm_snapshot_with_quiesce_plugin_does_not_respond [ "vm" ]
~doc:"The VSS plug-in cannot be contacted" ();
- error Api_errors.vm_snapshot_with_quiesce_not_supported [ "vm" ]
+ error Api_errors.vm_snapshot_with_quiesce_not_supported [ "vm"; "error" ]
~doc:"The VSS plug-in is not installed on this virtual machine" ();
+ error Api_errors.xen_vss_req_error_init_failed [ "vm"; "error-code" ]
+ ~doc:"Initialization of the VSS requestor failed" ();
+ error Api_errors.xen_vss_req_error_prov_not_loaded [ "vm"; "error-code" ]
+ ~doc:"The Citrix XenServer Vss Provider is not loaded" ();
+ error Api_errors.xen_vss_req_error_no_volumes_supported [ "vm"; "error-code"
]
+ ~doc:"Could not find any volumes supported by the Citrix XenServer Vss
Provider" ();
+ error Api_errors.xen_vss_req_error_start_snapshot_set_failed [ "vm";
"error-code" ]
+ ~doc:"An attempt to start a new VSS snapshot failed" ();
+ error Api_errors.xen_vss_req_error_adding_volume_to_snapset_failed [ "vm";
"error-code" ]
+ ~doc:"Some volumes to be snapshot could not be added to the VSS snapshot
set" ();
+ error Api_errors.xen_vss_req_error_preparing_writers [ "vm"; "error-code" ]
+ ~doc:"An attempt to prepare VSS writers for the snapshot failed" ();
+ error Api_errors.xen_vss_req_error_creating_snapshot [ "vm"; "error-code" ]
+ ~doc:"An attempt to create the snapshots failed" ();
+ error Api_errors.xen_vss_req_error_creating_snapshot_xml_string [ "vm";
"error-code" ]
+ ~doc:"Could not create the XML string generated by the transportable
snapshot" ();
error Api_errors.vm_revert_failed [ "vm"; "snapshot" ]
~doc:"An error occured while reverting the specified virtual machine to
the specified snapshot" ();
error Api_errors.vm_checkpoint_suspend_failed [ "vm" ]
2 files changed, 25 insertions(+), 1 deletion(-)
ocaml/idl/api_errors.ml | 8 ++++++++
ocaml/idl/datamodel.ml | 18 +++++++++++++++++-
xen-api.hg-3.patch
Description: Text Data
_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
|
|
|
|
|