[pve-devel] Snapshot Tests

Alexandre DERUMIER aderumier at odiso.com
Fri Sep 14 04:24:19 CEST 2012


>>OK first problem is the QemuServer.pm and the hardcoded cases where 
>>snapshot is possible: 
>>die "can't snapshot volume '$volid'\n" 
>>if !(($scfg->{path} && $volname =~ m/\.qcow2$/) || 
>>($scfg->{type} eq 'rbd') || 
>>($scfg->{type} eq 'sheepdog')); 

Dietmar, can we add some property to a storage plugin and check it ? (I really don't like theses hardcoded values)


>>If you add nexenta then snapshotting works fine except you want to 
>>include state. 
>>
>>TASK ERROR: VM 102 qmp command 'snapshot-start' failed - Could not open 
>>'iscsi://10.255.0.10/iqn.1986-03.com.sun:02:9f6ecfd8-ea21-cc24-fd90-f8a0d8edf0b6/6' 

yes, state can't be writen like this on the iscsi volume.(maybe not impossible). use external file should be more easy.



>>Deleting snapshot results in: 
>>TASK ERROR: Nexenta API Error: More items found in D-Bus signature than 
>>in Python arguments at /usr/share/perl5/PVE/Storage/NexentaPlugin.pm 
>>line 34

I'll check the code, I seem to miss some parameters in the json.


----- Mail original ----- 

De: "Stefan Priebe" <s.priebe at profihost.ag> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Jeudi 13 Septembre 2012 22:20:57 
Objet: Re: [pve-devel] Snapshot Tests 

OK first problem is the QemuServer.pm and the hardcoded cases where 
snapshot is possible: 
die "can't snapshot volume '$volid'\n" 
if !(($scfg->{path} && $volname =~ m/\.qcow2$/) || 
($scfg->{type} eq 'rbd') || 
($scfg->{type} eq 'sheepdog')); 

If you add nexenta then snapshotting works fine except you want to 
include state. 

TASK ERROR: VM 102 qmp command 'snapshot-start' failed - Could not open 
'iscsi://10.255.0.10/iqn.1986-03.com.sun:02:9f6ecfd8-ea21-cc24-fd90-f8a0d8edf0b6/6' 

Deleting snapshot results in: 
TASK ERROR: Nexenta API Error: More items found in D-Bus signature than 
in Python arguments at /usr/share/perl5/PVE/Storage/NexentaPlugin.pm 
line 34. 

Stefan 
Am 13.09.2012 16:38, schrieb Alexandre DERUMIER: 
> I'll try to test it tommorrow or this weekend. (I'm bit busy now) 
> 
> 
> ----- Mail original ----- 
> 
> De: "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
> À: pve-devel at pve.proxmox.com 
> Envoyé: Jeudi 13 Septembre 2012 13:22:40 
> Objet: [pve-devel] Snapshot Tests 
> 
> Hello list, 
> 
> i started to test the snapshot functionality using nexenta storage. 
> 
> But when i want to take a snapshot i get: 
> TASK ERROR: can't snapshot volume 'Cloud1Stor1:vm-103-disk-1' 
> 
> Stefan 
> _______________________________________________ 
> pve-devel mailing list 
> pve-devel at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
> 



More information about the pve-devel mailing list