Re: Ceph 'brag' Manager Module

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

 




On 03/28/2018 12:12 PM, John Spray wrote:
> On Wed, Mar 28, 2018 at 10:32 AM, Wido den Hollander <wido@xxxxxxxx> wrote:
>>
>>
>> On 03/26/2018 11:45 AM, Lenz Grimmer wrote:
>>> On 03/25/2018 12:01 PM, Wido den Hollander wrote:
>>>
>>>>> 4- Perhaps include summary of other daemon types? I don't see the mds
>>>>> count below, and a count of other items in teh servicemap (rgw,
>>>>> rbd-mirror) would be interesting.
>>>>>
>>>>
>>>> If I'm able to fetch that through the mgr I will. Need to look into that.
>>>
>>> There is a get_service_map() method in the Dashboard, I wonder if that's
>>> what you're looking for?
>>>
>>> https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/services/ceph_service.py#L15
>>>
>>
>> I've been slightly lazy as I've been writing this module under Luminous
>> 12.2.4 and get_service_map() isn't available there.
> 
> The get_service_map implementation in master dashboard is using the
> list_servers/get_metadata/get_daemon_status hooks that are already
> present in 12.2.4 -- should be possible to see the rgws etc through
> those.

Ah, ok! But I'll have to develop against master/Mimick anyway, so I'll
update my test cluster shortly.

RGWs and such would be welcome in the report indeed.

Wido
> 
> John
> 
>>
>> I currently don't have a cluster with master running so I'll need to
>> wait a moment before I start to develop against master.
>>
>> I do like to get this module in before Mimick, but we still need to sort
>> the brag data and governance.
>>
>> Wido
>>
>>>> The updated code is here: https://github.com/wido/ceph/commits/mgr-brag
>>>>
>>>> Not opening a PR yet as I still have more work to do on the server-side.
>>>>
>>>> I'm not a true GUI expert, so somebody else will hopefully step in and
>>>> make something so that we can fetch the data out of ElasticSearch.
>>>
>>> Isn't that what Kibana is supposed to be doing?
>>>
>>> https://www.elastic.co/products/kibana
>>>
>>> Lenz
>>>
>>
--
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