[pve-devel] pve: cloning

Dietmar Maurer dietmar at proxmox.com
Fri May 24 14:04:41 CEST 2013


> 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