Change compute node to worker node personality
The compute personality & subfunction has been changed to worker, and compute_reserved.conf has been rename to worker_reserved.conf. Compute configuration flags have been updated to worker flags. This update changes misc dependencies to compute personality, compute_reserved.conf and configuration flag files. It aslo removed puppet-nova dependencies to compute_reserved.conf. 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 Depends-On: https://review.openstack.org/#/c/624452/ Change-Id: Iccf5584058a2154f1c4ffdb061938e76b9965861 Signed-off-by: Tao Liu <tao.liu@windriver.com>
This commit is contained in:
parent
5cfa8e4d17
commit
326bc0a6e0
@ -10,13 +10,13 @@
|
||||
|
||||
NAME=$(basename $0)
|
||||
OPTIONS_CHANGED_FLAG=/var/run/.mlx4_cx3_reboot_required
|
||||
COMPUTE_CONFIG_COMPLETE=/var/run/.compute_config_complete
|
||||
WORKER_CONFIG_COMPLETE=/var/run/.worker_config_complete
|
||||
|
||||
function LOG {
|
||||
logger "$NAME: $*"
|
||||
}
|
||||
|
||||
if [ -f $OPTIONS_CHANGED_FLAG ] && [ -f $COMPUTE_CONFIG_COMPLETE ]; then
|
||||
if [ -f $OPTIONS_CHANGED_FLAG ] && [ -f $WORKER_CONFIG_COMPLETE ]; then
|
||||
LOG "mlx4_core options has been changed. Failing goenabled check."
|
||||
exit 1
|
||||
fi
|
||||
|
@ -12,14 +12,14 @@ debounce = 20 ; number of seconds that a process needs to remain
|
||||
startuptime = 5 ; Seconds to wait after process start before starting the debounce monitor
|
||||
mode = passive ; Monitoring mode: passive (default) or active
|
||||
; passive: process death monitoring (default: always)
|
||||
; active : heartbeat monitoring, i.e. request / response messaging
|
||||
; active : heartbeat monitoring, i.e. request / response messaging
|
||||
; ignore : do not monitor or stop monitoring
|
||||
subfunction = compute ; Optional label.
|
||||
; Manage this process in the context of a combo host subfunction
|
||||
; Choices: compute or storage.
|
||||
subfunction = worker ; Optional label.
|
||||
; Manage this process in the context of a combo host subfunction
|
||||
; Choices: worker or storage.
|
||||
; when specified pmond will wait for
|
||||
; /var/run/.compute_config_complete or
|
||||
; /var/run/.storage_config_complete
|
||||
; /var/run/.worker_config_complete or
|
||||
; /var/run/.storage_config_complete
|
||||
; ... before managing this process with the specified subfunction
|
||||
; Excluding this label will cause this process to be managed by default on startup
|
||||
|
||||
|
@ -60,8 +60,8 @@ while read line; do
|
||||
# be logged
|
||||
if [ ${nodetype} == "controller" ]; then
|
||||
_configuration_flag_file="/var/run/.controller_config_complete"
|
||||
elif [ ${nodetype} == "compute" ]; then
|
||||
_configuration_flag_file="/var/run/.compute_config_complete"
|
||||
elif [ ${nodetype} == "worker" ]; then
|
||||
_configuration_flag_file="/var/run/.worker_config_complete"
|
||||
elif [ ${nodetype} == "storage" ]; then
|
||||
_configuration_flag_file="/var/run/.storage_config_complete"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user