[pve-devel] pve: cloning

Alexandre DERUMIER aderumier at odiso.com
Fri May 24 14:28:31 CEST 2013


>>Are you still running 2.3? 
>>I ask because the nexenta plugin does not work at all on Wheezy. 
>>I need to disable the verify_hostname option for https: 

My test cluster is on 3.0, but i'm using http and not https.

I just have tried with https, I have the same problem than you. 

(this fix also my problem)


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

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

> I can reproduce here too with full clone: (only with nexenta plugin in the 
> game) 

Are you still running 2.3? 

I ask because the nexenta plugin does not work at all on Wheezy. 

I need to disable the verify_hostname option for https: 


iff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm 
index 4c0e14a..3422b02 100644 
--- a/PVE/Storage/NexentaPlugin.pm 
+++ b/PVE/Storage/NexentaPlugin.pm 
@@ -28,7 +28,7 @@ sub nexenta_request { 
my $token = encode_base64("$scfg->{login}:$scfg->{password}"); 
$req->header(Authorization => "Basic $token"); 

- my $ua = LWP::UserAgent->new; # You might want some options here 
+ my $ua = LWP::UserAgent->new(ssl_opts => { verify_hostname => 0 }); 
my $res = $ua->request($req); 
die $res->content if !$res->is_success; 



More information about the pve-devel mailing list