Bug 1102535 - option insecure doesn't work
Summary: option insecure doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-iso-uploader
Version: 3.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.4.1
Assignee: Simone Tiraboschi
QA Contact: Petr Beňas
URL:
Whiteboard: integration
Depends On: 1100824
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-29 07:18 UTC by rhev-integ
Modified: 2014-07-29 14:20 UTC (History)
14 users (show)

Fixed In Version: rhevm-iso-uploader-3.4.1-2.el6ev
Doc Type: Rebase: Bug Fixes Only
Doc Text:
Previously, the --insecure command line option for engine-image-uploader and engine-iso-uploader did not work as intended. Now, after correctly mapping the command line insecure parameter to the API SDK insecure parameter, this problem is fixed.
Clone Of: 1100824
Environment:
Last Closed: 2014-07-29 14:20:42 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0969 0 normal SHIPPED_LIVE rhevm-iso-uploader bug fix update 2014-07-29 18:18:44 UTC
oVirt gerrit 28153 0 master MERGED ovirt-iso-uploader: using API SDK insecure parameter Never
oVirt gerrit 28203 0 ovirt-iso-uploader-3.4 MERGED ovirt-iso-uploader: using API SDK insecure parameter Never

Comment 3 Petr Beňas 2014-06-24 15:05:01 UTC
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# ll
total 0
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# engine-iso-uploader -i iso upload -r localhost /tmp/test.iso 
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.
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# engine-iso-uploader -i iso upload -r localhost --insecure /tmp/test.iso 
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.
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# rpm -qa rhevm-iso-uploader
rhevm-iso-uploader-3.4.0-3.el6ev.noarch
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# rpm -Uvh http://download.devel.redhat.com/brewroot/packages/rhevm-iso-uploader/3.4.1/2.el6ev/noarch/rhevm-iso-uploader-3.4.1-2.el6ev.noarch.rpm
Retrieving http://download.devel.redhat.com/brewroot/packages/rhevm-iso-uploader/3.4.1/2.el6ev/noarch/rhevm-iso-uploader-3.4.1-2.el6ev.noarch.rpm
Preparing...                ########################################### [100%]
   1:rhevm-iso-uploader     ########################################### [100%]
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# rpm -qa rhevm-iso-uploaderrhevm-iso-uploader-3.4.1-2.el6ev.noarch
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# engine-iso-uploader -i iso upload -r localhost /tmp/test.iso 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.
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# engine-iso-uploader -i iso upload -r localhost --insecure /tmp/test.iso 
Uploading, please wait...
INFO: Start uploading /tmp/test.iso 
INFO: /tmp/test.iso uploaded successfully
[root@pb-rh34 11111111-1111-1111-1111-111111111111]# ll
total 4
-rw-r-----. 1 vdsm kvm 4 Jun 24 17:04 test.iso

Comment 5 errata-xmlrpc 2014-07-29 14:20:42 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.

http://rhn.redhat.com/errata/RHBA-2014-0969.html


Note You need to log in before you can comment on or make changes to this bug.