Bug 1086561

Summary: Error info is not clear when network install vm with url "ftp://"
Product: Red Hat Enterprise Linux 6 Reporter: zhengqin <zsong>
Component: virt-managerAssignee: virt-mgr-maint
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: acathrow, codong, dyuan, gscrivan, lcui, mzhan, tzheng
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1086554 Environment:
Last Closed: 2014-04-11 08:08:34 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:
Bug Depends On: 1086554    
Bug Blocks:    

Description zhengqin 2014-04-11 06:43:31 UTC
+++ This bug was initially created as a clone of Bug #1086554 +++

Description of problem:
For Network Install VM, If you just input install url with "ftp://", the error message shows: "Unable to complete install: NoneType object has no attribute 'sendall'"

Version-Release number of selected component:
virt-manager-0.10.0-20.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Start virt-manager.

2. Create a new vm by "Network Install" until "step 2 of 5" on New VM window, just input a install URL with "ftp://"

3. Forward the New VM window util "Step 5 of 5" window, and click "Finish" button



Actual result:
1. Error message shows: "Unable to complete install: NoneType object has no attribute 'sendall'", and this error is not clear.


Expected results:
1. An error will be shown if you input install url with "http://", "Unable to complete install: Invalid install location: Opening URL http:// failed"


Additional info:
1. This issue does not occur with install url "http://" or "nfs:"
2. If set a wrong ftp url eg:ftp://test, the error info is also unclear:Unable to complete install: '[Errno -2] Name or service not known'
3. This issue also occurs on latest rhel6u5.

Comment 1 zhengqin 2014-04-11 06:44:35 UTC
This issue also occurs on latest rhel6u5, 
Error info is not right and not clear when network install vm with url "ftp://",
so clone it.

Comment 2 Giuseppe Scrivano 2014-04-11 08:08:34 UTC
it looks like a minor issue we can postpone to the next major release.