The only issue with the UI is I’m on VPN so uploading from my local machine 
would be extremely slow. I discovered the –insecure flag for the cli and that 
seems to have worked.

Thanks
Shawnk

From: Nir Soffer <nsof...@redhat.com>
Sent: Saturday, November 17, 2018 8:43 AM
To: Shawn Weeks <swe...@weeksconsulting.us>
Cc: users <users@ovirt.org>; Daniel Erez <de...@redhat.com>
Subject: Re: [ovirt-users] Engine ISO Uploader - SSL Peer Not Trusted

On Sat, Nov 17, 2018, 02:45 Shawn Weeks 
<swe...@weeksconsulting.us<mailto:swe...@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_disk.py

With some configuration changes you can use this as command line tool for 
uploading iso or other images.

Nir

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MHEE6MQR2PFKPHFUKVUKMNLN36OU5PQZ/

Reply via email to