Skip to contentSkip to conversation

Ceph Manager brag module

DISCUSSION Wido den Hollander 7 participants 9 messages Dec 14, 2017 – Dec 16, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

My intention is to include:

- fsid (as identifier)
- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

A admin can also say that the report is allowed to be 'public' where you can then visit (for example) https://brag.ceph.com/public/<fsid> and show off your Ceph cluster.

You could then add a description and we could compile top lists about Ceph systems.

How do people think about this? Would this be interesting?

I would try to convince most of my customers to send this information back to the project. The more information we get, the better Ceph can become.

Wido

[0]: https://github.com/wido/ceph/commits/mgr-brag

#1 lore raw

Hey Wido,

Quoted 2 lines · Wido den Hollander

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

Nice!

Quoted 5 lines

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

My intention is to include:

Quoted 9 lines

- fsid (as identifier)
- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

Not sure if that could actually be extracted, but how about "Services enabled", e.g. "RGW", "CephFS" or "RBD", with some additional insight (e.g. how many RBDs/buckets)?

I think it would be valuable to obtain some (optional) insight into what that cluster is actually used for.

Quoted 8 lines

A admin can also say that the report is allowed to be 'public' where you can then visit (for example) https://brag.ceph.com/public/<fsid> and show off your Ceph cluster.

You could then add a description and we could compile top lists about Ceph systems.

How do people think about this? Would this be interesting?

Absolutely. One challenge I can see here (in addition to users actually enabling it) is networking - I'd assume that many customers have restricted their networks, so the MGR cannot easily establish an outgoing connection without going through a proxy or before the admin has poked a hole into the firewall. This might require configuration options or corresponding documentation.

Quoted 7 lines

I would try to convince most of my customers to send this information back to the project. The more information we get, the better Ceph can become.

Wido

[0]: https://github.com/wido/ceph/commits/mgr-brag

Nice work!

Lenz

#2 lore raw

Hi Wido,

Quoted 7 lines · Lenz Grimmer

Hey Wido,

Quoted 2 lines · Wido den Hollander

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

Nice!

+1 great idea!

Quoted 14 lines
Quoted 5 lines

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

My intention is to include:

Quoted 9 lines

- fsid (as identifier)
- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

Quoted 6 lines

Not sure if that could actually be extracted, but how about "Services enabled", e.g. "RGW", "CephFS" or "RBD", with some additional insight (e.g. how many RBDs/buckets)?

I think it would be valuable to obtain some (optional) insight into what that cluster is actually used for.

Two things. It would be really nice if the user could specify which of those options they're willing to share, so these should be configurable.

Another thing I would like to add here is "performance" of the overall cluster in general. So iop's/throughput/latency and so on. This way a user could also check how the performance of their cluster evolved over time.

Pretty nifty example: After a user upgraded their cluster to the newest release was their a big performance win or drop maybe caused by this update? This would be really helpful for everyone.

Quoted 8 lines
Quoted 8 lines

A admin can also say that the report is allowed to be 'public' where you can then visit (for example) https://brag.ceph.com/public/<fsid> and show off your Ceph cluster.

You could then add a description and we could compile top lists about Ceph systems.

Quoted 7 lines
Quoted 1 line

How do people think about this? Would this be interesting?

Absolutely. One challenge I can see here (in addition to users actually enabling it) is networking - I'd assume that many customers have restricted their networks, so the MGR cannot easily establish an outgoing connection without going through a proxy or before the admin has poked a hole into the firewall. This might require configuration options or corresponding documentation.

That true indeed, but I think customers who are willing to send reports don't have a problem to route or open this port within their firewall.

Quoted 11 lines
Quoted 7 lines

I would try to convince most of my customers to send this information back to the project. The more information we get, the better Ceph can become.

Wido

[0]: https://github.com/wido/ceph/commits/mgr-brag

Nice work!

Lenz

Signature · 1 line
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
#3 lore raw
In reply to Wido den Hollander

Nice idea.

I definitely agree that the submission mechanism needs to support HTTP proxies. I imagine many (most?) ceph-mgr daemons are on private networks, and not everyone has NAT.

Quoted 39 lines · Wido den Hollander

Hi,

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

My intention is to include:

- fsid (as identifier)
- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

A admin can also say that the report is allowed to be 'public' where you can then visit (for example) https://brag.ceph.com/public/<fsid> and show off your Ceph cluster.

You could then add a description and we could compile top lists about Ceph systems.

How do people think about this? Would this be interesting?

I would try to convince most of my customers to send this information back to the project. The more information we get, the better Ceph can become.

Wido

[0]: https://github.com/wido/ceph/commits/mgr-brag
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Cheers,
~Blairo
#4 lore raw
Quoted 2 lines · Blair Bethwaite

Nice idea.

Tnx!

Quoted 3 lines

I definitely agree that the submission mechanism needs to support HTTP proxies. I imagine many (most?) ceph-mgr daemons are on private networks, and not everyone has NAT.

Yes, that's something I'll implement. Should be simple to do with Python requests.

Wido

