[pve-devel] Snapshot Tests
Alexandre DERUMIER
aderumier at odiso.com
Fri Sep 14 05:51:16 CEST 2012
>>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'
I think it come from
# search shared storage first
foreach_writable_storage($conf, sub {
my ($sid) = @_;
my $scfg = PVE::Storage::storage_config($storecfg, $sid);
return if !$scfg->{shared};
$target = $sid if !$target || $scfg->{path}; # prefer file based storage
});
we need to check if the storage can handle writing of vmstate.
nexenta and rbd can't do it for now.
----- 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