Tox and Zuul job for the python code scan in starlingx/fault
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/fault 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 Batch2 change.
Mark distributed cloud alarms as not management affecting
Changing both distributed cloud alarms (which are only raised
on the system controller) to be not management affecting. There
are two alarms:
280.001: <subcloud> is offline
280.002: <subcloud> <resource> sync_status is out-of-sync
These alarms indicate issues with a subcloud and should not be
considered management affecting, as that prevents upgrades
from being done on the system controller.
Reviewed: https:/ /review. opendev. org/729817 /git.openstack. org/cgit/ starlingx/ fault/commit/ ?id=f21b937b256 5fa3f8651d4d72d 47a18677959b20
Committed: https:/
Submitter: Zuul
Branch: f/centos8
commit bef81593f094f51 d6f6ca3a577b747 2a938414b8
Author: Elena Taivan <email address hidden>
Date: Wed Apr 29 11:30:25 2020 +0000
Raise alarms for image-conversion
1. Raise alarm if image-conversion is not added on both controllers
2. Raise alarm if the size of the filesystem is not the same on both controllers
Change-Id: I803b313cfee372 fd5d025efbba74c 1ae34b9e248
Partial-bug: 1819688
Signed-off-by: Elena Taivan <email address hidden>
commit 2f364daa08c64b8 976edf7140d3ca8 5b556ba974
Author: Sharath Kumar K <email address hidden>
Date: Mon Apr 20 18:50:47 2020 +0200
Tox and Zuul job for the python code scan in starlingx/fault
Setting up the bandit tool for the scanning of HIGH severity issues
in the python codes under Starlingx/fault folder.
Expecting this merge will enable zuul job for CI/CD of bandit scan.
Configuration files: ts.txt for adding bandit version.
1. tox.ini for adding bandit environment and command.
2. test-requiremen
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 Batch2 change.
Story: 2007541 /review. opendev. org/#/c/ 721294/
Task: 39490
Depends-On: https:/
Change-Id: I84449691281d97 69e9219e6f9f133 8c20f518f40
Signed-off-by: Sharath Kumar K <email address hidden>
commit 1c4cd003678f631 f02b298dec70c40 3b976583bb
Author: Bart Wensley <email address hidden>
Date: Thu Apr 23 12:56:24 2020 -0500
Mark distributed cloud alarms as not management affecting
Changing both distributed cloud alarms (which are only raised
on the system controller) to be not management affecting. There
are two alarms:
280.001: <subcloud> is offline
280.002: <subcloud> <resource> sync_status is out-of-sync
These alarms indicate issues with a subcloud and should not be
considered management affecting, as that prevents upgrades
from being done on the system controller.
Change-Id: Ic3ac3feb3fa0fd d6c95b81e4c0e13 27642fc29e4
Closes-Bug: 1874123
Signed-off-by: Bart Wensley <email address hidden>
commit df03d2927848fb0 29961ae9da323ba 6701ba7c82
Author: Eric MacDonald <email address hidden>
Date: Tue Apr 14 16:47:55 2020 -0400
Change fw 'upgrade' to 'update' for vim orchestrated logs/alarms
Change-Id: Iebda426ca4813f 41e82a330dd9bee 36ca88160af
Story: 2006740
Task: 39143
Signed-off-by: Eric MacDonald <email address hidden>
commit c63ad80c232918f b58fe351b59cdb3 09163f685b
Author: Sharath Kumar K <email address hidden>
Date: Fri Apr 3 08:19:21 2020 +0200
De-branding in starlingx/fault: Titanium Cloud -> StarlingX
1. Rename Titanium Cloud to StarlingX for .spec files
2. Rename Titanium Cloud to StarlingX for .service file
Test:
After the de-brand change, bootimage.iso has built in the flock layer
and installed on the dev machine to validate the changes.
Please note, doing de-brand changes in batches, this is batch2 changes.
Change-Id: I63ab8cda38c452 40198f37d1f30c9 5e0b02da3e1
Story: 2006387
Task: 36204
Signed-off-by: Sharath Kumar K <email address hidden>
commit 2b0842337832cc4 9b98ef505026981 fe8b498456
Author: Gerry Kopec <email address hidden>
Date: Mon Mar 30 01:00:08 2020 -0400
Remove dcorch-snmp
dcorch-snmp process/service is being removed from distributed cloud.
Remove hook in fm.
Change-Id: I74e82110b14768 0c8c9eb0c0f100b 459cef4513a /review. opendev. org/#/c/ 715765
Story: 2007267
Task: 39193
Depends-On: https:/
Signed-off-by: Gerry Kopec <email address hidden>
commit c5a478beef4daba 8a79359f5eff048 ea3287c079
Author: Eric MacDonald <email address hidden>
Date: Tue Mar 24 08:42:53 2020 -0400
WIP: Add log and alarm support for vim orchestrated fw-upgrade
Please review for content addition correctness.
Change-Id: Iadcd161103f5b5 a074ac4baaf319f 02c5bf871e3
Story: 2006740
Task: 39143
Signed-off-by: Eric MacDonald <email address hidden>