Commit Graph

7311 Commits

Author SHA1 Message Date
Richard W.M. Jones
7893a2cfb1 FAQ: Add a section on debugging libvirtd. 2014-10-10 11:47:26 +01:00
Richard W.M. Jones
6328038567 v2v: Rename some modules to remove lib_ prefix.
v2v/lib_ovf.ml -> v2v/OVF.ml
v2v/lib_ovf.mli -> v2v/OVF.mli
v2v/lib_linux.ml -> v2v/linux.ml
v2v/lib_linux.mli -> v2v/linux.mli
v2v/lib_esx.ml -> v2v/vCenter.ml
v2v/lib_esx.mli -> v2v/vCenter.mli
v2v/lib_xen.ml -> v2v/xen.ml
v2v/lib_xen.mli -> v2v/xen.mli
2014-10-09 18:09:49 +01:00
Richard W.M. Jones
88a381b2a0 v2v: Increase readahead window for vCenter transfers (RHBZ#1151033). 2014-10-09 16:04:36 +01:00
Pino Toscano
8f3a2ca535 appliance: add dhcp-client on Mageia
dhcp-client replaces the non-existing dhclient.
2014-10-09 14:53:53 +02:00
Pino Toscano
979e7a4914 appliance: add dhcpcd and gptfdisk on Archlinux
dhcpcd replaces the non-existing dhclient.
2014-10-09 14:53:10 +02:00
Richard W.M. Jones
e21a4e5a90 Version 1.27.61. 1.27.61 2014-10-09 10:30:01 +01:00
Richard W.M. Jones
626d85d80b v2v: -i libvirt/libvirtxml: Give a better warning for local displays (RHBZ#1150880). 2014-10-09 10:15:55 +01:00
Richard W.M. Jones
4d4cada65a daemon: copy-file-to-file: Unlink destination file on failure (RHBZ#1150867).
When copying from file to file, don't leave the destination file
around if the copy fails.

However in the same code don't try unlinking the destination device on
failure.
2014-10-09 09:34:11 +01:00
Richard W.M. Jones
fbbcc6c629 sparsify: Fix documentation of --check-tmpdir option (RHBZ#1150858). 2014-10-09 09:29:31 +01:00
Richard W.M. Jones
9d6efb4966 diff: Remove copy and paste mistake from the documentation (RHBZ#1150815).
Originated from copying this section out of the virt-ls man page.
2014-10-09 09:21:06 +01:00
Richard W.M. Jones
f8f6250612 v2v: Allow -b/-n as alias for --bridge/--network.
This was permitted by old virt-v2v too.
2014-10-08 22:32:03 +01:00
Richard W.M. Jones
e66138fbe7 v2v: Enable trimming of data disks and non-mountpoints (RHBZ#1150701).
This also modifies the --no-trim option so you can specify a device
name, since this is necessary if fstrim can apply to non-mountpoints.
2014-10-08 21:17:43 +01:00
Richard W.M. Jones
69fe3945b7 v2v: Fix the --no-trim option so it works.
We never updated the no_trim variable in the case where this option
was supplied, so it never did anything, proving once again that unless
you have a test case, the feature won't work.
2014-10-08 21:16:48 +01:00
Richard W.M. Jones
36ce0e65f6 v2v: Print virtual and real copying rates.
Useful to diagnose speed issues in the qemu block drivers.
2014-10-08 20:21:36 +01:00
Richard W.M. Jones
7b8ed81560 v2v: Print mountpoint stats in debugging output.
Useful for debugging speed / fstrim issues.
2014-10-08 20:21:06 +01:00
Richard W.M. Jones
1e9b707e9b Version 1.27.60. 1.27.60 2014-10-08 15:44:01 +01:00
Richard W.M. Jones
6d0f46bacb v2v: Add README.RHEV-M to EXTRA_DIST.
This fixes commit 8adc32cae8.
2014-10-08 15:41:44 +01:00
Richard W.M. Jones
c4bad9deaf v2v: -o rhev, -o vdsm: Fix export with multiple disks (RHBZ#1150475).
When translating the original virt-v2v code, I misunderstood how image
directories are created.  There is one directory under images/ per
disk image, not one for all the disks in a single guest.

Note this requires that -o vdsm uses multiple --vdsm-image-uuid
options, one per disk image of the guest.

Reported by: Alain Vondra
Thanks: Tingting Zheng
2014-10-08 15:19:48 +01:00
Richard W.M. Jones
43e150c212 mllib: Add 'combine3' function. 2014-10-08 15:19:48 +01:00
Richard W.M. Jones
8adc32cae8 v2v: Add notes about layout of Export Storage Domain for multi-disk guests. 2014-10-08 15:19:48 +01:00
Pino Toscano
2de1602b70 log: tests: switch to a temporary file for outputs
Using a pipe to redirect the output of virt-log will lose his return
value, so use a temporary file to collect the virt-log output.
2014-10-08 13:53:38 +02:00
Richard W.M. Jones
371744bc59 Revert "log: tests: fix appending the virt-log output"
This reverts commit cfe2daabb2.

The pipe hides the return code from virt-log or valgrind.
2014-10-08 12:40:32 +01:00
Richard W.M. Jones
7c97b01f27 v2v: Add missing disk <rasd:Caption>.
Possible fix for RHBZ#1150475.
2014-10-08 12:38:56 +01:00
Pino Toscano
cfe2daabb2 log: tests: fix appending the virt-log output
virt-log uses /dev/stdout as output file for guestfs_download, which
will open the output file in truncate mode, truncating the output of
test-virt-log.sh.

Make sure to redirect the output of virt-log so it does not clobber the
test output.

Thanks to Richard for the hint.
2014-10-08 11:14:28 +02:00
Richard W.M. Jones
aa42bcf54d Version 1.27.59. 1.27.59 2014-10-07 15:30:28 +01:00
Richard W.M. Jones
fd421ebf88 p2v: Fix virt-p2v-make-kickstart so it won't fail when using a custom repo.
Because of `set -e', using the `((i++))' expression causes bash to
fail, unless we tell it to ignore the error code on that line.
2014-10-07 15:30:27 +01:00
Richard W.M. Jones
b81256581b Update API support. 2014-10-07 15:04:43 +01:00
Richard W.M. Jones
a97b3b6ae4 Update gnulib to latest upstream. 2014-10-07 13:54:50 +01:00
Richard W.M. Jones
09384e8164 Update translations from Transifex. 2014-10-07 13:34:16 +01:00
Richard W.M. Jones
6e204f6ccc Update BUGS. 2014-10-07 13:34:16 +01:00
Richard W.M. Jones
8ddae163e4 Update release notes. 2014-10-07 13:34:16 +01:00
Richard W.M. Jones
a48ade569d v2v: Further documentation fixes.
Replace more instances of 'esx.example.com' with
'vcenter.example.com', and rearrange command line arguments
semantically.
2014-10-07 12:40:41 +01:00
Richard W.M. Jones
f796435628 FAQ: Need to set SUPERMIN_KERNEL_VERSION in recent supermin. 2014-10-07 10:17:33 +01:00
Richard W.M. Jones
0f023a080b v2v: Improve VMware import documentation.
Additional information about URIs, which may contain cluster and/or
folder names (thanks: James Mighion).

Replace esx.example.com with vcenter.example.com to reduce confusion
about vCenter vs ESXi.
2014-10-07 09:28:25 +01:00
Pino Toscano
c92734b209 log: tests: skip fedora.img if journal is not available 2014-10-06 18:05:53 +02:00
Pino Toscano
cb1b7cbdd5 tools: fix free -m invocation
Since procps 3.3.10, free does not output the "-/+ buffers/cache" line
anymore. On the other hand, the data from it can be calculated from the
memory values, so just do the calculation manually (with awk).
2014-10-06 16:10:44 +02:00
Richard W.M. Jones
c4bc416820 lib: Enable detection of ARM (32 bit).
This includes some empty binaries to use for detection testing.
2014-10-06 13:17:35 +01:00
Richard W.M. Jones
07f87a7c91 lib: Document output of 'file-architecture' API for aarch64 binaries. 2014-10-06 13:09:46 +01:00
Pino Toscano
56cfb8a926 sysprep: remove more logs
- remove firewalld, grubby, and proftpd logs
- extend the cups log removal also to its timestamped rotated logs
- remove also the libvirt/libxl logs
2014-10-03 14:24:48 +02:00
Richard W.M. Jones
0823416925 tests: Fix SKIP_ environment variable in a couple of scripts.
I checked and bug 690819 has nothing to do with either of these
tests.  It was just a copy and paste error.
2014-10-02 17:02:21 +01:00
Richard W.M. Jones
7ff5d51815 Version 1.27.58. 1.27.58 2014-10-02 15:55:51 +01:00
Richard W.M. Jones
4323907575 tests: Disable UML tests in 'check-release'.
This effectively demotes UML to unsupported status.  This has happened
because UML has regressed quite a lot upstream.  There are multiple
grave bugs revealed by running the test suite and I don't have the
inclination to fix them.
2014-10-02 15:31:50 +01:00
Richard W.M. Jones
765dc6237c tests: rsync: Skip this test when the backend is libvirt.
It would work, except if you have a host firewall which will block
inbound connections on virbr0 to non-standard ports.
2014-10-02 15:31:50 +01:00
Richard W.M. Jones
07c0926b58 appliance: Change example ping lines to ping 8.8.8.8.
This are commented out (still) so this change does nothing.
2014-10-02 15:31:50 +01:00
Richard W.M. Jones
224de20b9a launch: libvirt: Use qemu-bridge-helper to implement a full network (RHBZ#1148012).
When using the libvirt backend, don't use the SLIRP.  Use
qemu-bridge-helper via libvirt to give us a full network connection.

One consequence of this is that 'ping' works in
'virt-builder --run-command'.

A less useful consequence is that the host firewall will prevent
connections on non-standard ports to the host.  So you can't (eg)
connect to a rsync daemon on the host listening on an arbitrary port,
which worked before.

The default bridge is 'virbr0', but you can override this by setting
LIBGUESTFS_BACKEND_SETTINGS=network_bridge=<some_bridge>

Note: this does not fix virt-rescue (since it overrides the default
backend and uses 'direct' for various reasons).
2014-10-02 15:31:50 +01:00
Richard W.M. Jones
67e6f32a24 appliance: Use dhclient or dhcpcd instead of hard-coding IP address of appliance.
qemu in SLIRP mode offers DHCP services to the appliance.  We don't
use them, but use a fixed IP address intead.  This changes the
appliance to get its IP address using DHCP.

Note: This is only used when the network is enabled.  dhclient is
somewhat slower, but the penalty (a few seconds) is only paid for
network users.

On SuSE or other distros, dhcpcd could be used if available.
2014-10-02 15:31:49 +01:00
Richard W.M. Jones
9018a23828 mllib: Coloured messages, errors, warnings.
Uses ANSI terminal codes to colour the output.
2014-10-02 15:31:49 +01:00
Richard W.M. Jones
25274b4f75 v2v: Print the difference between our disk size estimate and actual size. 2014-10-02 13:51:49 +01:00
Richard W.M. Jones
ae19e8f29f v2v: 'du -b' doesn't show real (sparse) size.
This caused the actual size to be wrong (in OVF output).
Use --block-size=1 instead.
2014-10-02 13:51:49 +01:00
Richard W.M. Jones
62159d5d48 Version 1.27.57. 1.27.57 2014-10-01 16:49:57 +01:00