On Tue, Mar 17, 2020 at 9:46 AM Sakari Poussa <spou...@gmail.com> wrote:
>
> Hi,
>
> Thanks for the clarification. I have a followup question tough.
>
> While working around the issue (lack imageio proxy) I ended up creating an 
> external glance provider. I noticed it is still using the old glance V1 api. 
> Is there a plan to start using the current glance V2 api (in the Open Stack 
> Image provider) ?

I don't know about the glance issue, but you need to proxy only for
uploading from the UI,
or if you cannot access the hypervisors from the host you run the upload on.

If you can access the hosts, you can use this to upload images:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py

This is much more powerful compared with the UI, for example it can
convert image format
on the fly (e.g upload qcow2 image to raw disk) and is much faster.

Here an example usage:

$ echo -n my-password > password

$ python3 upload_disk.py \
    --engine-url https://engine/ \
    --username admin@internal \
    --password-file password \
    --cafile ca.pem \
    --sd-name my-iscsi-sd \
    --disk-format raw \
    my-img.qcow2

Check python3 upload_disk.py --help for more info

Nir




>
> I could not use the built in glance provider since I am behind a corporate 
> http proxy which is not supported configuration either.
>
> Thanks, Sakari
>
>
> On Mon, Mar 16, 2020 at 10:57 AM Vojtech Juranek <vjura...@redhat.com> wrote:
>>
>> On pondělí 16. března 2020 9:32:53 CET you wrote:
>> > On Mon, Mar 16, 2020 at 2:37 AM Sakari Poussa <spou...@gmail.com> wrote:
>> > > Hi,
>> > >
>> > > The pre-release seems to be missing the ovirt-imageio-proxy.
>> > >
>> > > Why is that? How can one import a (non-openstack glance) template to the
>> > > system? Both UI and ovirt.image-template ansible role seems to require
>> > > it.
>> > The project is working on getting rid of the duplications between the
>> > daemon and the proxy, and have a single program doing both functions.
>>
>> correct, in the future we want only daemon module and remove proxy completely
>> as it's not PY3 ready
>>
>> > Not sure about current status, adding Vojtech.
>>
>> WIP, we had some more urgent issue to work on, but I'm returning back to this
>> now
>>
>> > > Thanks, Sakari
>> > >
>> > > On Mon, Mar 9, 2020 at 11:16 AM Sandro Bonazzola <sbona...@redhat.com>
>> wrote:
>> > >> Il giorno dom 8 mar 2020 alle ore 08:49 <it9...@gmail.com> ha scritto:
>> > >>> Hi
>> > >>> Is this also working on Centos Stream?
>> > >>
>> > >> Yes, should work fine on CentOS Stream too.
>> > >>
>> > >>> _______________________________________________
>> > >>> Users mailing list -- users@ovirt.org
>> > >>> To unsubscribe send an email to users-le...@ovirt.org
>> > >>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> > >>> oVirt Code of Conduct:
>> > >>> https://www.ovirt.org/community/about/community-guidelines/ List
>> > >>> Archives:
>> > >>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/YVJ7AKI7F
>> > >>> GFUXQN2L4YXJT3N2YQXDAQR/>>
>> > >> --
>> > >>
>> > >> Sandro Bonazzola
>> > >>
>> > >> MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
>> > >>
>> > >> Red Hat EMEA
>> > >>
>> > >> sbona...@redhat.com
>> > >>
>> > >> Red Hat respects your work life balance. Therefore there is no need to
>> > >> answer this email out of your office hours.
>> > >> _______________________________________________
>> > >> Users mailing list -- users@ovirt.org
>> > >> To unsubscribe send an email to users-le...@ovirt.org
>> > >> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> > >> oVirt Code of Conduct:
>> > >> https://www.ovirt.org/community/about/community-guidelines/ List
>> > >> Archives:
>> > >> https://lists.ovirt.org/archives/list/users@ovirt.org/message/7FHJY4HCHG
>> > >> ZNPEOBPNEFU663V5DQKBRR/>
>> > > --
>> > > Sakari Poussa
>> > > 040 348 2970
>> > > _______________________________________________
>> > > Users mailing list -- users@ovirt.org
>> > > To unsubscribe send an email to users-le...@ovirt.org
>> > > Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> > > oVirt Code of Conduct:
>> > > https://www.ovirt.org/community/about/community-guidelines/ List
>> > > Archives:
>> > > https://lists.ovirt.org/archives/list/users@ovirt.org/message/R4PPALDFIHA
>> > > PRQVCCYL2ZHTZ52BDM7NG/
>>
>> _______________________________________________
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct: 
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives: 
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/MRKJZBMX2OMZFSTOFDBKJAKTIVIHLR3S/
>
>
>
> --
> Sakari Poussa
> 040 348 2970
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/C3HS42PAVSKFM3DJ5LG7XU7BLBOCMUJR/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CW7PB7XI4SUJCF6NE7LRQLRSNGKOGWNW/

Reply via email to