Updating the rsa ssh host key based on:
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/
Note: In the future, StarlingX should have a zuul job and
secret setup for all repos so we do not need to do this
for every repo.
Needed to rename the secret, because zuul fails if like-named
secrets have diffent values in different branches of the same
repo.
Partial-Bug: #2015246
Change-Id: I62f60a26ee662814d9a21398aa138956da2fc53a
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
Add unit tests for the solution and fix warnings
raised by the test suite.
Test Plan:
PASS: Run tox with all the test suite (pytest, flake8,
pep8, bandit, cover, pylint)
Story: 2010261
Task: 47117
Depends-On: https://review.opendev.org/c/starlingx/utilities/+/869392
Signed-off-by: Heron Vieira <heron.vieira@windriver.com>
Change-Id: Ie0735e32f37f99197dba15d3f1f2b39dbf1c222c
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
Improving the code quality of utilities by adding the flake8 check on
zuul and adding the flake8-import-order plugin to standardize imports.
Also, defaults testenv to python3.9 configuration that should be used
for now on with the debian migration.
Story: 2010100
Task: 45671
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: I007302bdfb873aed4ebb7b9023db2461282b9fba
And adding infra for unittest execution.
Partial-Bug: 1951579
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: I58cefac9076db52333b41633bf2cbaa5441dc98c
This target cannot be included as part of openstack-tox-linters
because the required-projects for pylint are config and fault.
No code changes are submitted as part of this review.
The suppressed errors can be un-suppressed as the code
gets cleaned up in later reviews.
Change-Id: Ica70f77e6cab8cea8647950428701146faf38c2d
Story: 2004515
Task: 36667
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This job adds a single linters tox target.
The linters target is an aggregation of linters for
this repo including:
- flake8
- bashate
Other linters such as yamllint can be added to this
repo by later commits.
Certain bashate and flake8 codes are suppressed. They
can be enabled by later commits.
This commit also adds basic contributing and hacking docs.
Change-Id: I3d12e16b09d94a5eb1f6ea5e7e77f78bc082af84
Story: 2006166
Task: 36536
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>