[ovirt-users] Re: Creating Bricks via the REST API

2019-09-24 Thread Sahina Bose
On Mon, Sep 23, 2019 at 9:08 PM Amit Bawer  wrote:

> +Sahina Bose 
> Thanks for your clarification Julian, creating new Gluster brick from
> ovirt's REST API is not currently supported, only from UI.
>

That's right. We do have a bug tracking this -
https://bugzilla.redhat.com/show_bug.cgi?id=1601336

>
> On Mon, Sep 23, 2019 at 6:25 PM Julian Schill 
> wrote:
>
>> > This is documented in section 6.92.2. of [1]
>> >
>> > [1]
>> >
>> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/.
>> ..
>>
>> Section 6.92.2 documents a POST request that lets one add *existing*
>> bricks to an existing volume.
>> This doesn't answer my question on how one can create *new* bricks via
>> the REST API.
>> ___
>> 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/QMPFTXA2WX3JMB6AJNIAHS4XLBJPXXVC/
>>
>
___
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/LM335E5PLWQK5XK3FR4P7DYKSKYHKAJU/


[ovirt-users] Re: Creating Bricks via the REST API

2019-09-23 Thread Staniforth, Paul
I had assumed Julian was asking how to create the bricks on the hosts whereas 
the API only seems to allow you to add bricks that have been created.

Regards,
  Paul S.


From: Amit Bawer 
Sent: 23 September 2019 15:52
To: Julian Schill 
Cc: users@ovirt.org 
Subject: [ovirt-users] Re: Creating Bricks via the REST API

This is documented in section 6.92.2. of [1]

[1] 
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/rest_api_guide/services#services-gluster_bricks-methods-add<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Faccess.redhat.com%2Fdocumentation%2Fen-us%2Fred_hat_virtualization%2F4.3%2Fhtml%2Frest_api_guide%2Fservices%23services-gluster_bricks-methods-add&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cfad563f08e7f48bc483c08d740362913%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637048473674167800&sdata=2%2BVXFJzAdp4WyvDXbmJgKIwJdTb1bDwnjyvLtEeXBJA%3D&reserved=0>

On Sun, Sep 22, 2019 at 11:59 PM Julian Schill 
mailto:schill-jul...@gmx.de>> wrote:
Under "Compute -> Hosts -> Host Name -> Storage Devices" one can create new 
Gluster Bricks on free partitions. How can i do this via the REST API?
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: 
https://www.ovirt.org/site/privacy-policy/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fsite%2Fprivacy-policy%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cfad563f08e7f48bc483c08d740362913%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637048473674167800&sdata=AiE6UcsaG%2B6hMc3bvkt3jn%2BLVs5VZo1mDBp6ibzX78o%3D&reserved=0>
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cfad563f08e7f48bc483c08d740362913%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637048473674177795&sdata=EgB9LOxRXT5QKYSU%2Bm1IGY1oTaNXZNpYyz14KepV13k%3D&reserved=0>
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/THFM6YI6R6F4LE6W34SJ7REIKVYCPALL/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FTHFM6YI6R6F4LE6W34SJ7REIKVYCPALL%2F&data=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cfad563f08e7f48bc483c08d740362913%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637048473674187792&sdata=gIueY0UnRMAGOFwfFNBO%2FTRce70adx82tU54B6qIFCY%3D&reserved=0>
To view the terms under which this email is distributed, please go to:-
http://leedsbeckett.ac.uk/disclaimer/email/
___
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/QAJBM46KDIHLXOJSMYKFYL2OQ6CKOEJR/


[ovirt-users] Re: Creating Bricks via the REST API

2019-09-23 Thread Strahil
What about gluster API ?
I think that's a doable solution .

Best Regards,
Strahil NikolovOn Sep 23, 2019 18:38, Amit Bawer  wrote:
>
> +Sahina Bose 
> Thanks for your clarification Julian, creating new Gluster brick from ovirt's 
> REST API is not currently supported, only from UI.
>
> On Mon, Sep 23, 2019 at 6:25 PM Julian Schill  wrote:
>>
>> > This is documented in section 6.92.2. of [1]
>> > 
>> > [1]
>> > https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/...
>>
>> Section 6.92.2 documents a POST request that lets one add *existing* bricks 
>> to an existing volume.
>> This doesn't answer my question on how one can create *new* bricks via the 
>> REST API.
>> ___
>> 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/QMPFTXA2WX3JMB6AJNIAHS4XLBJPXXVC/
___
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/IEWJUDYL6ARU4LZMCFX2GN5JB5IHAVGL/


[ovirt-users] Re: Creating Bricks via the REST API

2019-09-23 Thread Amit Bawer
+Sahina Bose 
Thanks for your clarification Julian, creating new Gluster brick from
ovirt's REST API is not currently supported, only from UI.

On Mon, Sep 23, 2019 at 6:25 PM Julian Schill  wrote:

> > This is documented in section 6.92.2. of [1]
> >
> > [1]
> >
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/.
> ..
>
> Section 6.92.2 documents a POST request that lets one add *existing*
> bricks to an existing volume.
> This doesn't answer my question on how one can create *new* bricks via the
> REST API.
> ___
> 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/QMPFTXA2WX3JMB6AJNIAHS4XLBJPXXVC/
>
___
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/B7E3LSHVCXLW2N7JG2LUETPSQPF5PTAB/


[ovirt-users] Re: Creating Bricks via the REST API

2019-09-23 Thread Julian Schill
> This is documented in section 6.92.2. of [1]
> 
> [1]
> https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/...

Section 6.92.2 documents a POST request that lets one add *existing* bricks to 
an existing volume.
This doesn't answer my question on how one can create *new* bricks via the REST 
API.
___
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/QMPFTXA2WX3JMB6AJNIAHS4XLBJPXXVC/


[ovirt-users] Re: Creating Bricks via the REST API

2019-09-23 Thread Amit Bawer
This is documented in section 6.92.2. of [1]

[1]
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/rest_api_guide/services#services-gluster_bricks-methods-add

On Sun, Sep 22, 2019 at 11:59 PM Julian Schill  wrote:

> Under "Compute -> Hosts -> Host Name -> Storage Devices" one can create
> new Gluster Bricks on free partitions. How can i do this via the REST API?
> ___
> 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/THFM6YI6R6F4LE6W34SJ7REIKVYCPALL/
>
___
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/T3AIKWZSWZPQYN4K4DWK65OAAWLYLUZ4/