]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/cephadm: cephadm agent 2.0
authorAdam King <adking@redhat.com>
Wed, 16 Jun 2021 12:02:15 +0000 (08:02 -0400)
committerAdam King <adking@redhat.com>
Fri, 24 Sep 2021 11:23:50 +0000 (07:23 -0400)
commit78983ad0d0cce422da32dc4876ac186f6d32c3f5
tree199a8927e0241ce6ba726b76ae89d68458e2426b
parent17f3685d40cd1eac2bb4bce5385d6d412b54491a
mgr/cephadm: cephadm agent 2.0

Creates an http endpoint in mgr/cephadm to receive
http requests and an agent that can be deployed on
each host that will gather metadata on the host and
send it to the mgr/cephadm http endpoint. Should save the
cephadm mgr module a lot of time it would have to spend
repeatedly ssh-ing into each host to gather the metadata
and help performance on larger clusters.

Fixes: https://tracker.ceph.com/issues/51004
Signed-off-by: Adam King <adking@redhat.com>
15 files changed:
ceph.spec.in
debian/control
src/cephadm/cephadm
src/pybind/mgr/cephadm/agent.py [new file with mode: 0644]
src/pybind/mgr/cephadm/inventory.py
src/pybind/mgr/cephadm/module.py
src/pybind/mgr/cephadm/serve.py
src/pybind/mgr/cephadm/services/cephadmservice.py
src/pybind/mgr/cephadm/tests/fixtures.py
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/cephadm/tests/test_migration.py
src/pybind/mgr/cephadm/tests/test_upgrade.py
src/pybind/mgr/cephadm/upgrade.py
src/pybind/mgr/orchestrator/_interface.py
src/python-common/ceph/deployment/service_spec.py