Red Hat Bugzilla – Bug 1227609
virt-p2v: Using "Back" button causes output list to be repopulated multiple times
Last modified: 2016-11-03 13:53:30 EDT
Description: Output method shows three times in virt-p2v client. Version: libguestfs-1.28.1-1.37.el7.x86_64 virt-v2v-1.28.1-1.37.el7.x86_64 livecd-p2v-201505191242.iso How reproducible: 100% Steps to Reproduce: 1.Boot host from virt-p2v iso. 2.After virt-p2v client is launched,fill correct conversion server ip,user name and password. 3.After connected to the conversion server,check "Virt-v2v output options". 4.Click Ooutput to (-o),there are "glance,libvirt,local,null,qemu,rhev,vdsm",but these options show 3 times each. Actual results: As description. Expected results: All the output methods only show once. Additional info: see the sreenshot.
Created attachment 1034151 [details] virt-p2v output method
When I try virt-p2v-make-disk,after launch virt-p2v client from this way,can not reproduce this bug.
Created attachment 1069873 [details] virt-p2v-multiple-outputs.png I am able to reproduce this with: virt-p2v-1.28.1-1.51.3.el7.iso & virt-v2v-1.28.1-1.51.el7.x86_64 (but not with virt-v2v-1.31.3-1.fc24.x86_64) See attached screenshot.
Sorry no, the problem is different. What happens is this: (1) You fill in the conversion server details on the first page. (2) You go to the "Next" page, and the output list is normal. (3) You go "Back" to the conversion server page. (4) You go forwards again. (5) Now the output list contains 2 x the list. Similarly if you repeat steps (3)-(5) you will see 3 x the outputs, 4 x the outputs and so on. In other words, when repopulating the list of outputs, it doesn't remove the old list first (there is code which is supposed to do this, but for some reason it doesn't work). The same bug affects upstream too.
Upstream fix is: https://github.com/libguestfs/libguestfs/commit/6246bebf82e2bd097aa476dad101416faf03240f I'm going to bump this to RHEL 7.3 because I can't face spending more hours rebuilding the virt-p2v ISO (unless some other important bug turns up in which case I'll slip this fix in).
I can reproduce it with build: Livecd-p2v-201505191242.iso Verify it with build: Virt-p2v-1.32.4-1.iso Steps: 1.Boot host from virt-p2v iso. 2.After virt-p2v client is launched,fill correct conversion server ip,user name and password. 3.Click the “test connection ”button 4.Click the "Next "button enter the convert setup page 5.Check the output option list 6.Each option just appear once in the option list 7.Go back to the conversion server page via click "back" Button 8.After repeat step3-step6 more than twice,all the output option methods only appear once Result now: According the testing result, the bug has been fixed So move the bug from ON_QA to VERFIED
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/RHSA-2016-2576.html