Description of problem: Once virt-p2v is finished converting, the UI offers only the choice to do nothing or to reboot. In order to avoid having twice the same server on the network (possibly with same IP, FQDN and/or MAC address), it would be good to have an additional button to shutdown the physical server after conversion, before the converted VM is started. Version-Release number of selected component (if applicable): Version : 1.36.10 Release : 1.el7 How reproducible: RFE, always. Steps to Reproduce: 1. boot from the p2v ISO 2. finish the migration process Actual results: There is only a Reboot button, you can press it or not. Expected results: Have a shutdown button in addition, to reach a similar approach as with the following kernel parameters: p2v.post=poweroff p2v.post=reboot Additional info: n/a
Patch series posted: https://www.redhat.com/archives/libguestfs/2018-November/msg00029.html
Fixed upstream with https://github.com/libguestfs/libguestfs/commit/b6925d03cbf27b0b402779106aa5ffe888750dd7 https://github.com/libguestfs/libguestfs/commit/f2a1ef01abee0be8a83fbccc1452d99a0338a641 which are in libguestfs >= 1.39.12.
This bug will be fixed by the rebase scheduled for RHEL 7.7, see bug 1621895.
Created attachment 1539747 [details] virt-p2v UI
Verify bug with builds: virt-p2v-1.40.2-1.el7.iso libguestfs-1.40.2-1.el7.x86_64 virt-v2v-1.40.2-1.el7.x86_64 Steps: 1. Prepare a guest and boot from the virt-p2v ISO 2. After virt-p2v conversion,check if the UI have an additional button to shutdown the physical server after conversion,before the converted VM is started. Result: The UI have an additional button to shutdown the physical server after conversion,before the converted VM is started.pls refer to screenshot:virt-p2v UI.
Created attachment 1557518 [details] virt-p2v add a new button
Verify bug with builds: virt-p2v-1.40.2-1.el7.iso virt-v2v-1.40.2-3.el7.x86_64 libguestfs-1.40.2-3.el7.x86_64 Steps: 1. Prepare a guest and boot from the virt-p2v ISO 2. After virt-p2v conversion,check if the UI have an additional button to shutdown the physical server after conversion, 3. Press the shutdown button and choose the shutdown option to check if the server can be turned off. please refer to screenshot2:p2v add a new button. Result:The UI have an additional button to shutdown the physical server after conversion and the server can be turned off successfully.so change the bug from ON_QA 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://access.redhat.com/errata/RHEA-2019:2096