On Sat, Nov 17, 2018, 02:45 Shawn Weeks <sweeks(a)weeksconsulting.us wrote:
Trying to upload an iso using engine-iso-uploader on a hosted-engine
instance and I’m getting an SSL Error. I followed the directions at
https://www.ovirt.org/documentation/admin-guide/appe-oVirt_and_SSL/ to
setup SSL and am able to login to the Admin console without an issue. Also
checked that things like curl recognize the CA correctly. Not sure where
engine-iso-uploader is getting it’s trust store.
[root@cloud ~]# engine-iso-uploader 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 at
https://cloud.dev.example.com:443/ovirt-engine/api due to SDK error
Message: Error while sending HTTP request: (60, "Peer's certificate issuer
has been marked as not trusted by the user.")
What am I missing?
If you ate using 4.2, you can upload iso files to data domains. You can
upload directly from the UI:
1. Open storage > disks
2. Click Upload > Start
3. Select file and fill in the form
For faster upload or automation, you can use the SDK. See this example code:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload...
With some configuration changes you can use this as command line tool for
uploading iso or other images.
Nir