Description of problem: Currently if any connection error is hit, the same message "is the service available and does the CA exist?", is displayed. There are several different reasons to hit a ConnectionError - and some imply we cannot hit the API while others imply we *can* but verification of the CA failed so we stopped. Version-Release number of selected component (if applicable): ovirt-iso-uploader-3.5.0-1 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: The same message is displayed for all failures Expected results: When possible, more informative error messages (such as where to check for problems) should be given. Additional info:
should this be on POST?
No, it's the correct status.
Verified with: rhevm-iso-uploader-3.6.0-0.2.alpha.gitea4158a.el6ev.noarch ## Case with no network connection # engine-iso-uploader --conf-file=/tmp/isouploader.conf upload /tmp/cd57.iso ERROR: Problem connecting to the REST API at https://gr2.rhev.lab.eng.brq.redhat.com:443/api [ERROR]::RHEV API connection failure, (7, "couldn't connect to host") ## Case with wrong ca.crt # engine-iso-uploader --conf-file=/tmp/isouploader.conf upload /tmp/cd57.iso ERROR: Problem connecting to the REST API at https://gr2.rhev.lab.eng.brq.redhat.com:443/api [ERROR]::RHEV API connection failure, (77, 'Problem with the SSL CA cert (path? access rights?)') ## Case with wrong login details # engine-iso-uploader --conf-file=/tmp/isouploader.conf upload /tmp/cd57.iso ERROR: Unable to connect to REST API at https://gr2.rhev.lab.eng.brq.redhat.com:443/api Host returned a 401 Unauthorized error. Please check the provided username and password. ## Case with ovirt-engine service stopped # engine-iso-uploader --conf-file=/tmp/isouploader.conf upload /tmp/cd57.iso ERROR: Unable to connect to REST API at https://gr2.rhev.lab.eng.brq.redhat.com:443/api Host returned a 503 Service Unavailable error. Please ensure the engine is running and the webUI is accessible.
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue. If problems still persist, please open a new BZ and reference this one.