Commit Graph

6 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
Erich Cordoba f7f2d9b512 Create makefile for computeconfig
A makefile with the install target was created for computeconfig.
The specfile was updated accordingly.

Story: 2004043
Task: 27548

Change-Id: I25fc8bcb269dd9c5222b2c2b9db537c2b68601ba
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2018-10-30 12:10:02 -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
Wei Zhou f52a35d6bc Add support for external Ceph
This commit introduces a new storage backend "ceph-external" to support
external ceph.
- It provide the capability to provision an external Ceph cluster as
  backend for Cinder, Glance, Nova
- The connectivity to the 3rd party Ceph cluster is ensured through
  importing a Ceph configuration file
- Any combination of other backends and the external Ceph backend is
  supported with limitations
- Create /opt/extenstion/ceph directory in drbd.pp
- When instance-backing is "remote" on a compute node, if the ephemeral
  ceph pool is moved from one ceph backend to another, a config
  out-of-date alarm should be generated for that compute node to signal
  that the compute node needs to be locked and unlocked in order for
  nova-compute to be restarted on that compute node.
- For adding an external ceph backend, it is done by two POST requests:
  one to upload the ceph config file and one to add the backend. For
  modifying an existing external ceph backend, it is done by one POST
  request to upload the ceph config file and one PATCH request to modify
  the backend.

Story: 2002820
Task: 22737

Change-Id: Ie504ffae9f4895a67502ecfa3f0fbf267bb65e99
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2018-07-31 15:48:43 -04:00
Chris Friesen bb6c4111fd Delay starting compute services until controller services are up
On AIO-SX startup there are many services that need to get started up.
We have noted experimentally that there can be significant CPU
congestion if the controller services are still initializing when we
start up the compute services.

With this change we will wait for the "cloud-services" service-group to
be active before starting up the compute services.

This has minimal effect on overall startup times because the controller
services can continue to run on all host CPUs until the cloud services
start up, at which point all host services are restricted to the
platform
CPUs.

Change-Id: Ie9f129fb078e19883cab910b3f411813237d376b
2018-06-28 22:07:38 -04: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