Sandro Bonazzola has posted comments on this change.

Change subject: sdk: aligning API initialization with iso-uploader
......................................................................


Patch Set 1:

(1 comment)

....................................................
Commit Message
Line 13: - align sdk version requirement
Line 14: 
Line 15: Excludes:
Line 16: - add the nossl option for the engine connection
Line 17: (doesn't work correctly)
You can test it using iso-uploader from nightly:
isouploader.conf contains:

 [ISOUploader]
 engine=sbonazzo.csb:443
 user=admin@internal

configured by engine-setup

 # engine-iso-uploader --nossl list 
 Please provide the REST API password for the admin@internal oVirt Engine user  
(CTRL+D to abort): 
 ERROR: Unable to connect to REST API.  Reason: Bad Request

this is caused by having http connecting to 443. So changing it by hand:

 [ISOUploader]
 engine=sbonazzo.csb
 user=admin@internal

 # engine-iso-uploader --nossl list
 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: [ERROR]::No response returned 
from server. If you're using HTTP protocol
against a SSL secured server, then try using HTTPS instead.

engine.conf:
 ENGINE_FQDN=sbonazzo.csb 
 ENGINE_PROXY_ENABLED=true
 ENGINE_PROXY_HTTP_PORT=80
 ENGINE_PROXY_HTTPS_PORT=443
 ENGINE_AJP_ENABLED=true
 ENGINE_AJP_PORT=8702
Line 18: 
Line 19: Change-Id: I59e9d95cd76a961265acc5475be6db7843b75121
Line 20: Related-To: http://gerrit.ovirt.org/9288
Line 21: Related-To: http://gerrit.ovirt.org/10815


-- 
To view, visit http://gerrit.ovirt.org/18309
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I59e9d95cd76a961265acc5475be6db7843b75121
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-image-uploader
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Federico Simoncelli <[email protected]>
Gerrit-Reviewer: Keith Robertson <[email protected]>
Gerrit-Reviewer: Kiril Nesenko <[email protected]>
Gerrit-Reviewer: Ofer Schreiber <[email protected]>
Gerrit-Reviewer: Sandro Bonazzola <[email protected]>
Gerrit-Reviewer: Yedidyah Bar David <[email protected]>
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to