[prev in list] [next in list] [prev in thread] [next in thread]
List: ceph-devel
Subject: Re: killing ceph-rest-api
From: John Spray <jspray () redhat ! com>
Date: 2018-02-27 14:58:55
Message-ID: CALe9h7cDGTSvGqs7iUF5w2hZjP9BOf2_74XcBHg_yWi+Fj9DGw () mail ! gmail ! com
[Download RAW message or body]
On Tue, Feb 27, 2018 at 1:40 PM, Aleksei Gutikov
<aleksey.gutikov@synesis.ru> 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
>
>
> On 02/20/2018 02:47 PM, John Spray wrote:
>>
>> On Fri, Feb 2, 2018 at 9:19 PM, Sage Weil <sweil@redhat.com> 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@vger.kernel.org
>> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic