Commit Graph

10 Commits

Author SHA1 Message Date
Daniel R b9af3ab29f bugfixes; stop defaulting map flags to 0 in the constmetric 2022-10-07 14:53:46 -04:00
Daniel R 1a741d7606 introduce constmetrics for osdmap flags 2022-10-07 14:17:29 -04:00
Daniel R 362cb4b8dd fix health unit tests 2022-10-06 16:20:19 -04:00
Joshua Baergen ebd166be2d ceph: Support the Octopus+ mgrmap format. 2022-04-12 08:52:04 -06:00
Joshua Baergen 4e0f8910a4 Add missing tests for Octopus+ osdmap format.
In TestClusterHealthCollector, test all supported versions by default,
and split the osdmap tests for Nautilus vs. Octopus+. There were a
number of tests that included an osdmap that didn't need it, and the
osdmap was removed from them so that version-specific testing would not
be required.
2022-04-12 08:52:01 -06:00
Kyle 1d7bac531d update license headers 2022-03-23 14:02:21 -07:00
Kyle 3a0b289eda filter duplicate OSD nodes for down health check and fix health tests 2022-03-21 15:28:20 -07:00
Kyle 2122a3331f support flattened osdmap format added in octopus 2022-03-16 14:13:57 -07:00
Xavier Villaneau 6f83fdd300 Restructure so that tests do not depend on go-ceph
- `ceph.Conn` interface no longer depends on go-ceph/rados,
  now defines its own `PoolStat` structure for our use.
- New separate `rados` package that implements the interface
- Merged `mocks` package into `ceph` to avoid circular import
2022-02-24 15:57:00 -05:00
Kyle 566f1fa5d3 a ton of refactoring 2022-02-23 15:43:46 -08:00