[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-API] SDK 6.2 for C - snapshot always fails with error about quiesce not supported


  • To: xen-api@xxxxxxxxxxxxx
  • From: Pugnator <ookami@xxxxxxx>
  • Date: Fri, 11 Oct 2013 20:41:32 +0400
  • Delivery-date: Fri, 11 Oct 2013 16:42:03 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

Hi,
I recently updated to xenapi SDK 6.2 and met some strange issue with VM snapshotting

Target:
XenServer 6.2 b70446c

Here is the code, for example:

xen_session session;
xen_vm vm, result;
char *uuid="XXXXXXXXXXXXXXXXXXXX";
char *new_uuid;
...
if(xen_vm_assert_operation_valid(session, vm, XEN_VM_OPERATIONS_SNAPSHOT))
    {
        xen_vm_snapshot(session, &result, vm, uuid);
        xen_vm_get_uuid(session, &new_uuid, result);
        xen_vm_free(vm);
        xen_vm_free(result);
        return new_uuid;
    }


This code will always be FALSE in my case - I tested on three hosts with 6.1 and 6.2. If I ignore it and just do the snapshot, I get the following error:

2VM_SNAPSHOT_WITH_QUIESCE_NOT_SUPPORTED OpaqueRef:77655d2e-4c6d-9970-0e2f-65dd3d2ec2cc

Error is the same for every VM I have. I do not use xen_vm_snapshot_with_quiesce, but this error pointed to it. VMs were created mostly in XenServer 5.0/5.6
It happens for every VM I tested
I have no way to test it with SDK 6.1 ath the moment but it worked for sure.

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.