• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • rhel-9.5
    • rhel-9.4
    • virt-v2v
    • None
    • virt-v2v-2.5.4-1.el9
    • None
    • Moderate
    • sst_virtualization
    • ssg_virtualization
    • 9
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      While investigating an issue raised by an upstream user, we found quite a serious bug in the way that JSON fragments are transferred between the Python and OCaml code in virt-v2v. Basically if you're unlucky with how your RHV / oVirt hosts are named, you can end up with corrupted JSON. I'm surprised we haven't seen this already.

      Anyway the fix is trivial and obvious so we should back port this to RHEL, even though RHV is / is going to be unsupported.

      Upstream bug and investigation:
      https://github.com/libguestfs/virt-v2v/issues/46

      Commits with the fix (only the last 2 are really needed, the rest improve debugging):
      https://github.com/libguestfs/virt-v2v/commit/cfeebf0f121e21b8a96092330e02cc9875ee2af4
      https://github.com/libguestfs/virt-v2v/commit/d8f09872a694836edce4685c605c09ba5ece9c31
      https://github.com/libguestfs/virt-v2v/commit/19ac262ceb03db2bf53a63302673d328737523de
      https://github.com/libguestfs/virt-v2v/commit/0ea92cc02949f3e829744e6e62d861dfd8ff5607
      https://github.com/libguestfs/virt-v2v/commit/ff341481eb397d700c346d27c8a23f9732028e03
      https://github.com/libguestfs/virt-v2v/commit/5672d89531ebe560aa4437a82009bdf6532983d1
      https://github.com/libguestfs/virt-v2v/commit/089d9a235e0e8a959c6d85004e24f2cdb37681b4

            rhn-eng-rjones Richard Jones
            rhn-eng-rjones Richard Jones
            virt-maint virt-maint
            vera wu vera wu
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: