6256b0d106
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>
22 lines
436 B
Bash
22 lines
436 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (c) 2014 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Configuration "goenabled" check.
|
|
# If configuration failed, prevent the node from going enabled.
|
|
|
|
NAME=$(basename $0)
|
|
VOLATILE_CONFIG_FAIL="/var/run/.config_fail"
|
|
|
|
logfile=/var/log/patching.log
|
|
|
|
if [ -f $VOLATILE_CONFIG_FAIL ]; then
|
|
logger "$NAME: Node configuration has failed. Failing goenabled check."
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|