utilities/ceph/ceph-manager/ceph-manager/ceph_manager
Alyson Deives Pereira 190e824490 Remove RPC server from ceph-manager
These RPC methods were called by sysinv. However, due to changes in [1]
and [2],these rpc methods have no effect anymore:
- get_primary_tier_size: always returns 0.
- get_tiers_size: always returns {}.
- is_cluster_up: this rpc is not called by sysinv.

Moreover, as mentioned in [2], there is still parts of code in sysinv
that are marked with "TODO(CephPoolsDecouple)" which is not in use
anymore and can be removed, which include methods that perform calls
to ceph-manager rpc methods.

Therefore, sysinv does not need to call these rpc methods anymore and
the rpc server from ceph-manager can be removed.
A change proposed in [3] replaces these rpc calls with their respective
current return values.

Story: 2010087
Task: 46520

Test Plan:
PASS: AIO-SX: manually replaced these and [3] files into a Debian
installation and no crashes happened.
PASS: rebuild the whole system with this and [3] modifications with no
crashes.
PASS: List rabbitmq queues and confirm that sysinv.ceph-manager queues
are not listed
PASS: Configure a ceph storage backend with no errors
PASS: Check no error is found in ceph-manager.log and sysinv.log
PASS: Confirm no alarm is raised


[1] https://review.opendev.org/c/starlingx/utilities/+/820933
[2] https://review.opendev.org/c/starlingx/config/+/620448
[3] https://review.opendev.org/c/starlingx/config/+/860690

Signed-off-by: Alyson Deives Pereira <alyson.deivespereira@windriver.com>
Change-Id: I30bedf6c46519e0dab89cffed821063b0ff67bd6
2022-10-27 19:27:59 +00:00
..
sysinv_api Refactor ceph-manager code to use sysinv-api instead of RPC 2022-10-07 20:39:58 +00:00
tests Refactor ceph-manager code to use sysinv-api instead of RPC 2022-10-07 20:39:58 +00:00
__init__.py Relocate ceph-manager to stx-integ/ceph/ceph-manager 2018-08-13 13:08:36 -04:00
ceph.py Add flake8-import-order and use python3.9 on tox 2022-09-13 21:49:41 +00:00
constants.py Remove RPC server from ceph-manager 2022-10-27 19:27:59 +00:00
exception.py Add flake8-import-order and use python3.9 on tox 2022-09-13 21:49:41 +00:00
i18n.py Relocate ceph-manager to stx-integ/ceph/ceph-manager 2018-08-13 13:08:36 -04:00
monitor.py Refactor ceph-manager code to use sysinv-api instead of RPC 2022-10-07 20:39:58 +00:00
server.py Remove RPC server from ceph-manager 2022-10-27 19:27:59 +00:00
utils.py Update ceph-manager rabbit configuration 2022-03-17 10:30:45 +02:00