Commit Graph

43 Commits

Author SHA1 Message Date
Richard W.M. Jones b6cf325d1f Fix CVE-2022-2211 Denial of Service in --key parameter
resolves: rhbz#2102719
Add -oo compressed support
resolves: rhbz#2047660
Install qemu-ga package during conversion (2028764)
Limit the maximum of disks per guest
resolves: rhbz#2051564
Add support for LUKS encrypted guests using Clevis & Tang
resolves: rhbz#1809453
2022-07-05 12:06:39 +01:00
Richard W.M. Jones 05ecc1e30a Add Requires python3 / platform-python
resolves: rhbz#2094779

(cherry picked from commit 1180dbb9125efb9733a95786576b7a6465683099)
2022-06-08 20:47:59 +01:00
Richard W.M. Jones 297d84e622 Remove nbdkit-readahead-filter as it is no longer used
related: rhbz#2094779

(cherry picked from commit 76a47e52e46ec6a9b387e1b6e5845479ff52da44)
2022-06-08 20:47:59 +01:00
Richard W.M. Jones 2c8a2391cb Rebase to stable branch version 2.0.6
resolves: rhbz#2059287, rhbz#1658126, rhbz#1788823, rhbz#1854275

If listing RPM applications fails, rebuild DB and retry (2089623)
Document -i vmx -it ssh percent encoding in ssh URIs
resolves: rhbz#1938954
Document extra permissions needed for VMware 7 (1817050)
Remove osprober devices left around by grub2
resolves: rhbz#2003503
2022-05-26 14:29:40 +01:00
Richard W.M. Jones 6efd7f7327 Rebase to stable branch version 2.0.5
resolves: rhbz#2059287
Fix -o qemu warning
resolves: rhbz#2082603
2022-05-12 18:05:05 +01:00
Richard W.M. Jones d529cb77d0 Rebase to stable branch version 2.0.4
Multiple fixes for -o qemu mode
resolves: rhbz#2074805
Work around blocking bug in OpenStack
resolves: rhbz#2074801
If multiple open-vm-tools packages are installed, remove all (2076436)
For -o rhv-upload wait for VM creation task
resolves: rhbz#1985830
For -i vmx add full support for SATA hard disks
resolves: rhbz#1883802
Fix booting of RHEL 9.1 guests after conversion
resolves: rhbz#2076013
2022-04-26 11:32:32 +01:00
Richard W.M. Jones 0a6d24c379 Rebase to stable branch version 2.0.3
Remove -o json mode
resolves: rhbz#2074026
Allow conversion of guests with NVMe drives from VMX files
resolves: rhbz#2070530
Cleanly reject guests with snapshots when using -it ssh
resolves: rhbz#1774386
Document that vmx+ssh "-ip" auth doesn't cover ssh / scp shell commands
resolves: rhbz#1854275
Fix conversion if swap partition isn't encrypted with root directory
resolves: rhbz#1658128
Document permissions when importing OVA using RHV UI
resolves: rhbz#2039597
2022-04-12 12:18:30 +01:00
Richard W.M. Jones 48c7f08e4f Rebase to stable branch version 2.0.2
resolves: rhbz#2059287
2022-04-04 13:54:07 +01:00
Richard W.M. Jones 855feb8b45 Rebase to stable branch version 2.0.1
Fix security issue when running virt-v2v as root
resolves: rhbz#2066773
2022-03-23 14:32:58 +00:00
Richard W.M. Jones f4a3153f79 Fix openssh-clients dependency
resolves: rhbz#2064178
2022-03-15 08:55:59 +00:00
Richard W.M. Jones 75833be3e2 Rebase to stable branch version 2.0.0
resolves: rhbz#2059287, rhbz#1658126, rhbz#1788823, rhbz#1854275
2022-03-14 21:27:55 +00:00
Richard W.M. Jones b4302313b9 -o rhv-upload: Improve conversion performance
resolves: rhbz#2039255
-o rhv-upload: Keep connections alive
resolves: rhbz#2032324
-o rhv-upload: Replace -oo rhv-direct with -oo rhv-proxy
resolves: rhbz#2033096
- Fix log line wrapping making log parsing difficult (1820221)
2022-02-15 18:48:46 +00:00
Richard W.M. Jones 991b284375 Rebase to upstream 1.45.98.
Add check for sufficient free space in the host
resolves: rhbz#2051394
Update documentation of -ip for conversions from VMware over HTTPS
related: rhbz#1960087
-o rhv-upload: Keep connections alive (2032324)
-o rhv-upload: Improve conversion performance (2039255)
2022-02-10 19:59:40 +00:00
Laszlo Ersek 4b8820ac0b fix rhbz#1960087, rhbz#2043333
v2v import from vCenter fails when using interactive password because
cookie-script tries to be interactive (pick commit 8abc07a8589a)
resolves: rhbz#1960087

