Commit Graph

9 Commits

Author SHA1 Message Date
Tao Liu 6256b0d106 Change compute node to worker node personality
This update replaced the compute personality & subfunction
to worker, and updated internal and customer visible
references.

In addition, the compute-huge package has been renamed to
worker-utils as it contains various scripts/services that
used to affine running tasks or interface IRQ to specific CPUs.
The worker_reserved.conf is now installed to /etc/platform.

The cpu function 'VM' has also been renamed to 'Application'.

Tests Performed:
Non-containerized deployment
AIO-SX: Sanity and Nightly automated test suite
AIO-DX: Sanity and Nightly automated test suite
2+2 System: Sanity and Nightly automated test suite
2+2 System: Horizon Patch Orchestration
Kubernetes deployment:
AIO-SX: Create, delete, reboot and rebuild instances
2+2+2 System: worker nodes are unlock enable and no alarms

Story: 2004022
Task: 27013

Change-Id: I0e0be6b3a6f25f7fb8edf64ea4326854513aa396
Signed-off-by: Tao Liu <tao.liu@windriver.com>
2018-12-13 14:15:55 -05:00
Zuul bf238b235a Merge "Package log_functions.sh into platform-util" 2018-12-11 15:22:04 +00:00
Eric MacDonald 87ff8c93e6 Package log_functions.sh into platform-util
This update simply removes the unpackaged file.

The file is already moved to stx-integ by other update under same story/task.

https://review.openstack.org/#/c/624250

Story: 2004043
Task: 28462
Change-Id: Ie1866d2a9494b8b54fa6b6be4f7b44239e2e347d
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2018-12-11 10:01:01 -05:00
Sun Austin 3ee670f0c8 Fix 'print' issue for Python 2/3 compatible code.
and remove 'H233  Python 3.x incompatible use of print operator'
pep8/flake8 ignore case in cgts-client and sysinv tox setup

enable flake8 hacking and ignore some case and fix it later for
those ignore case.

Story: 2003433
Task: 24629

Change-Id: I0dfc4c17681dd9b0042a4277b7956d270eb73495
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-12-06 12:59:33 +08:00
Erich Cordoba e31d63dad7 Add makefile for compute-huge
A makefile was added to compute-huge. The topology script was moved
to the source folder to be handled by this makefile.

Story: 2004043
Task: 27550

Change-Id: I84e70f409de7f68c9f04fb76b13df251858f7c4a
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2018-11-01 18:26:28 -06:00
SidneyAn 47ac546217 Fixing linters errors E010, E011, E020, E041,E043, E003, E001,E042
Listed below are the errors which were fixed as well as the actions
    taken to fix them:
    E010: do not on the same line as for
    --> let do and for in the same line
    E011: then not on the same line as if or elif
    --> let then and if or elif in the same line
    E020: Function declaration not in format ^function name {$
    --> fix the format to suit ^function name {$
    E041: Usage of $[ for arithmetic is deprecated for $((
    --> fix from $[ to $((
    E043: arithmetic compound has inconsistent return semantics
    --> do not use +=, ++, -=, --; use value=value+?  instead.
    E001: check that lines do not end with trailing whitespace
    --> delete trailing whitespace
    E003: ensure all indents are a multiple of 4 spaces
    --> add/delete spaces
    E042: local declaration hides errors
    --> let declaration and assignment in two lines.

    Listed below are test cases done which run one controller
    and one compute in KVMs
    Test-Install      ----  success

Related: https://review.openstack.org/#/c/600663/
         https://review.openstack.org/#/c/601221/

Story: 2003360
Task: 26213

Change-Id: I3ece37db3a326ea58bd344f43beefcbbbd4f0ad4
Signed-off-by: SidneyAn <ran1.an@intel.com>
2018-09-11 21:47:40 +08:00
zhangyangyang 5828463612 Python 3 compatibility: fix has_key
For Python 3.0, has_key() isn't supported already, it can be replaced with in.

Story: 2003433
Task:  25737

Change-Id: I841718a820094b62df6cd3fc0e236e072d9f9f61
Signed-off-by: zhangyangyang <zhangyangyang@unionpay.com>
2018-09-01 16:34:13 +08:00
Matt Peters 69365bb834 Integrate host configuration into configuration framework
Integrates the following host configuration into the configuration
framework:
- Host boot parameters
- CPU reservation
- Process affinity
- Memory huge page allocations

Change-Id: I2259e0e93eefd5ce5000271fa32ecaa8d13fa411
Signed-off-by: Matt Peters <matt.peters@windriver.com>
2018-06-14 16:03:52 -05:00
Dean Troyer 9b95aa0a35 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:35:52 -07:00