Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1110756

Summary: 'NoneType' object is not iterable error when certificate validation fails
Product: Red Hat Enterprise Virtualization Manager Reporter: Petr Beňas <pbenas>
Component: ovirt-engine-iso-uploaderAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED ERRATA QA Contact: Pavel Stehlik <pstehlik>
Severity: low Docs Contact:
Priority: low    
Version: 3.5.0CC: aberezin, dfediuck, gklein, iheim, juwu, pstehlik, rbalakri, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: EasyFix
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: rhevm-iso-uploader-3.5.0-0.2.master.el6_5 Doc Type: Bug Fix
Doc Text:
Previously, when using the ISO uploader with an invalid host name, the following error message returned: 'NoneType' object is not iterable. With this update, a more explanatory error message is displayed: ERROR: Unable to connect to REST API. Message: The host name "xxx" contained in the URL doesn't match any of the names in the server certificate. ERROR: Unable to get ISO domain data
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 17:48:50 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:    
Bug Blocks: 1142923, 1156165    

Description Petr Beňas 2014-06-18 11:30:59 UTC
Description of problem:


Version-Release number of selected component (if applicable):
ovirt-iso-uploader-3.5.0-0.0.master.20140605.gite89dcdf.el6.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
# engine-iso-uploader -i ISO_DOMAIN upload -r localhost /root/test.iso 
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): 
ERROR: Unable to connect to REST API.  Message: The host name "localhost" contained in the URL doesn't match any of the names in the server certificate.
ERROR: 'NoneType' object is not iterable
INFO: Use the -h option to see usage.

Expected results:
The "ERROR: 'NoneType' object is not iterable" shouldn't be there. The rest of the error message looks ok.

Additional info:

Comment 2 Petr Beňas 2014-08-26 13:57:54 UTC
in 3.5.0-0.1.master.20140812133501.gita818d93.el6

Comment 6 errata-xmlrpc 2015-02-11 17:48:50 UTC
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/RHBA-2015-0191.html