Do you have an example of using the SDK/API from SSH via Curl or something? All 
I see in the RedHat docs as that there is a Rest API and some get examples. And 
the QuickStart guide still shows it so you might want to mark it as deprecated 
in there as well 
https://www.ovirt.org/documentation/quickstart/quickstart-guide/#uploading-iso-images.

Thanks
Shawn

-----Original Message-----
From: Yedidyah Bar David <d...@redhat.com> 
Sent: Sunday, November 18, 2018 4:17 AM
To: Shawn Weeks <swe...@weeksconsulting.us>; Sandro Bonazzola 
<sbona...@redhat.com>
Cc: Nir Soffer <nsof...@redhat.com>; users <users@ovirt.org>
Subject: Re: [ovirt-users] Re: Engine ISO Uploader - SSL Peer Not Trusted

On Sat, Nov 17, 2018 at 6:32 PM, Shawn Weeks <swe...@weeksconsulting.us> wrote:
> 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.

Please note that we intend to deprecate this tool. Please try the api/sdk
as suggested by Nir and tell us if you have any comments/issues etc. Thanks.

Actually I thought we already deprecated it in 4.2, but I now searched and
can't find anything like [1][2] (which was for the image uploader) or a note
in the release notes [3]. Adding Sandro. Is it too late now to deprecate
in 4.2 (so that we can remove in 4.3)?

See also [4][5], which are for RHV.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1306637
[2] https://www.ovirt.org/release/4.0.0/#ovirt-image-uploader
[3] https://ovirt.org/release/4.2.0/
[4] https://bugzilla.redhat.com/show_bug.cgi?id=1579119
[5] 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.2/html/administration_guide/sect-the_iso_uploader_tool

Thanks and best regards,

>
>
>
> 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 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/
>



-- 
Didi
_______________________________________________
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/2BBLELGEQ5V763OSAKHMKRSCS2BPE4M3/

Reply via email to