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: Iedfe334611d14e7e6b5a3b2108501d0b2fdf1e13
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
- removed the old and unused devstack job.
- needed to update pylint to python3
- needed to enable bindep to install the packages
required for installing mysqlclient
No test plan is provided, because the purpose of this
change is to determine if zuul is broken for this repo,
and then fix it.
Story: 2010531
Task: 47313
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I6655792d692644f2c6320b0ef1d66283e17d7bb3
sm-watchdog was introduced as a workaround because of NFS hung. Another
clean fix is already provided, but the sm-watchdog was not removed.
Test plan:
[centos] build, install and unlock.
[debian] build, install and unlock.
Story: 2010087
Task: 46007
Signed-off-by: Davi Frossard <dbarrosf@windriver.com>
Change-Id: I29fffff4e8982dc504f104f49c6586f7c74527fb
flake8 2.5.5 fails on ubuntu-focal zuul machines running python3.8
with the following error:
AttributeError: 'FlakesChecker' object has no attribute 'CONSTANT'
The update removes the version constraint to use newer flake8.
The linters can be run in python3.
Pylint cannot be run in python3 because mysql-python is not
compatable, so a new zuul job for pylint is now added.
The flake8 errors that the newer version raises are all suppressed,
and some of them should be addressed by someone with familiarity in
this repo.
Change-Id: Ida6447728d4175173c02130cb04a6013e4f966f9
Partial-Bug: 1895054
Signed-off-by: albailey <Al.Bailey@windriver.com>
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/ha folder.
Expecting this merge will enable zuul job for CI/CD of bandit scan.
Configuration files:
1. tox.ini for adding bandit environment and command.
2. test-requirements.txt for adding bandit version.
3. .zuul.yaml file for adding bandit job and configuring under
check job to run code scan every time before code commit.
Test:
Run tox -e bandit command inside the fault folder to validate the
bandit scan and result.
Please note:
Changes will be implemented in batches and this is Batch3 change.
Story: 2007541
Task: 39621
Depends-On: https://review.opendev.org/#/c/721294/
Change-Id: I01f81d7c52c12432965106f9603e4db600381971
Signed-off-by: Sharath Kumar K <sharath.kumar@intel.com>
Add job to publish ha repo to GitHub
Story: 2007252
Task: 38611
Change-Id: I2553568011a156a191fe7edade25b6e166dc55ad
Signed-off-by: Bin Qian <bin.qian@windriver.com>
devstack is failing, most likely because StarlingX
uses postgres, and postgres was dropped in devstack by:
cf1c847191
I am not removing the devstack job declaration, or the devstack files
because in the future StarlingX could convert from postgres to
another DB backend, at which point we might want to revisit
using devstack.
Change-Id: I3adec4669d9181d71421f43905f86bf2e7e211c2
Partial-Bug: 1848557
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
Use templates instead of individual jobs so that these
can be changed in one place.
Depends-On: https://review.opendev.org/677606
Change-Id: Ic70832ed4e4fba3343381f7ead611085c0849994
The glance devstack plugin is not working for us,
and is not needed for our devstack to work, so updating
the zuul job to use the "min" devstack version that is used
by other repos such as 'fault' and avoid setting up the
glance devstack plugin altogether.
Change-Id: Id16671961e10962530d2eaff28387b4b206e0a3b
Partial-Bug: 1840292
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
4 services are enabled: sm-daemon, sm-api, sm-watchdog, sm-eru.
The same sm services running in deploy environment.
Test:
pass stack.sh execution with sm services enabled
Story: 2003160
Task: 29239
Change-Id: Ibbe1757e37998ff1c620f66dd97fabf24c887c1f
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
This builds, installs and cleans some of the SM components, plus adds
a DevStack job and a build.sh script to build components outside DevStack.
It uses the 'new' DevStack base job flock-devstack-base directly.
Also some interesting work-arounds were required to build sm-common and sm-db,
need to sort out the differences between CentOS 7.5 and Ubuntu Xenial.
Fixed a couple of occurrances of this error:
sm_db_service_domain_neighbors.c:311:25: error: ISO C++ forbids
comparison between pointer and integer [-Werror=permissive]
if( '\0' != record->orchestration )
^~~~~~~~~~~~~
02Apr2019 - Add new skips for flake8 after upstream release
03Apr2019 - Merge with https://review.openstack.org/#/c/647490/2, at this point
there is not much reason to do this in two steps.
Change-Id: I33c44a764295e8e0a7ae4771ea02e950f06bf2a2
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
* Add pointers in the main doc to api-ref and releasenotes pages
* Add publish-stx-api-ref and publish-stx-releasenotes jobs
* Add search at bottom of api-ref and relnotes pages to trigger the jobs
Change-Id: I0791ab622ed187d8bdf93e5b848fa70a0d3e6c2c
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
Also set the theme to alabaster until starlingxdocs is ready
Change-Id: Ie4e031c536836c558c26c8c87b09f3e04b207f83
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
The purpose of this commit is to:
- make this pep8 zuul job voting
- convert from pep8 to flake8
- add the bugbear plugin
- suppress any tests that are currently failing
- prevent fixed errors from being re-introduced
Further tasks will be required to un-suppress the
failing tests and make them pass
Story: 2002803
Task: 26833
Change-Id: I0421ebb3ce486c066f968052c38b733b3a145114
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
Baseline changes to comply with Release Notes Management
based in Reno [0] a release notes manager.
[0] https://docs.openstack.org/reno/latest/
Story: 2003101
Task: 25748
Change-Id: I7d7fdfe38d6a22c0bb8195e9bc82c2df759d06c7
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>