mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-29 13:38:12 +00:00
Deal with conflict between master and 2.13 branch for 2.13.5 release
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
start:SN_setup_case:stop:yes
|
||||
start:SN_setup_case
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
cmd:XCAT_DATABASE=$$XCAT_DATABASE /opt/xcat/share/xcat/tools/autotest/testcase/installation/pre_deploy_sn __GETNODEATTR($$SN,os)__ __GETNODEATTR($$SN,arch)__
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:reg_linux_diskfull_installation_flat:stop:yes
|
||||
start:reg_linux_diskfull_installation_flat
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:reg_linux_diskfull_installation_hierarchy:stop:yes
|
||||
start:reg_linux_diskfull_installation_hierarchy
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
cmd:xdsh $$SN "echo "test"> /test.hierarchy"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:reg_linux_diskless_installation_flat:stop:yes
|
||||
start:reg_linux_diskless_installation_flat
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:reg_linux_diskless_installation_hierarchy:stop:yes
|
||||
start:reg_linux_diskless_installation_hierarchy
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
cmd:xdsh $$SN "echo "test"> /test.hierarchy"
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:reg_linux_statelite_installation_flat:stop:yes
|
||||
start:reg_linux_statelite_installation_flat
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:fdisk -l
|
||||
cmd:df -T
|
||||
|
||||
@@ -75,6 +75,9 @@ cmd:xdsh $$CN mount
|
||||
check:rc==0
|
||||
check:output=~/nodedata/$$CN on /.statelite/persistent
|
||||
check:output=~compute/rootimg on / type nfs
|
||||
cmd:xdsh $$CN hostname
|
||||
check:rc==0
|
||||
check:output=~$$CN: $$CN
|
||||
cmd:xdsh $$CN "cat /var/log/xcat/xcat.log"
|
||||
cmd:xdsh $$CN "echo "test"> /test.statelite"
|
||||
check:rc!=0
|
||||
@@ -110,6 +113,9 @@ cmd:xdsh $$CN mount
|
||||
check:rc==0
|
||||
check:output=~/nodedata/$$CN on /.statelite/persistent
|
||||
check:output=~rootfs on / type tmpfs
|
||||
cmd:xdsh $$CN hostname
|
||||
check:rc==0
|
||||
check:output=~$$CN: $$CN
|
||||
cmd:sleep 120
|
||||
cmd:ping $$CN -c 3
|
||||
check:rc==0
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:reg_linux_statelite_installation_hierarchy_by_nfs:stop:yes
|
||||
start:reg_linux_statelite_installation_hierarchy_by_nfs
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
cmd:xdsh $$SN "echo "test"> /test.hierarchy"
|
||||
@@ -95,6 +95,9 @@ cmd:xdsh $$CN mount
|
||||
check:rc==0
|
||||
check:output=~/nodedata/$$CN on /.statelite/persistent
|
||||
check:output=~compute/rootimg on / type nfs
|
||||
cmd:xdsh $$CN hostname
|
||||
check:rc==0
|
||||
check:output=~$$CN: $$CN
|
||||
cmd:xdsh $$CN "cat /var/log/xcat/xcat.log"
|
||||
cmd:xdsh $$CN "echo "test"> /test.statelite"
|
||||
check:rc!=0
|
||||
|
@@ -1,6 +1,6 @@
|
||||
start:reg_linux_statelite_installation_hierarchy_by_ramdisk:stop:yes
|
||||
start:reg_linux_statelite_installation_hierarchy_by_ramdisk
|
||||
os:Linux
|
||||
stop:yes
|
||||
#stop:yes
|
||||
cmd:xdsh $$SN fdisk -l
|
||||
cmd:xdsh $$SN df -T
|
||||
cmd:xdsh $$SN "echo "test"> /test.hierarchy"
|
||||
@@ -89,6 +89,9 @@ cmd:xdsh $$CN mount
|
||||
check:rc==0
|
||||
check:output=~/nodedata/$$CN on /.statelite/persistent
|
||||
check:output=~rootfs on / type
|
||||
cmd:xdsh $$CN hostname
|
||||
check:rc==0
|
||||
check:output=~$$CN: $$CN
|
||||
cmd:xdsh $$CN "cat /var/log/xcat/xcat.log"
|
||||
cmd:rootimgdir=`lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-statelite-compute|grep rootimgdir|awk -F'=' '{print $2}'`; if [ -d $rootimgdir.regbak ]; then rm -rf $rootimgdir; mv $rootimgdir.regbak $rootimgdir; fi
|
||||
check:rc==0
|
||||
|
@@ -2,7 +2,10 @@ start:redhat_migration1
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION1_VERSION to latest version, these two global parameter defined in config file
|
||||
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;echo "poweroffsn">/tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
cmd:if [[ "__GETNODEATTR($$SN,groups)__" =~ "service" ]];then chdef $$SN -m groups=service;echo "servicelabel" >/tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
|
||||
@@ -96,14 +99,20 @@ cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/servicelabel ]];then chdef $$SN -p groups=service;rm -rf /tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/poweroffsn ]];then rpower $$SN on > /dev/null;rm -rf /tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
start:redhat_migration2
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION2_VERSION to latest version, these two global parameter defined in config file
|
||||
stop:yes
|
||||
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
#stop:yes
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;echo "poweroffsn">/tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
cmd:if [[ "__GETNODEATTR($$SN,groups)__" =~ "service" ]];then chdef $$SN -m groups=service;echo "servicelabel" >/tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
|
||||
@@ -197,5 +206,9 @@ cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/servicelabel ]];then chdef $$SN -p groups=service;rm -rf /tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/poweroffsn ]];then rpower $$SN on > /dev/null;rm -rf /tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
|
@@ -1,8 +1,10 @@
|
||||
start:sles_migration1
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION1_VERSION to latest version, these two global parameter defined in config file
|
||||
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;echo "poweroffsn">/tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
cmd:if [[ "__GETNODEATTR($$SN,groups)__" =~ "service" ]];then chdef $$SN -m groups=service;echo "servicelabel" >/tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
|
||||
@@ -99,13 +101,20 @@ cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/servicelabel ]];then chdef $$SN -p groups=service;rm -rf /tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/poweroffsn ]];then rpower $$SN on > /dev/null;rm -rf /tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
start:sles_migration2
|
||||
os:Linux
|
||||
description:update xCAT from $$MIGRATION22VERSION to latest version, these two global parameter defined in config file
|
||||
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;echo "poweroffsn">/tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
cmd:if [[ "__GETNODEATTR($$SN,groups)__" =~ "service" ]];then chdef $$SN -m groups=service;echo "servicelabel" >/tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
|
||||
@@ -202,5 +211,9 @@ cmd:xdsh $$CN "noderm node0001"
|
||||
check:rc==0
|
||||
cmd:latest_version_info=`lsxcatd -v`;xdsh $$CN "lsxcatd -v" | grep "$latest_version_info"
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/servicelabel ]];then chdef $$SN -p groups=service;rm -rf /tmp/servicelabel;fi
|
||||
check:rc==0
|
||||
cmd:if [[ -f /tmp/poweroffsn ]];then rpower $$SN on > /dev/null;rm -rf /tmp/poweroffsn;fi
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user