958237c229
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 |
||
---|---|---|
.. | ||
__init__.py | ||
upgrade.py |