Description of problem: Can not use image-uploader due to certificate issues. the way optparse works is to first try and find an exact match of the param (that is to match "engine" with "engine"), and if there's no match, it will check whether "engine" could be an abbreviation of another param (that is there's only one parameter that begins with "engine") , and in this case "engine_ca" matches. This causes "engine_ca" param to get value of "engine" from the configuration file, and thus supply incorrect value to the API object creation. Fix is to replace "engine_ca" -> "ca_file"/"cert_file"/"certificate" Version-Release number of selected component (if applicable): rhevm-image-uploader-3.1.0-8.el6ev.noarch How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Patch posted for review: http://gerrit.ovirt.org/#/c/11023/1
Merged: http://gerrit.ovirt.org/gitweb?p=ovirt-image-uploader.git;a=commit;h=c18a441e2385986c36819317448308067ba895fc
Verified on sf7: root@lilach-rhel ~]# engine-image-uploader --engine lilach-rhel.qa.lab.tlv.redhat.com list Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): ERROR: There are no export storage domains.
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-2013-0920.html