Quoted 44 lines · Wido den Hollander
Quoted 39 lines

Hi,

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

My intention is to include:

- fsid (as identifier)
- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

A admin can also say that the report is allowed to be 'public' where you can then visit (for example) https://brag.ceph.com/public/<fsid> and show off your Ceph cluster.

You could then add a description and we could compile top lists about Ceph systems.

How do people think about this? Would this be interesting?

I would try to convince most of my customers to send this information back to the project. The more information we get, the better Ceph can become.

Wido

[0]: https://github.com/wido/ceph/commits/mgr-brag
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to Wido den Hollander
Quoted 7 lines · Wido den Hollander

Hi,

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

I like it, but have one concern.

Quoted 2 lines

My intention is to include:
- fsid (as identifier)

Please don't expose the raw FSID.
Consider a hash of FSID before submission.

Quoted 8 lines

- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

RGWs?

Signature · 5 lines
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Asst. Treasurer
E-Mail   : [email protected]
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136
#6 lore raw
Quoted 6 lines · Robin H. Johnson
Quoted 5 lines · Wido den Hollander

Hi,

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

Quoted 8 lines
Quoted 2 lines

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

I like it, but have one concern.

Quoted 2 lines

My intention is to include:
- fsid (as identifier)

Please don't expose the raw FSID.
Consider a hash of FSID before submission.

+1. I'd actually just generate a new uuid and stash it in mgr/brag/brag-id (or similar) in config-key.

Quoted 9 lines
Quoted 8 lines

- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

RGWs?

It can summarize everything in servicemap by type so that we also capture other daemons too (rbd-mirror and future gateways).

sage

#7 lore raw
In reply to Wido den Hollander
Quoted 21 lines · Wido den Hollander

Hi,

After discussing with Sage I started to work [0] on a 'brag' module for Ceph Manager.

The intention of this module is to send (after a opt-in!) statistics about a Ceph cluster back to the project every few days.

My intention is to include:

- fsid (as identifier)
- number of MONs
- number of OSDs
- FileStore / BlueStore
- number of pools / PGs
- data used in bytes
- data free
- number of objects,
- version(s)

Quoted 5 lines

A admin can also say that the report is allowed to be 'public' where you can then visit (for example) https://brag.ceph.com/public/<fsid> and show off your Ceph cluster.

You could then add a description and we could compile top lists about Ceph systems.

How do people think about this? Would this be interesting?

Great idea, It would be also nice to have some info on hw/osd tree + rados bench results runs for 2 mins with few profiles which could be displayed alongside (could be optional and admin’s choice)

Quoted 10 lines

I would try to convince most of my customers to send this information back to the project. The more information we get, the better Ceph can become.

Wido

[0]: https://github.com/wido/ceph/commits/mgr-brag
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CA+z5Dsx+dAePE9rwyevWR2eBFQ0wtWF3xd_F4Vhskas0g14x5g@mail.gmail.com

#9 lore raw
Quoted 1 line · Blair Bethwaite

I would sign up to have a regular rados bench or similar run at a configurable time on our clusters.

I would have to look into that as I don't know how much the manager can access.

At first we just want to gather metadata and send it back so that we get a feeling of how Ceph is used and how big/small the systems are.

Thanks for the input!

Wido

Quoted 65 lines · On 15 Dec. 2017 10:44 am, "Vasu Kulkarni" <[email protected]…

> On Dec 14, 2017, at 1:24 AM, Wido den Hollander <[email protected]
<mailto:[email protected]>> wrote:
>
> Hi,
>
> After discussing with Sage I started to work [0] on a 'brag'
module for Ceph Manager.
>
> The intention of this module is to send (after a opt-in!)
statistics about a Ceph cluster back to the project every few days.
>
> My intention is to include:
>
> - fsid (as identifier)
> - number of MONs
> - number of OSDs
> - FileStore / BlueStore
> - number of pools / PGs
> - data used in bytes
> - data free
> - number of objects,
> - version(s)
>
> A admin can also say that the report is allowed to be 'public'
where you can then visit (for example)
https://brag.ceph.com/public/<fsid> and show off your Ceph cluster.
>
> You could then add a description and we could compile top lists
about Ceph systems.
>
> How do people think about this? Would this be interesting?

Great idea, It would be also nice to have some info on hw/osd tree + rados bench results runs for 2 mins with few profiles which could be displayed alongside (could be optional
and admin’s choice)

>
> I would try to convince most of my customers to send this
information back to the project. The more information we get, the better Ceph can become.
>
> Wido
>
> [0]: https://github.com/wido/ceph/commits/mgr-brag
<https://github.com/wido/ceph/commits/mgr-brag>
> --
> To unsubscribe from this list: send the line "unsubscribe
ceph-devel" in
> the body of a message to [email protected]
<mailto:[email protected]>
> More majordomo info at http://vger.kernel.org/majordomo-info.html
<http://vger.kernel.org/majordomo-info.html>

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] <mailto:[email protected]>
More majordomo info at http://vger.kernel.org/majordomo-info.html
<http://vger.kernel.org/majordomo-info.html>