Add console-log to config-validate
Sadly, I missed this on our previous commit. Also update coverage from nodepool dsvm job. Change-Id: I6966957ac8162a588531c38bd69a93fb58a15258 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
db7dd563a8
commit
1a804c7859
@ -501,6 +501,9 @@ function start_nodepool {
|
||||
export STATSD_PORT=8125
|
||||
run_process statsd "/usr/bin/socat -u udp-recv:$STATSD_PORT -"
|
||||
|
||||
# Ensure our configuration is valid.
|
||||
$NODEPOOL_INSTALL/bin/nodepool -c $NODEPOOL_CONFIG config-validate
|
||||
|
||||
run_process nodepool-launcher "$NODEPOOL_INSTALL/bin/nodepool-launcher -c $NODEPOOL_CONFIG -s $NODEPOOL_SECURE -l $NODEPOOL_LOGGING -d"
|
||||
run_process nodepool-builder "$NODEPOOL_INSTALL/bin/nodepool-builder -c $NODEPOOL_CONFIG -l $NODEPOOL_LOGGING -d"
|
||||
:
|
||||
|
@ -40,6 +40,7 @@ class ConfigValidator:
|
||||
'min-ram': int,
|
||||
'flavor-name': str,
|
||||
'key-name': str,
|
||||
'console-log': bool,
|
||||
}
|
||||
|
||||
pool_label = v.All(pool_label_main,
|
||||
|
@ -32,6 +32,7 @@ providers:
|
||||
- name: trusty
|
||||
diskimage: trusty
|
||||
min-ram: 8192
|
||||
console-log: True
|
||||
- name: trusty-2-node
|
||||
diskimage: trusty
|
||||
min-ram: 8192
|
||||
|
Loading…
x
Reference in New Issue
Block a user