Bug 859344
Summary: | Adding disk: Uncaught error validating hardware input: coercing to Unicode: need string or buffer, NoneType found | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stef Walter <stefw> | ||||
Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 17 | CC: | berrange, crobinso, dpierce, hbrock, jforbes, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-11-28 14:59:18 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Thanks for the report Stefan. Fixed upstream now: http://git.fedorahosted.org/cgit/python-virtinst.git/commit/?id=31d817c42771afb3e9974d099379986b838c233a python-virtinst-0.600.3-2.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-virtinst-0.600.3-2.fc17 Package python-virtinst-0.600.3-2.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-virtinst-0.600.3-2.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-16854/python-virtinst-0.600.3-2.fc17 then log in and leave karma (feedback). virt-manager-0.9.4-2.fc17 is in stable now |
Created attachment 615308 [details] Screenshot of the dialog Description of problem: When adding a disk I got the following exception. You can see in the screenshot the state the dialog I was using to add the disk. Uncaught error validating hardware input: coercing to Unicode: need string or buffer, NoneType found Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/addhardware.py", line 877, in finish if self.validate(notebook.get_current_page()) == False: File "/usr/share/virt-manager/virtManager/addhardware.py", line 1196, in validate return self.validate_page_storage() File "/usr/share/virt-manager/virtManager/addhardware.py", line 1316, in validate_page_storage self.conn, disk.path) File "/usr/share/virt-manager/virtManager/uihelpers.py", line 893, in check_path_search_for_qemu broken_paths = VirtualDisk.check_path_search_for_user(conn.vmm, path, user) File "/usr/lib/python2.7/site-packages/virtinst/VirtualDisk.py", line 397, in check_path_search_for_user if os.path.isdir(path): File "/usr/lib64/python2.7/genericpath.py", line 41, in isdir st = os.stat(s) TypeError: coercing to Unicode: need string or buffer, NoneType found Version-Release number of selected component (if applicable): Installed Packages Name : libvirt Arch : x86_64 Version : 0.9.11.5 Release : 3.fc17 Steps to Reproduce: 1. Select a running VM- 2. Go to hardware details 3. Click 'Add Hardware' 4. Select 'Storage' 5. Fill out like attached image.