Description of problem: Old virt-p2v had a Network Connection dialog, see: http://oirase.annexia.org/booth_w_1020_guest_conversion_in_rhel.pdf (page 7) https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/V2V_Guide/P2V_Migration_Moving_workloads_from_Physical_to_Virtual_Machines-Converting_Physical_Machines_to_Virtual_Machines.html (procedure 5.1,2) I dropped this when doing the rewrite, but lack of a network connection dialog means that virt-p2v can only ever work with DHCP and IPv4. No static network. (Probably?) no IPv6. See libguestfs.git/p2v/gui.c: /* Buttons. */ gtk_dialog_add_buttons (GTK_DIALOG (conn_dlg), /* _("Configure network ..."), 1, */ _("virt-p2v " PACKAGE_VERSION " ..."), 2, _("Next"), 3, NULL); Uncomment the Configure network button (the easy bit) and make it work (the hard bit). Version-Release number of selected component (if applicable): virt-v2v 1.28.1 How reproducible: 100%
For reference, here is the old code (in Ruby, yummy): https://git.fedorahosted.org/cgit/virt-v2v.git/tree/p2v/client/lib/virt-p2v/netdevice.rb
Patches posted: https://www.redhat.com/archives/libguestfs/2015-May/msg00016.html
Upstream commits: d5305c9672054d03d0c2ccdbc532643027c63775 9b2ca08ab543e2779a3a0da5f05b7ba4a5bc7b7d e464774a79ff9eeedcdb3fd53efd5a7898ca036e
The documentation wasn't updated. I added an extra commit containing the updated documentation, so now the full list of commits is: d5305c9672054d03d0c2ccdbc532643027c63775 9b2ca08ab543e2779a3a0da5f05b7ba4a5bc7b7d e464774a79ff9eeedcdb3fd53efd5a7898ca036e 61a021713e8a93faeadc093e5c2d5064ba86059c [documentation]
When I started to build the virt-p2v ISO using RHEL 7.2, I realized even more patches are needed: d5305c9672054d03d0c2ccdbc532643027c63775 9b2ca08ab543e2779a3a0da5f05b7ba4a5bc7b7d e464774a79ff9eeedcdb3fd53efd5a7898ca036e 61a021713e8a93faeadc093e5c2d5064ba86059c f6dd8a3221cfa7b5aa6434cddcd0d636dd64e02b 10cb9b9545424d98687a46c23abdc0e3ff77de76
Tested with: libguestfs-1.28.1-1.36.el7.x86_64 virt-v2v-1.28.1-1.36.el7.x86_64 livecd-p2v-201505191242.iso After virt-p2v client is lanuched,there is button "Congigure network",after click this button,there is a dialog about "Network Connections". Tested "Add","Edit","Delete" button,it works well. Refer to the above comments,move the bug to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2183.html