Hide Forgot
Description of problem: when add storage into a guest, an error dialog will shown up,error msg is:'NoneType' object has no attribute 'rfind',only occur when using CDROM/ISO to install guest. Version-Release number of selected component (if applicable): virt-manager-0.9.0-5.el6 python-virtinst-0.600.0-2.el6 libvirt-0.9.4-1.el6 How reproducible: always Steps to Reproduce: 1.lunch virt-manager,install a guest using CDROM or ISO 2.during guest installing,click Force Off to shutdown the guest 3.in guest detail view ,click "add hardware" button to add a new storage 4.make all to default,click "finish" Actual results: error dialog shown up, Storage parameter error 'NoneType' object has no attribute 'rfind' in debug info: [Fri, 05 Aug 2011 06:56:03 virt-manager 12313] DEBUG (error:109) Validation Error: Storage parameter error. [Fri, 05 Aug 2011 06:57:01 virt-manager 12313] DEBUG (error:109) Validation Error: Storage parameter error. Expected results: storage can be added successful. Additional info: this issue only occured when use CDROM/ISO install guest, not happend if use http install. can't reproduce with virt-manager-0.8.6-4.el6,so seems a regression bug.
I can't seem to reproduce. Can you provide the full output of virt-manager --debug from guest creation to reproducing the error? Thanks
Created attachment 520526 [details] full debug info
Thanks a bunch, that helped. Issue is fixed upstream now: http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=9a46aa41e092e73ed1596c361acbca65ac3cbe95
Fixed in virt-manager-0.9.0-6.el6
Verify with: libvirt-0.9.4-6.el6 qemu-kvm-0.12.1.2-2.184.el6 kernel-2.6.32-191.el6 virt-manager-0.9.0-6.el6 python-virtinst-0.600.0-3.el6 1.lunch virt-manager,install a guest using CDROM or ISO 2.during guest installing,click Force Off to shutdown the guest 3.in guest detail view ,click "add hardware" button to add a new storage 4.make all to default,click "finish" now storage can be added successful. no error in debug info verification passed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: No description necessary
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. http://rhn.redhat.com/errata/RHBA-2011-1642.html