[libvirt] New VM Snapshot API Not working

Chris Lalancette clalance at redhat.com
Wed Apr 21 13:21:11 UTC 2010


On 04/21/2010 05:01 AM, Tej Parkash, ERS, HCLTech wrote:
> All,
> 
> I have compiled new libvirt library 0.8.0. Compilation and installation went really fine except "make check" which has show some test got failed.  Here is what make check said.
> 
> Failed Test:
> 
> ---------------snip-----------
> PASS: statstest
> TEST: qparamtest
>       ................................         32  OK
> PASS: qparamtest
> TEST: capabilityschematest
>       !!!!!!!!!!!!                             12  FAILED
> FAIL: capabilityschematest
> TEST: interfaceschematest
>       !!!!!!!!!!!!!!!!!!                       18  FAILED
> FAIL: interfaceschematest
> TEST: networkschematest
>       !!!!!!!!!!!                              11  FAILED
> FAIL: networkschematest
> TEST: storagepoolschematest
>       !!!!!!!!!!!!!!!!!!!!                     20  FAILED
> FAIL: storagepoolschematest
> TEST: storagevolschematest
>       !!!!!!!!!!!!                             12  FAILED
> FAIL: storagevolschematest
> TEST: domainschematest
>       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 40
>       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 80
>       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 120
>       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 160
>       !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 200
>       !!                                       202 FAILED
> FAIL: domainschematest
> TEST: nodedevschematest
>       !!!!!!!!!!!!!!                           14  FAILED
> FAIL: nodedevschematest
> TEST: nwfilterschematest
>       !!!!!!!!!!!!!!!!!!!!!!!!!!!              27  FAILED
> FAIL: nwfilterschematest
> TEST: test_conf.sh
>       ..                                       2   OK

The schema tests probably failed because you don't have xmllint installed.

> After I started create some snapshot, I am getting some remote error:
> 
> root at hcl:~# xm li
> Name                                        ID   Mem VCPUs      State   Time(s)
> Domain-0                                     0   622     2     r-----   1755.3
> Test                                         3   256     1     -b----      4.4
> root at hcl:~# virsh snapshot-create 3
> error: unmarshalling remote_error

Ah.  We don't support snapshots for Xen, though this is not the error you should
have seen.  You should have seen "this hypervisor doesn't support virDomainSnapshotCreateXML",
or something like that.  I'll take a look at it and see if I can reproduce.

-- 
Chris Lalancette




More information about the libvir-list mailing list