Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-65611

[RFE] virt-p2v iso support for rhel 9 as destination

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.6
    • None
    • virt-p2v
    • None
    • virt-p2v-1.42.4-1.el9
    • None
    • rhel-virt-tools
    • ssg_virtualization
    • 12
    • 14
    • 5
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None

      Latest released virt-p2v iso was released on rhel7 with version 1.40.2

       

      this version does work only with rhel 7 and 8:

       

      https://github.com/libguestfs/virt-p2v/blob/stable-1.40/ssh.c

      static int
      compatible_version (const char *v2v_version)
      {
        unsigned v2v_minor;
      
        /* The major version must always be 1. */
        if (!STRPREFIX (v2v_version, "1.")) {
          set_ssh_error ("virt-v2v major version is not 1 (\"%s\"), "
                         "this version of virt-p2v is not compatible.",
                         v2v_version);
          return 0;
        }
      

      while current master is does have fix and should work with virt-v2v 2.y which was introduced in rhel 9.

      https://github.com/libguestfs/virt-p2v/blob/master/ssh.c

      static int
      compatible_version (const char *v2v_version_p)
      {
        unsigned v2v_major, v2v_minor;
      
        /* The major version must always be 1 or 2. */
        if (!STRPREFIX (v2v_version_p, "1.") && !STRPREFIX (v2v_version_p, "2.")) {
          set_ssh_error ("virt-v2v major version is neither 1 nor 2 (\"%s\"), "
                         "this version of virt-p2v is not compatible.",
                         v2v_version_p);
          return 0;
        }
      

       

      is there was no component virt-p2v i picket the closest one virt-v2v

              rhn-eng-rjones Richard Jones
              rhn-support-mjankula Marian Jankular
              virt-maint virt-maint
              Tingting Zheng Tingting Zheng
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: