monitoring: 11310 to 20001 scheduler-https: 11306 to 20002 sshr: 50000-51999 to 21000-23999
Signed-off-by: Wu Zhende wuzhende666@163.com --- daemon/sshd | 2 +- include/lab/z9 | 2 +- lib/monitor.rb | 4 ++-- sbin/monitor | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/daemon/sshd b/daemon/sshd index 7ba471a88..50a7677ab 100755 --- a/daemon/sshd +++ b/daemon/sshd @@ -15,7 +15,7 @@ PROJECT_DIR=$(dirname $SCRIPT_DIR) sshr_ip=$LKP_SERVER [ -n "$sshr_port" ] || sshr_port=5050 [ -n "$sshr_port_len" ] || sshr_port_len=2000 -[ -n "$sshr_port_base" ] || sshr_port_base=50000 +[ -n "$sshr_port_base" ] || sshr_port_base=21000
generate_key_file() { diff --git a/include/lab/z9 b/include/lab/z9 index 0592fdb6a..68c7aafc1 100644 --- a/include/lab/z9 +++ b/include/lab/z9 @@ -1,2 +1,2 @@ SCHED_HOST: api.compass-ci.openeuler.org -SCHED_PORT: 11306 +SCHED_PORT: 20002 diff --git a/lib/monitor.rb b/lib/monitor.rb index 24191fa8d..b08fdf4c9 100755 --- a/lib/monitor.rb +++ b/lib/monitor.rb @@ -34,7 +34,7 @@ class Monitor return unless @monitor_url == ''
if host = @job['SCHED_HOST'] - return @monitor_url = "ws://#{host}:11310/filter" + return @monitor_url = "ws://#{host}:20001/filter" end
Dir.glob(['/etc/compass-ci/monitor/*.yaml', @@ -49,7 +49,7 @@ class Monitor revise_hash(@defaults, defaults, true) end
- @monitor_url = @defaults['monitor_url'] || 'ws://localhost:11310/filter' + @monitor_url = @defaults['monitor_url'] || 'ws://localhost:20001/filter' end
def merge_overrides diff --git a/sbin/monitor b/sbin/monitor index a2e677fc0..f3ec73469 100755 --- a/sbin/monitor +++ b/sbin/monitor @@ -26,7 +26,7 @@ options = OptionParser.new do |opts| opts.separator 'options:'
opts.on('-u URL', '--url URL', - 'set Message Server API address, default is ws://localhost:11310/filter') do |monitor_url| + 'set Message Server API address, default is ws://localhost:20001/filter') do |monitor_url| opt_monitor_url = monitor_url end