>>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" <[email protected]> 
À: "Alexandre DERUMIER" <[email protected]>, "Michael Rasmussen" 
<[email protected]> 
Cc: [email protected] 
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; 
_______________________________________________
pve-devel mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to