Re: killing ceph-rest-api

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

 



Hi,

ceph-rest-api is exposing the same commands like ceph utility does.
Will mgr restapi plugin provide the same interface?

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