Displaying 20 results from an estimated 25 matches for "guestfshandl".
Did you mean:
guestfshandle
2012 Mar 05
2
[PATCH] Remove call to set_autosync.
From: "Richard W.M. Jones" <rjones at redhat.com>
This is the default since libguestfs 1.6. It does not need to be
explicitly set.
See also https://bugzilla.redhat.com/show_bug.cgi?id=799798#c6
---
lib/Sys/VirtConvert/GuestfsHandle.pm | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/lib/Sys/VirtConvert/GuestfsHandle.pm b/lib/Sys/VirtConvert/GuestfsHandle.pm
index 01d7eb0..c370007 100644
--- a/lib/Sys/VirtConvert/GuestfsHandle.pm
+++ b/lib/Sys/VirtConvert/GuestfsHandle.pm
@@ -103,9 +103,6 @@ sub new...
2010 Jun 17
2
[PATCH] Improve cleanup of libguestfs handle with Sys::VirtV2V::GuestfsHandle
This change replaces all direct usage of a Sys::Guestfs object in virt-v2v with
a Sys::VirtV2V::GuestfsHandle proxy object. The proxy does 3 things:
* Holds handle initialisation code
* Adds the ability to explicitly close the handle
* Adds the ability to register a callback to be executed before close
The cleanup code in Sys::VirtV2V::Config is updated to use the new callback
mechanism.
Additionally,...
2013 Sep 04
2
[PATCH] virt-v2v: Remove iface:ide parameter (RHBZ#895898)
The iface:ide parameter (used in the libguestfs add_drive call) does not work
with a libvirt backend. The error usually seen is:
'iface' parameter is not supported by the libvirt attach-method at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 96.
This issue was previously mentioned in this thread:
https://www.redhat.com/archives/libguestfs/2013-February/msg00057.html, and a
workaround of 'export LIBGUESTFS_ATTACH_METHOD=appliance' was suggested.
However, as mentioned in the bug, this parameter is likely no longer re...
2013 Feb 28
5
virt-v2v F18 guest on F18 failure
Run with LIBGUESTFS_ATTACH_METHOD=appliance
Fails with:
inspect_os: mount_ro: /dev/sda on / (options: 'ro'): mount: /dev/sda is already mounted or /sysroot busy at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 194.
virt-inspector works as expected
libguestfs-test-tool.log: http://pastebin.ca/2317900
virt-v2v.log: http://iaindb.pastebin.ca/2317938
Any suggestions?
--
while (!asleep) {sheep++;}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman....
2012 Aug 24
1
virt-v2v trouble converting Xen Centos 5.X to KVM Centos 6.3 or Fedora 17
..._perl/Sys/VirtConvert/Converter/RedHat.pm line 230.
Use of qw(...) as parentheses is deprecated at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm line 252.
umount: umount: /transfer4b5GFf: umount: /sysroot/transfer4b5GFf: not mounted at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 193.
at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Config.pm line 262
I re-ran the command setting LIBGUESTFS_TRACE=1 and LIBGUESTFS_DEBUG=1, and there is about 144K of output I that looks like an operating system booting up, examination of lots of directores in long format, and the se...
2010 Jul 28
3
Create new Sys::VirtV2V::Util
These 2 patches are mostly code motion. They were prompted by an apparent augeas
error in BZ 613967 which didn't display useful error message. The error seems to
happen in Converter::Linux. GuestOS::RedHat had a handy function which displayed
verbose augeas error messages. This function moves into the new module where it
can be used by both modules.
The second patch is an consequential tidy
2011 Apr 21
1
[PATCH] v2v: Filter out the transfer iso if it's returned by inspect_os()
...an double-check the output.
---
v2v/virt-v2v.pl | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/v2v/virt-v2v.pl b/v2v/virt-v2v.pl
index fe07ae9..6e73102 100755
--- a/v2v/virt-v2v.pl
+++ b/v2v/virt-v2v.pl
@@ -496,11 +496,18 @@ my $g = new Sys::VirtConvert::GuestfsHandle(
$output_method eq 'rhev'
);
+# Get the name of the appliance's transfer device, if it has one
+my $transferdev;
+if (defined($transferiso)) {
+ my @devices = $g->list_devices();
+ $transferdev = pop(@devices);
+}
+
my $guestcaps;
my $desc;
eval {
# Inspect the...
2013 Feb 08
1
virt-v2v fails 'iface' parameter is not supported by the libvirt attach-method
So I am getting this error on Fed18 virt-v2v trying to convert libvirtxml
to Rhev 3.1 NFS Export domain:
'iface' parameter is not supported by the libvirt attach-method at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 96.
Which is mentioned in this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=895898
and this one:
https://bugzilla.redhat.com/show_bug.cgi?id=892272
Is there a work-around way for me to manipulate my xml to get it to
convert? Or am I not hitting a bug at all and just have the wron...
2013 Nov 15
2
Virtio: 32bit CentOS 6.4 on VirtualBox to oVirt on Fedora 19 64bit via virt-v2v
...esult:
virtio configured, but no virtio kernel found
at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm
I have looked at the code:
/usr/share/perl5/vendor_perl/Sys/VirtConvert/Converter/RedHat.pm:~490
creating this and dumped the contents of the grub look up:
Sys::VirtConvert::GuestfsHandle=HASH(0x433da98)< >/dev/VolGroup/lv_root<
$VAR1 = bless( {
'onclose' => [
sub { "DUMMY" }
],
'g' => bless( {
'_g' => 7...
2011 Nov 25
1
[virt-tools-list] virt-v2v rhev import error
...h00m32s
> find: failed to restore initial working directory: Permission denied
> Using CPU model "cpu64-rhel6"
> unknown filesystem label SWAP-sda5
> Error running rpm -qa: command_lines: command_lines: rpm: No such file or directory at /usr/share/perl5/vendor_perl/Sys/VirtV2V/GuestfsHandle.pm line 188.
> at /usr/lib64/perl5/vendor_perl/Sys/Guestfs/Lib.pm line 1022
> virt-v2v: Unable to find any valid modprobe configuration
>
>
> Not sure where to start here. Thanks,
This isn't the right list for virt-v2v questions. That would be
libguestfs at redhat.com.
How...
2012 Apr 06
1
P2V: Error while converting Windows server
...nd
let the other parameters by default.
The sda hard disk begins to get transfered and after some minutes I get
this error in the virt-p2v-server log:
# cat virt-p2v-server.1333661869.log
virt-v2v: pwrite_device: pwrite_device: offset is negative at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 203,
<> line 6.
at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Transfer/Local.pm line 271
The transfer file gets deleted in the NFS export 192.168.1.11:/RHEV/export
I tried changing the conversion method to "preallocated" by putting this
in the config file:
<p...
2013 Mar 05
0
Fwd: [Bug 916990] inspect_os: mount_ro: /dev/sda on / (options: 'ro'): mount: /dev/sda is already mounted or /sysroot busy
...s: trace: inspect_os = NULL (error)
libguestfs: trace: close
libguestfs: trace: internal_autosync
libguestfs: trace: internal_autosync = 0
inspect_os: mount_ro: /dev/sda on / (options: 'ro'): mount: /dev/sda is already
mounted or /sysroot busy at
/usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 194.
at /usr/bin/virt-v2v line 672.
--
You are receiving this mail because:
You reported the bug.
----- End forwarded message -----
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports...
2011 Nov 18
2
Virtio-win RPM?
I should have this in my head by now...
I tried migrating a physical Windows host last night using virt-p2v CD.
It ran for 3 hours and then died. I'll get details later from the log
but as I think about it, I'll bet it died because I never installed
virtio-win in my Fedora migration server.
The documentation says do "yum install virtio-win" - but this is RHEL
2011 Dec 07
2
failure converting Linux ESX guest to KVM hypervisor
...ace: is_dir = 0
libguestfs: trace: command_lines "rpm -q -a --qf %{name} %{epoch}
%{version} %{release} %{arch}
"
libguestfs: trace: command_lines = NULL (error)
Error running rpm -qa: command_lines: command_lines: rpm: No such file or
directory at /usr/share/perl5/vendor_perl/Sys/VirtV2V/GuestfsHandle.pm line
188.
at /usr/lib64/perl5/vendor_perl/Sys/Guestfs/Lib.pm line 1022
libguestfs: trace: available "augeas"
libguestfs: trace: available = 0
libguestfs: trace: aug_init "/" 16
libguestfs: trace: aug_init = 0
libguestfs: trace: aug_match "/files//etc/grub.conf/title&qu...
2013 Oct 31
6
[PATCH 0/4] virt-v2v: Convert RedHat.pm to Linux.pm
In preparation for an upcoming patch which adds support for SUSE guest
conversions, it makes sense to have an intermediate steps that changes the
RedHat.pm converter into a more generic Linux converter. The SUSE changes
will then be limited in scope to only what is required for SUSE support.
This series of patches accomplishes the following:
- Renames RedHat.pm to Linux.pm
- Modifies Linux.pm
2011 Dec 10
2
A few errors with virt-p2v-image-builder
I just now ran into some traceback messages and other errors running
virt-p2v-image-builder 0.8.5.1. Anything to worry about?
.
.
.
Installing: passwd #####################
[305/307]
Installing: syslinux #####################
[306/307]
Installing: vim-minimal #####################
[307/307]
Note: Forwarding request to
2013 Sep 25
0
Re: [PATCH 3/4] Add SUSE converter
...they are notorious for
> differing between versions.
The warning I was trying to isolate is:
command: command: error: Failed dependencies:
kernel-default-base_x86_64 = 3.0.76-0.11.1 is needed by kernel-
default-3.0.76-0.11.1.x86_64 at
/usr/lib/perl5/vendor_perl/5.16.2/Sys/VirtConvert/GuestfsHandle.pm line 198.
at /usr/lib/perl5/vendor_perl/5.16.2/Sys/VirtConvert/Converter/SUSE.pm line
1885.
This error should only be seen if someone has misconfigured their kernel and
kernel-base entries in the virt-v2v .conf (or didn't copy the rpms down
properly), but my goal was to strip out the &...
2013 Sep 25
5
Re: [PATCH 3/4] Add SUSE converter
...ASource.pm
> lib/Sys/VirtConvert/Connection/Volume.pm
> lib/Sys/VirtConvert/Converter.pm
> lib/Sys/VirtConvert/Converter/RedHat.pm
> +lib/Sys/VirtConvert/Converter/SUSE.pm
> lib/Sys/VirtConvert/Converter/Windows.pm
> lib/Sys/VirtConvert/ExecHelper.pm
> lib/Sys/VirtConvert/GuestfsHandle.pm
> diff --git a/lib/Sys/VirtConvert/Converter/SUSE.pm b/lib/Sys/VirtConvert/Converter/SUSE.pm
> new file mode 100644
> index 0000000..7227385
> --- /dev/null
> +++ b/lib/Sys/VirtConvert/Converter/SUSE.pm
> @@ -0,0 +1,2527 @@
> +# Sys::VirtConvert::Converter::SUSE
> +# Cop...
2013 May 10
4
remotely mounting client disks in p2v server
Just spent a little time poking around w/ p2v and am attaching the
following pseudo-code for consideration. Note the patches aren't commit
ready yet, just looking for thoughts
- The first is a fix to get client image building process working on F17.
It seems the version of ksflatten there didn't expand the nested %includes
which was causing errors (also --interpreter image-minimizer
2013 May 16
1
support remotely mounting disk images in p2v
Figure I'd share the latest revision to p2v I had regarding $subject.
The patch now applies against HEAD and compiles fine. I was able to update
the package on the client and run virt-p2v, though have yet to do a full
end-to-end verification
Most likely a little more work is needed to tidy up some edge cases and fully
flush things out, but the majority of the work should be in place.
On the