Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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 b06ee3b61c)

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 2821511444)

Require openssh-clients scp >= 8.7p1

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

(cherry picked from commit d58960176f)

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 df4a127b93)

resolves: rhbz#2011713, rhbz#1961107, rhbz#2027673
2021-12-02 13:23:14 +00:00