utilities/ceph/ceph-manager/ceph-manager/ceph_manager/sysinv_api
Isac Souza 958237c229 Refactor ceph-manager code to use sysinv-api instead of RPC
The monitor module of ceph-manager has support for executing
certain actions during an upgrade. This code is intended
to support alarm filtering or other actions necessary to
migrate ceph-related code from one version to another.

The code currently uses an RPC call to conductor in order
to fetch upgrade information from sysinv. This patch changes
ceph-manager to use the REST API instead of an RCP. The main
reason for this migration is a planned change on sysinv to
use ZeroMQ for RPC, instead of RabbitMQ. This change on
sysinv would require changes on ceph-manager to use the new
protocol. Using the REST API has other advantages over RPC,
such as decoupling and resilience.

Story: 2010087
Task: 46225

Test Plan:
1. Unit tests for the new code
2. Installed the new code and verified the code works by
   forcing the upgrade check to run (with and without an
   active upgrade)
3. Fresh installation of ISO

Signed-off-by: Isac Souza <IsacSacchi.Souza@windriver.com>
Change-Id: Ifd763825cd184192f100a119db6c3aee92708706
2022-10-07 20:39:58 +00:00
..
__init__.py Refactor ceph-manager code to use sysinv-api instead of RPC 2022-10-07 20:39:58 +00:00
upgrade.py Refactor ceph-manager code to use sysinv-api instead of RPC 2022-10-07 20:39:58 +00:00