search for: verify_certif

Displaying 10 results from an estimated 10 matches for "verify_certif".

Did you mean: verify_cert
2010 Mar 22
1
[PATCH] ESX: Enable verification of SSL certificates
...($server, $username, $password, $target, $noverify) = @_; my $self = $class->SUPER::new( agent => 'virt-v2v/'.$Sys::VirtV2V::VERSION, @@ -65,7 +65,7 @@ sub new { my ($response, $self, $h) = @_; if ($response->is_success) { - $self->verify_certificate($response) if ($verify); + $self->verify_certificate($response) unless ($noverify); $self->create_volume($response); } }); @@ -75,14 +75,14 @@ sub new { $self->{_v2v_username} = $username; $self->{_v2v_password} = $password; - if...
2010 Apr 22
2
[PATCH 1/2] Try to load the loop module before running mkinitrd
mkinitrd needs to mount files using loop. loop might be a module, so try to load it first. --- lib/Sys/VirtV2V/GuestOS/RedHat.pm | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lib/Sys/VirtV2V/GuestOS/RedHat.pm b/lib/Sys/VirtV2V/GuestOS/RedHat.pm index 0e469f5..08027b6 100644 --- a/lib/Sys/VirtV2V/GuestOS/RedHat.pm +++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm @@ -1114,6
2010 Jun 07
1
[PATCH] ESX: Fix storage URL if storage has a snapshot
...this with a single GET request. The problem with this is that # you have to create the volume before writing to it. If the volume creation # takes a very long time, the transfer may fail in the mean time. - my $r = $self->head($url); - if ($r->is_success) { - $self->verify_certificate($r) unless ($self->{_v2v_noverify}); - $self->create_volume($r); - } else { - $self->report_error($r); + my $retried = 0; + SIZE: for(;;) { + my $r = $self->head($url); + if ($r->is_success) { + $self->verify_certificate($r) unl...
2010 Apr 28
3
Fix 2 issues in ESX transfer
We were seeing 100% failure rates transferring 10G disk images from ESX on a particular setup. We also weren't spotting the transfer failure, and dying with a strange error from libguestfs. These 2 patches fix the error check which should have made it obvious what was failing, and the underlying error.
2010 Nov 05
4
xe cli not working on remote machine
...K) = -1 ENOENT (No such file or directory) access("/usr/sbin/stunnel4", X_OK)      = -1 ENOENT (No such file or directory) access("/usr/sbin/stunnel", X_OK)       = 0 open("/root/.xe", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) stat64("/var/xapi/verify_certificates", 0xffd06f7c) = -1 ENOENT (No such file or directory) pipe([3, 4])                            = 0 open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 5 fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0 _llseek(5, 0, [0], SEEK_CUR)            = 0 read(5, "\366\237g\341\372\247|\366\276^...
2010 Jun 07
1
[PATCH] ESX: Always validate SSL certificate
...er/ESX.pm b/lib/Sys/VirtV2V/Transfer/ESX.pm index f638149..5d6b586 100644 --- a/lib/Sys/VirtV2V/Transfer/ESX.pm +++ b/lib/Sys/VirtV2V/Transfer/ESX.pm @@ -143,6 +143,8 @@ sub get_volume my $died = $r->header('X-Died'); die($died) if (defined($died)); + $self->verify_certificate($r) unless ($self->{_v2v_noverify}); + # It reports success even if we didn't receive the whole file die(user_message(__x("Didn't receive full volume. Received {received} ". "of {total} bytes.", -- 1.7.0.1
2010 Sep 21
1
[PREVIEW ONLY] Refactor data transfer code
...is that - # you have to create the volume before writing to it. If the volume creation - # takes a very long time, the transfer may fail in the mean time. - my $retried = 0; - SIZE: for(;;) { - my $r = $self->head($url); - if ($r->is_success) { - $self->verify_certificate($r) unless ($self->{_v2v_noverify}); - $self->create_volume($r); - last SIZE; - } - - # If a disk is actually a snapshot image it will have '-00000n' - # appended to its name, e.g.: - # [yellow:storage1] RHEL4-X/RHEL4-X-000003.vm...
2010 Jan 29
4
[FOR REVIEW ONLY] ESX work in progress
The following patches are where I'm currently at with ESX support. I can now import a domain from ESX along with its storage. Note that I'm not yet doing any conversion. In fact, I've never even tested past the import stage (I just had an exit in there). The meat is really in the 4th patch. The rename of MetadataReader->Connection was because the Connection is now really providing
2010 Feb 01
9
[ESX support] Working ESX conversion for RHEL 5
With this patchset I have successfully[1] imported a RHEL 5 guest directly from ESX with the following command line: virt-v2v -ic 'esx://yellow.marston/?no_verify=1' -op transfer RHEL5-64 Login details are stored in ~/.netrc Note that this is the only guest I've tested against. I haven't for example, checked that I haven't broken Xen imports. Matt [1] With the exception of
2010 Mar 30
3
[PATCH 1/2] Refactor guest and volume creation into Sys::VirtV2V::Target::LibVirt
...x("Error opening storage volume {path} ". - "for writing: {error}", error => $!))); - - $self->{_v2v_volfh} = $volfh; + my $vol = $target->create_volume($name, $size); + $vol->open(); + $self->{_v2v_vol} = $vol; } sub verify_certificate @@ -295,10 +256,10 @@ Sys::VirtV2V::Transfer::ESX retrieves guest storage devices from an ESX server. =over -=item transfer(conn, path, pool) +=item transfer(conn, path, target) Transfer <path> from a remote ESX server. Server and authentication details will -be taken from <co...