WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] [PATCH 1 of 3] [mq]: xapi-locallize-snapshot-with-quiesce-erro

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 1 of 3] [mq]: xapi-locallize-snapshot-with-quiesce-error-messages
From: Thomas Gazagnaire <thomas.gazagnaire@xxxxxxxxxx>
Date: Tue, 8 Dec 2009 15:57:53 +0000
Delivery-date: Tue, 08 Dec 2009 07:56:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1260287872@steel>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
# 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 +++++++++++++++++-


Attachment: xen-api.hg-3.patch
Description: Text Data

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api
<Prev in Thread] Current Thread [Next in Thread>