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" <[email protected]> 
À: "Alexandre DERUMIER" <[email protected]> 
Cc: [email protected], "Michael Rasmussen" <[email protected]> 
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:[email protected]] 
> Sent: Freitag, 24. Mai 2013 15:20 
> To: Dietmar Maurer 
> Cc: [email protected]; 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 
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to