model='virtio-transitional' is wrongly added when converting windows guest
to local by rhel9 v2v (pick commit range commit range
8abc07a8589a..cacedec64072)
resolves: rhbz#2043333

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2022-02-02 14:44:36 +01:00
Richard W.M. Jones 04a560e699 Fix hang when converting with virt-p2v
resolves: rhbz#2044911
Send nbdinfo debugging information to stderr
resolves: rhbz#2044922
Explicitly require platform-python
resolves: rhbz#2046178
2022-01-26 13:08:10 +00:00
Richard W.M. Jones 211690d47b Fix virt-v2v hang when given incorrect vpx:// URL
resolves: rhbz#2041886
2022-01-20 12:46:20 +00:00
Richard W.M. Jones 7c71720a7f Rebase to upstream 1.45.97.
resolves: rhbz#2011713
Fix -o rhv mode
resolves: rhbz#2027598
input: xen: Fix assertion error when importing from remote block device
resolves: rhbz#2041852
output: -o json: Allow -oo (output options) to work
resolves: rhbz#2041850
2022-01-18 21:35:54 +00:00
Richard W.M. Jones c553c74d10 Rebase to upstream 1.45.96.
resolves: rhbz#2011713
Add virtio-transitional for older guests when converting to q35
resolves: rhbz#1942325
2022-01-07 12:09:57 +00:00
Laszlo Ersek 7ea0c8cf97 output_rhv: restrict block status collection to the old RHV output
resolves: rhbz#2034240
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-12-23 15:34:38 +01:00
Richard W.M. Jones 8190ec8540 Include a few experimental non-upstream patches
These two patches fix potential issues.  Best to get them tested over
Christmas and New Year.

    v2v: Swap over the output and conversion stages

    In old virt-v2v, we did (approximately, since the steps were not as
    clear):

      Input -> Convert -> Output -> Copy -> Finalize

    After modularizing virt-v2v we changed this to:

      Input -> Output -> Convert -> Copy -> Finalize

    However this has a (sort of) problem.  For -o rhv-upload when we start
    the nbdkit rhv-upload-plugin machinery, it obtains a time-limited
    ticket from imageio.  This ticket could expire if the conversion step
    takes longer than a certain time (60 seconds by default, may be
    increased in a future version of oVirt).

    I believe this is really a problem in imageio or that the
    rhv-upload-plugin should really renew this ticket automatically, but
    it does not, instead failing.  (The ticket *is* renewed automatically
    whenever a request is sent to imageio, but in this case no requests
    are being sent).

    Anyway the easiest thing is to switch the ordering back to how it was
    in old virt-v2v (at top).  It doesn't make a difference for any other
    output modes.

    Reported-by: Nir Soffer

and:

    v2v: Remove nbdcopy --request-size=4M flag

    This was added when we were setting the cow-block-size to 1M.  However
    since commit 351d61f768 ("input: -it vddk: Reduce cow-block-size to 4K")
    we stopped doing that so this is no longer needed.

    Reverts: commit 08e764959ec9dadd71a95d22d3d88d647a18d165

Related: rhbz#2011713
2021-12-18 13:51:11 +00:00
Richard W.M. Jones 7f5895afd1 Rebase to upstream 1.45.95.
- Fix q35 error "IDE controllers are unsupported"
- Add virt-v2v and libvirt version in debug output
- Fix -o rhv output mode showing no guests listed
  resolves: rhbz#1637857, rhbz#2032112, rhbz#2027598
2021-12-18 11:34:28 +00:00
Richard W.M. Jones db9d8a6e4c Revert "output: Don't use nbdkit-file-plugin cache=none when writing"
Backport the following upstream commit:
5d5383b912

Require nbdkit >= 1.28.3-2.el9 since that contains the associated
optimization to write eviction in the file plugin:

a956e2e75d

related: rhbz#2011713
2021-12-08 11:26:09 +00:00
Richard W.M. Jones 94cf9be0f8 Don't use nbdkit-file-plugin cache=none when writing
Further performance fix for https://bugzilla.redhat.com/2011713

related: rhbz#2011713
2021-12-07 13:48:05 +00:00
Richard W.M. Jones a6ee991e8e New upstream development version 1.45.94 (preview of 2.0)
Requires nbdkit >= 1.28.3 / 1.29.9

Containing this fix:
c6fe9cb5b4

(cherry picked from commit b06ee3b61c34ae0f33391c43aee1c757f82aad64)

