Displaying 20 results from an estimated 10000 matches similar to: "Re: [Bug 1381502] virt-sparsify doesn't remove content of deleted files on XFS"
2016 Apr 27
1
Use virt-* tools from within container?
Hi, all. I've set up an LXC container for various Openstack admin
chores, and now I'm being asked to have it used for importing qcow2
images -- on which we want to run utilities like virt-sparsify and
virt-sysprep, first. Sadly, when I do that, it dies horribly, e.g.,
root@openstack-cli:/tmp# virt-sysprep -a cloud-image.qcow2
Examining the guest ...
libguestfs: warning:
2018 Feb 01
0
Re: Having issues with virt-sparsify
On Thu, Feb 01, 2018 at 08:13:36PM +0000, Simon Ruzgar wrote:
> libguestfs: launch: version=1.24.5
...
> /usr/bin/supermin-helper: ext2: parent directory not found: /lib: File not found by ext2_lookup
This is quite an old version of libguestfs/supermin, and we've fixed a
lot of bugs in this area since then.
If you cannot upgrade to a recent version then I suggest running
2018 Feb 01
2
Having issues with virt-sparsify
Im having an issue running “virt-sparsify”, getting the following error:
root@server:# virt-sparsify --check-tmpdir warn --compress ws1709.qcow2 ws1709core.qcow2
Input disk virtual size = 34359738368 bytes (32.0G)
Create overlay file in /tmp to protect source disk ...
Examine source disk ...
Fatal error: exception Guestfs.Error("/usr/bin/supermin-helper exited with error status 1.
To see
2013 Jul 31
1
[PATCH] sysprep: rhn_systemid: delete osad-auth.conf file in RHN
From 3d321e22fc34f828fdc9cb7a0f503d1bdcf982c3 Mon Sep 17 00:00:00 2001
From: Nicholas Strugnell <nstrug@redhat.com>
Date: Wed, 31 Jul 2013 16:24:20 +0100
Subject: [PATCH] sysprep: rhn_systemid: delete osad-auth.conf file in RHN
configuration
---
sysprep/sysprep_operation_rhn_systemid.ml | 1 +
1 file changed, 1 insertion(+)
diff --git a/sysprep/sysprep_operation_rhn_systemid.ml
2016 Jan 28
0
Re: error during virt-sparsify
On Wed, Jan 27, 2016 at 09:24:47PM +0200, Illia Svyrydov wrote:
> Here is *libguestfs-test-tool* output
>
> http://pastebin.com/raw/anuu6wkh
I'm guessing that /tmp (on the host) either doesn't exist, or is a
symlink to a directory that doesn't get copied to the appliance, or
something along those lines. This was fixed upstream in:
2012 Apr 06
2
[PATCH] virt-sysprep:add logging feature
Hi Rich,
I tried to implement the logging feature, but I can't though
compiling with this patch now, could you please give me
some comments?
The error message is below,
---
ocamlfind ocamlopt -g -warn-error CDEFLMPSUVYZX -package unix -I ../src/.libs -I ../ocaml -c sysprep_operation.ml -o sysprep_operation.cmx
File "sysprep_operation.ml", line 1, characters 0-1:
Error: The
2016 Jan 28
1
Re: error during virt-sparsify
On Thu, Jan 28, 2016 at 09:01:38AM +0000, Richard W.M. Jones wrote:
> echo > /usr/lib/guestfs/supermin.d/zz-tmp-fix <<EOF
Of course I mean 'cat', not 'echo' ...
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.
2014 Mar 27
4
ANNOUNCE: libguestfs 1.26 released
I'm pleased to announce libguestfs 1.26, a library and set of tools
for accessing and modifying virtual machine disk images. This release
took more than 6 months of work by a considerable number of people,
and has many new features (see release notes below).
You can get libguestfs 1.26 here:
Main website: http://libguestfs.org/
Source:
2016 Aug 25
0
[PATCH 5/5] bash completion: Add missing bash completion scripts (RHBZ#1367738).
Add new scripts for:
- guestunmount
- virt-copy-in
- virt-copy-out
- virt-customize
- virt-dib
- virt-diff
- virt-get-kernel
- virt-p2v-make-disk
- virt-p2v-make-kickstart
- virt-p2v-make-kiwi
- virt-tar-in
- virt-tar-out
Also combine the separate virt-resize script into the general script
virt-alignment-scan. There wasn't really any reason to have separate
scripts.
---
.gitignore
2019 Dec 26
1
virt-sparsify error message.
Hello,
I'm using virt-sparsify on a new server and I get an error message:
# virt-sparsify img img2
[ 0.0] Create overlay file in /tmp to protect source disk
[ 0.1] Examine source disk
virt-sparsify: error: libguestfs error: guestfs_launch failed.
This usually means the libguestfs appliance failed to start or crashed.
Here is libguestfs-test-tool output:
2014 Feb 26
2
Re: enable build for ocaml bytecode
On Thu, Jan 17, Richard W.M. Jones wrote:
> On Wed, Jan 16, 2013 at 05:51:53PM +0100, Olaf Hering wrote:
> > On Mon, Jan 14, Olaf Hering wrote:
> > > This is a first attempt to build libguestfs with just a ocaml bytecode
> > > compiler. The three tools written in ocaml will be build only when an
> > > ocamlopt compiler is available.
> > Here is a more
2014 Oct 18
1
ANNOUNCE: libguestfs 1.28 released
I'm pleased to announce libguestfs 1.28, a library and set of tools
for accessing and modifying virtual machine disk images.
This release took 7 months of work by a considerable number of people,
and has many new features (see release notes below), including new
'virt-v2v' and 'virt-p2v' tools for importing guests from foreign
hypervisors to KVM, and 'virt-log' which
2016 Jan 27
2
error during virt-sparsify
Hello,
I'm using *virt-sparsify* for compressing image file
[ash2] jenkins@b-imagebuilder-worker-r13h17-prod:~/workspace/imagebuilder/packer/output$
virt-sparsify --compress
/data/home/jenkins/workspace/imagebuilder/packer/output/packer-vm.qcow2
/data/home/jenkins/workspace/imagebuilder/packer/output/packer-vm.qcow2.sparsified
Input disk virtual size = 41943040000 bytes (39.1G)
Create
2016 Aug 30
1
Help, it's not working!
Hi,
*1. What are you trying to do?*
I was trying to clean up a virtual machine image in place. I followed the
instruction in the Openstack documentation to do so. Here is the link:
http://docs.openstack.org/image-guide/ubuntu-image.html
*2. What exact command(s) did you run?*
virt-sysprep -d trusty
*3. What was the precise error or output of these commands?*
Examining the guest ...
Fatal error:
2017 Aug 23
2
virt-sysprep: error: no operating systems were found in the guest image on libguestfs-1.36.5
Hi all,
I encountered the following error when I tried to run virt-sysprep on a qcow2 image.
virt-sysprep: error: no operating systems were found in the guest image
The version I used for libguest is as follows:
[libguestfs-1.36.5]
The same issue happened on other versions such as libguestfs-1.32.7.
# ./run ./sysprep/virt-sysprep -v -x -a
2016 Nov 21
2
[PATCH 1/2] kernel: refactor build_kernel & find_kernel
Move the handling of the SUPERMIN_* envvars, and the kernel copy/symlink
out of find_kernel to build_kernel: this way find_kernel does only the
search. Also, the modules path search is done in by find_kernel as
well.
This is mostly code motion, with no behaviour changes.
---
src/kernel.ml | 89 +++++++++++++++++++++++++++++------------------------------
1 file changed, 44 insertions(+), 45
2017 Jan 11
1
Re: Finding the run script to execute virt-sysprep or other commands
Hi ,
I have installed the libguestfs-1.35.19 after running ./configure
it says
configure: error: supermin >= 5.1 must be installed, your version is
too old
but ubuntu14.04 trusty has the latest version as 4.1.6-1 as
given here https://launchpad.net/ubuntu/+source/supermin
The configure as a result was not successful and the run file not
generated yet.
2014 Feb 28
6
[PATCH] Fix building on architectures where ocamlopt is not available
---
builder/Makefile.am | 18 +++++++++++++-
configure.ac | 2 ++
mllib/Makefile.am | 60 +++++++++++++++++++++++++++++++---------------
ocaml/Makefile.am | 28 +++++++++++++++-------
ocaml/examples/Makefile.am | 13 ++++++++++
resize/Makefile.am | 18 +++++++++++++-
sparsify/Makefile.am | 18 +++++++++++++-
sysprep/Makefile.am | 18
2014 Apr 08
2
Problem with virt-sysprep
Hi there,
I was wondering if you could help me with a problem I'm having with
virt-sysprep. It's a recurrent problem running virt-sysprep:
Examining the guest ...
Fatal error: exception Guestfs.Error("guestfs_launch failed.
See http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
and/or run 'libguestfs-test-tool'.")
So I ran virt-sysprep and
2013 Nov 07
2
Kernel panic with virt-builder etc.
Hi there,
I am trying to write an article on virt-builder and managed to compile
version 1.24.1 of libguestfs on Ubuntu 13.10 (I had mixed success with
the git version and 1.25.x). When I am running virt-builder I am getting
an error message:
virt-builder: error: virt-resize failed
Upon further investigation it turns out that there's a kernel panic when
booting the freshly created image.