Add warning messages about deprecation to process/host monitor

This patch adds warning messages to process/host monitor,
and adds a release note about process/host monitor.

Change-Id: I6527438fca457eb2ec6d7ca224520d7a8748394e
Implements: bp pythonize-host-and-process-monitor
This commit is contained in:
Kengo Takahara 2017-02-10 20:44:06 +09:00 committed by takahara.kengo
parent b3e4d97467
commit b239514cbd
3 changed files with 15 additions and 0 deletions

View File

@ -811,6 +811,9 @@ else
SCRIPT_CONF_FILE=$1
fi
# Output warning message.
log_info "WARNING : $0 is deprecated as of the Ocata release and will be removed in the Queens release. Use masakari-hostmonitor implemented in python instead of $0."
# main route
log_info "begin"

View File

@ -449,6 +449,10 @@ fi
# Initial processing (check proc.list and read conf file)
. $SCRIPT_COMMON_SH
# Output warning message.
log_info "WARNING : $0 is deprecated as of the Ocata release and will be removed in the Queens release. Use masakari-processmonitor implemented in python instead of $0."
log_debug "processmonitor start!!"
check_proc_file_common
set_conf_value

View File

@ -0,0 +1,8 @@
---
features:
- Added the masakari-hostmonitor and masakari-processmonitor which were
implemented in python.
deprecations:
- The masakari-hostmonitor and masakari-processmonitor which were implemented
in bash shell script are deprecated as of the Ocata release and will be
removed in the Queens release.