Re: killing ceph-rest-api

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 27, 2018 at 2:58 PM, John Spray <jspray@xxxxxxxxxx> wrote:
> On Tue, Feb 27, 2018 at 1:40 PM, Aleksei Gutikov
> <aleksey.gutikov@xxxxxxxxxx> wrote:
>> Hi,
>>
>> ceph-rest-api is exposing the same commands like ceph utility does.
>> Will mgr restapi plugin provide the same interface?
>
> The restful module apparently already does, it's just not obvious
> because the documentation doesn't mention it.
>
> John

Just to tie up this thread: Nathan's PR[1] that removes ceph-rest-api
is now merged, so it will be gone in Mimic.

The restful API docs now describe[2] the alternative (thanks Boris)

John

1. https://github.com/ceph/ceph/pull/17530
2. http://docs.ceph.com/docs/master/mgr/restful/#the-request-endpoint

>
>>
>>
>> On 02/20/2018 02:47 PM, John Spray wrote:
>>>
>>> On Fri, Feb 2, 2018 at 9:19 PM, Sage Weil <sweil@xxxxxxxxxx> wrote:
>>>>
>>>> This has come up several times but it's not dead yet.
>>>>
>>>> I see two options:
>>>>
>>>> 1- Add a mon command passthrough to restful.  John has expressed
>>>> reservations about this in the past as it is too tempting to use.  On the
>>>> other hand, I suspect there will always be a need for things to do
>>>> "low-level" mon commands for unusual cases, and having a way to
>>>> do that without shelling out or creating a librados session seems useful.
>>>>
>>>> 2- Transpant ceph-rest-api into a mgr module.  This probably requires a
>>>> bit more work but would keep it as a separate thing from the curated
>>>> restful.
>>>
>>>
>>> (reviving thread while doing a pass through open PRs and looking at
>>> https://github.com/ceph/ceph/pull/17530)
>>>
>>> Option 1 already exists, it's just undocumented, and possibly untested
>>> (https://github.com/ceph/ceph/pull/17530#issuecomment-329478207)
>>>
>>> I think we should remove ceph-rest-api for mimic.
>>>
>>> John
>>>
>>>
>>>> Thoughts?
>>>> sage
>>>>
>>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
>>> the body of a message to majordomo@xxxxxxxxxxxxxxx
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>
>>
>> --
>>
>> Best regards,
>> Aleksei Gutikov
>> Software Engineer | synesis.ru | Minsk. BY
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux