190e824490
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 |
||
---|---|---|
.. | ||
sysinv_api | ||
tests | ||
__init__.py | ||
ceph.py | ||
constants.py | ||
exception.py | ||
i18n.py | ||
monitor.py | ||
server.py | ||
utils.py |