On Tue, Nov 1, 2016 at 3:27 PM, Ben De Luca <bdel...@gmail.com> wrote:

> Could I set up glance for this?
>

You can upload the files to glance first, then import them to oVirt using
the rest-api.

E.g.
POST /ovirt-engine/api/openstackimageproviders/123/images/456/import
<action>
<https://gerrit.ovirt.org/gitweb?p=ovirt-engine-api-model.git;a=blob;f=src/main/java/services/openstack/OpenstackImageService.java;h=72acfefee4e431669a9991b155052ab5dbe41f4e;hb=HEAD#l52>
<storage_domain>
<https://gerrit.ovirt.org/gitweb?p=ovirt-engine-api-model.git;a=blob;f=src/main/java/services/openstack/OpenstackImageService.java;h=72acfefee4e431669a9991b155052ab5dbe41f4e;hb=HEAD#l53>
<name>images0</name>
<https://gerrit.ovirt.org/gitweb?p=ovirt-engine-api-model.git;a=blob;f=src/main/java/services/openstack/OpenstackImageService.java;h=72acfefee4e431669a9991b155052ab5dbe41f4e;hb=HEAD#l54>
</storage_domain>
</action>


>
> On 31 October 2016 at 23:42, Ben De Luca <bdel...@gmail.com> wrote:
>
>> That's probably a little bit more brave than I am, so there is no way in
>> the current release? I don't mind jumping through a few hoops but sitting
>> for days loading them doesn't fill me joy.
>>
>> If not it's great that feature is added.
>>
>>
>>
>>
>> On Monday, 31 October 2016, Amit Aviram <aavi...@redhat.com> wrote:
>>
>>> Hi Ben. Actually exactly today REST API for uploading disks was
>>> introduced to master. It is supposed to get into the next 4.0.Z version, so
>>> if you want you can update your version soon enough and use the API.
>>>
>>> When you'll have the right version, you can use examples from
>>> "/api/Model" to upload disks using oVirt's Python SDK.
>>>
>>> If you need any help, please feel free to keep asking on the list.
>>>
>>> Amit.
>>>
>>> On Mon, Oct 31, 2016 at 7:22 PM, Ben De Luca <bdel...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>     I was wondering if there was a method on the cli/script to mass
>>>> upload disks to ovirt. The web loader is great, but also I have 20 disks
>>>> that I really just want to upload via shell.
>>>>
>>>>     I can't seem to find a tool to do it, I have found
>>>> ovirt-image-uploader (but that's for ovf files).
>>>>
>>>>     I hoped that I could just pull the date directly off nfs but that
>>>> doesnt seem to be possible, or I am blind?
>>>>
>>>>     Thanks
>>>> -Ben
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users@ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>>>
>>>
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to