Go to file
Al Bailey 39cc3a217a Update sysinv tox for python3.9
sysinv will now use python3.9 for pylint, flake8, bandit

basepython is now set to python3.9

The zuul jobs for older versions are now updated or removed
The nodeset for python 3.9 jobs is set to debian-bullseye

pylint.rc changes include:
 - Upversion to latest pylint (2.16)
 - remove suppressions that no longer exist.
 - add suppressions for new checks added in recent pylint
 - update pylint.rc settings that no longer exist.
 - remove explicit enabling of pylint checkers from python2
   that are on by default in python3

Note: some of the newly suppressed pylint error codes will
be un-suppressed in later commits.

A subtle issue has also been fixed where a variable was
shadowing an imported method, and would have led to a
an exception when logging an error. The variable has been
renamed.

Example CLI service-parameter command for that code path:
 system service-parameter-modify kubernetes \
  kube_apiserver_volumes \
  default-audit-policy-file='{"hostPath":"x", "name":"y"}'

The CLI of the previous code would show the following
in its exception case without the fix
   'int' object is not callable

Test Plan:
  PASS: run tox in a debian build environment.
  PASS: build/install/unlock AIO-SX
  PASS: service-parameter CLI command still works

Story: 2010531
Task: 47279

Change-Id: Id17ecca71892856449c560b33230ae2cc8fd71c7
Signed-off-by: Al Bailey <al.bailey@windriver.com>
2023-09-07 16:21:25 -03:00
2022-05-31 13:56:30 +00:00
2023-09-07 16:21:25 -03:00
2023-02-06 13:32:18 -05:00
2023-09-07 16:21:25 -03:00
2021-08-27 08:39:06 -04:00
2018-05-31 07:35:52 -07:00
2022-12-26 18:55:39 +00:00

stx-config

StarlingX Configuration Management

Description
StarlingX System Configuration Management
Readme 106 MiB
Languages
Python 98%
Shell 1.6%
CSS 0.2%