mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-18 20:30:56 +00:00
1, Adjust the timeout for CN provisioned
2, workaround a repo error to install docker-ce
This commit is contained in:
@ -67,10 +67,10 @@ cmd:makehosts -n perftest
|
||||
check:rc==0
|
||||
|
||||
#Make sure SN and CN is deployed sucessfully
|
||||
cmd:a=0;while ! `lsdef $$CN -i status|grep -E "booted|failed" >/dev/null`; do sleep 20;((a++));if [ $a -gt 300 ];then break;fi done
|
||||
cmd:a=0;while ! `lsdef $$CN -i status|grep -E "booted|failed" >/dev/null`; do sleep 20;((a++));if [ $a -gt 50 ];then break;fi done
|
||||
cmd:ping $$CN -c 3
|
||||
check:rc==0
|
||||
cmd:a=0;while ! `lsdef $$SN -i status|grep -E "booted|failed" >/dev/null`; do sleep 20;((a++));if [ $a -gt 300 ];then break;fi done
|
||||
cmd:a=0;while ! `lsdef $$SN -i status|grep -E "booted|failed" >/dev/null`; do sleep 20;((a++));if [ $a -gt 50 ];then break;fi done
|
||||
cmd:ping $$SN -c 3
|
||||
check:rc==0
|
||||
|
||||
@ -85,7 +85,7 @@ check:rc==0
|
||||
# For openbmc simulation setup on SN
|
||||
cmd:PERF_SIM_NIC=$$SECONDNIC xcatperftest create fake[1-1000] openbmc
|
||||
check:rc==0
|
||||
cmd:scp /opt/xcat/share/xcat/tools/autotest/result/perf-openbmc-create.sh root@$$CN:/tmp/perf
|
||||
cmd:scp /opt/xcat/share/xcat/tools/autotest/result/perf-openbmc-create.sh root@$$SN:/tmp/perf
|
||||
check:rc==0
|
||||
cmd:xdsh $$SN PERF_SIM_NIC=$$SECONDNIC PERF_SIM_ADDR=192.169.251.252 bash /tmp/perf/simulatorctl.sh setup openbmc
|
||||
check:rc==0
|
||||
@ -148,7 +148,6 @@ cmd:makehosts -n perftest
|
||||
check:rc==0
|
||||
|
||||
#Make sure CN is deployed sucessfully
|
||||
cmd:a=0;while ! `lsdef $$CN -i status|grep -E "booted|failed" >/dev/null`; do sleep 20;((a++));if [ $a -gt 300 ];then break;fi done
|
||||
cmd:ping $$CN -c 3
|
||||
check:rc==0
|
||||
|
||||
|
@ -48,6 +48,8 @@ setup_docker()
|
||||
echo "[docker] name=Docker baseurl=$OPEN_POWER_TOOLS_URL enabled=1 gpgcheck=0" | \
|
||||
awk 'BEGIN{RS=" ";ORS="\n";}{print $0}' > /etc/yum.repos.d/docker.repo
|
||||
yum repolist
|
||||
#workaround as the public repo has issue to install container-selinux
|
||||
yum install http://ftp.unicamp.br/pub/ppc64el/rhel/7/docker-ppc64el/container-selinux-2.9-4.el7.noarch.rpm
|
||||
yum install -y docker-ce bridge-utils initscripts
|
||||
service docker start
|
||||
sleep 5
|
||||
|
Reference in New Issue
Block a user