File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 22
22
source " ${OS_ROOT} /hack/util.sh"
23
23
source " ${OS_ROOT} /hack/lib/log.sh"
24
24
source " ${OS_ROOT} /hack/lib/util/environment.sh"
25
+ source " ${OS_ROOT} /hack/cmd_util.sh"
25
26
os::log::install_errexit
26
27
27
28
ensure_iptables_or_die
@@ -62,4 +63,10 @@ start_os_server
62
63
# set our default KUBECONFIG location
63
64
export KUBECONFIG=" ${ADMIN_KUBECONFIG} "
64
65
66
+ os::test::junit::declare_suite_start " end-to-end/startup"
67
+ os::cmd::expect_success ' oadm registry'
68
+ os::cmd::expect_success ' oadm policy add-scc-to-user hostnetwork -z router'
69
+ os::cmd::expect_success ' oadm router'
70
+ os::test::junit::declare_suite_end
71
+
65
72
${OS_ROOT} /test/end-to-end/core.sh
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ function configure_os_server {
74
74
openshift start \
75
75
--write-config=${SERVER_CONFIG_DIR} \
76
76
--create-certs=false \
77
+ --dns=" tcp://${API_HOST} :53" \
77
78
--listen=" ${API_SCHEME} ://${API_BIND_HOST} :${API_PORT} " \
78
79
--master=" ${MASTER_ADDR} " \
79
80
--public-master=" ${API_SCHEME} ://${PUBLIC_MASTER_HOST} :${API_PORT} " \
@@ -144,7 +145,6 @@ function start_os_server {
144
145
ps -ef | grep openshift
145
146
echo " [INFO] Starting OpenShift server"
146
147
${sudo} env " PATH=${PATH} " OPENSHIFT_PROFILE=web OPENSHIFT_ON_PANIC=crash openshift start \
147
- --dns=" tcp://${API_HOST} :53" \
148
148
--master-config=${MASTER_CONFIG_DIR} /master-config.yaml \
149
149
--node-config=${NODE_CONFIG_DIR} /node-config.yaml \
150
150
--loglevel=4 --logspec=' *importer=5' \
@@ -198,7 +198,6 @@ function start_os_master {
198
198
ps -ef | grep openshift
199
199
echo " [INFO] Starting OpenShift server"
200
200
${sudo} env " PATH=${PATH} " OPENSHIFT_PROFILE=web OPENSHIFT_ON_PANIC=crash openshift start master \
201
- --dns=" tcp://${API_HOST} :53" \
202
201
--config=${MASTER_CONFIG_DIR} /master-config.yaml \
203
202
--loglevel=4 --logspec=' *importer=5' \
204
203
& > " ${LOG_DIR} /openshift.log" &
You can’t perform that action at this time.
0 commit comments