resolves: rhbz#2011713
2021-12-07 10:18:52 +00:00
Richard W.M. Jones 80d7267e49 Rebase to upstream 1.45.93.
resolves: rhbz#2011713
2021-12-03 17:34:59 +00:00
Richard W.M. Jones 99c8749f70 New upstream development version 1.45.92 (preview of 2.0)
(cherry picked from commit 28215114449f071ef94214d505537062d542416a)

Require openssh-clients scp >= 8.7p1

See:
https://bugzilla.redhat.com/show_bug.cgi?id=2027673
e2af12ba69

(cherry picked from commit d58960176f1d6356a875056db5b71d3e244191a8)

Fix previous commit

Apparently versioned filenames are not allowed:

  error: line 121: Versioned file name not permitted: Requires:      /usr/bin/scp >= 8.7p1

(cherry picked from commit df4a127b931d513fa34fbfe585ef4de21b2fe756)

resolves: rhbz#2011713, rhbz#1961107, rhbz#2027673
2021-12-02 13:23:14 +00:00
Laszlo Ersek cd77acc433 Rebase to modular virt-v2v 1.45.91
Add pending upstream patches (v2) for 1961107.
resolves: rhbz#2011713

--

Original commit messages:

prepare dist-git branch for rebase to 1.45.91 by Laszlo

Signed-off-by: Laszlo Ersek <lersek@redhat.com>

Take some spec file mods from "Virt-v2v 2.0 modular test 9." by Rich

Origin: Message-Id: <20211114151337.880321-1-rjones@redhat.com>.
Signed-off-by: Laszlo Ersek <lersek@redhat.com>

refresh patch list, %changelog, Release, for 1.45.91 + RHBZ#1961107 v2

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
2021-11-26 12:17:17 +00:00
Richard W.M. Jones dd04127f3d Fix conversion of Windows BitLocker guests
resolves: rhbz#1994984
2021-08-18 11:14:00 +01:00
Mohan Boddu 68303dfb29 Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-10 01:16:32 +00:00
Richard W.M. Jones d61af35693 New upstream development version 1.45.3.
Rebase RHEL patches.
resolves: rhbz#1950634

(cherry picked from commit c8d08693ef2ea67d480ec9fb74f469dd41b92c2c)
2021-08-06 13:12:39 +01:00
Richard W.M. Jones fd1f10a5fe New upstream development version 1.45.2.
Remove --debug-overlays and --print-estimate options.
Remove -o glance option on RHEL 9 (RHBZ#1977539).
Remove support for RHEV-APT (RHBZ#1945549).

resolves: rhbz#1950634, rhbz#1977539, rhbz#1977681, rhbz#1945549

(cherry picked from commit be8fe16bb55d69d8b09c9f804618ea91f9ffbeaa)
2021-06-30 12:04:35 +01:00
Richard W.M. Jones 3d83502589 Bump version
related: rhbz#1950634
2021-06-16 21:05:50 +01:00
Richard W.M. Jones c7ac006808 Manually merge fedora/rawhide up to commit 29135227ce9b
resolves: rhbz#1950634
2021-06-16 13:23:07 +01:00
Richard W.M. Jones 1dafceddca nbdkit-vddk-plugin dep only exists on x86-64
related: rhbz#1950634
2021-06-11 14:54:36 +01:00
Richard W.M. Jones 7520e138e8 Rebuild in RHEL 9 against libguestfs 1.45.5.
resolves: rhbz#1959042
2021-05-10 17:45:04 +01:00
Richard W.M. Jones ffdd6d8c31 Manually merge fedora/rawhide
related: rhbz#1950634
2021-05-07 13:41:15 +01:00
Mohan Boddu b165ccc280 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 06:06:45 +00:00
DistroBaker 5c3b878967 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/virt-v2v.git#6d77fcae475931a0763638092562ef8ed0addcee
2021-03-21 21:51:10 +00:00
DistroBaker c84ed5d6aa Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/virt-v2v.git#151741d8c006ca88dab23f5f2633074c0dca2615
2021-03-11 19:57:26 +00:00
DistroBaker f7ae0ec04e Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/virt-v2v.git#dbae216c1899cedea4b6172acf275de6436bb498
2021-02-05 14:49:14 +01:00
DistroBaker c31ffcf46f Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/virt-v2v.git#94934a6a8932e5e467384f3de5fcf99a7ad59beb
2021-01-05 15:27:05 +00:00
DistroBaker 24c0d7d2b9 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/virt-v2v.git#493bd4f36eccc6e2cb8177de75d474a3b57e3498
2020-12-16 21:58:33 +00:00
Troy Dawson cdac0f14e4 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/virt-v2v#2afadc4a830e336e878b4a6152b42a47d60bb294
2020-10-20 08:27:46 -07:00