[pve-devel] pve: cloning

Alexandre DERUMIER aderumier at odiso.com
Mon May 27 09:45:26 CEST 2013


I made some progress,

full clone : nexenta -> local

seem that the problem occur if when we retrieve size of the original nexenta volume, 
then it thrown the tainted mode error when we create the target volume on local (with qemu-img create)



my ($size) = PVE::Storage::volume_size_info($storecfg, $drive->{file}, 3);

forcing a size works fine.
my ($size) = 1073741824;


volume_size_info is just an call to api with HTTP::Request.

So maybe using HTTP::Request break with tainted mode ?



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

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com, "Michael Rasmussen" <mir at datanom.net> 
Envoyé: Vendredi 24 Mai 2013 15:31:44 
Objet: RE: [pve-devel] pve: cloning 

I am sorry, I cannot reproduce. 

See 'man perlsec' for an intro to 'taint mode' 

Maybe you can further debug yourself. 

> -----Original Message----- 
> From: Alexandre DERUMIER [mailto:aderumier at odiso.com] 
> Sent: Freitag, 24. Mai 2013 15:20 
> To: Dietmar Maurer 
> Cc: pve-devel at pve.proxmox.com; Michael Rasmussen 
> Subject: Re: [pve-devel] pve: cloning 
> 
> bootdisk: ide0 
> cores: 1 
> ide0: nexentatestapi:vm-277-disk-1,size=32G 
> ide2: none,media=cdrom 
> memory: 512 
> name: test 
> net0: e1000=8A:23:4D:FB:B0:3A,bridge=vmbr0 
> ostype: l26 
> sockets: 1 
> 
> 
> 
> with gui only: 
> 
> create full clone of drive ide0 (nexentatestapi:vm-277-disk-1) TASK ERROR: 
> clone failed: unable to create image: Insecure dependency in exec while 
> running with -T switch at /usr/share/perl/5.14/IPC/Open3.pm line 187. 
> 
> 
> qm clone command line works fine 



More information about the pve-devel mailing list