2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-07 17:02:34 +00:00

Merge pull request #3079 from junxiawang/0518

In automation environment, disable SN when doing Migration and add 'stop' label for all provision cases for Dev debug
This commit is contained in:
Weihua Hu
2017-05-17 16:18:57 +08:00
committed by GitHub
10 changed files with 20 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
start:SN_setup_case
os:Linux
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)__

View File

@@ -1,5 +1,6 @@
start:reg_linux_diskfull_installation_flat
os:Linux
stop:yes
cmd:fdisk -l
cmd:df -T
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi

View File

@@ -1,5 +1,6 @@
start:reg_linux_diskfull_installation_hierarchy
os:Linux
stop:yes
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T
cmd:xdsh $$SN "echo "test"> /test.hierarchy"

View File

@@ -1,5 +1,6 @@
start:reg_linux_diskless_installation_flat
os:Linux
stop:yes
cmd:fdisk -l
cmd:df -T
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN

View File

@@ -1,5 +1,6 @@
start:reg_linux_diskless_installation_hierarchy
os:Linux
stop:yes
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T
cmd:xdsh $$SN "echo "test"> /test.hierarchy"

View File

@@ -1,5 +1,6 @@
start:reg_linux_statelite_installation_flat
os:Linux
stop:yes
cmd:fdisk -l
cmd:df -T

View File

@@ -1,5 +1,6 @@
start:reg_linux_statelite_installation_hierarchy_by_nfs
os:Linux
stop:yes
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T
cmd:xdsh $$SN "echo "test"> /test.hierarchy"

View File

@@ -1,5 +1,6 @@
start:reg_linux_statelite_installation_hierarchy_by_ramdisk
os:Linux
stop:yes
cmd:xdsh $$SN fdisk -l
cmd:xdsh $$SN df -T
cmd:xdsh $$SN "echo "test"> /test.hierarchy"

View File

@@ -2,9 +2,9 @@ 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:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
#check:rc==0
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
check:rc==0
cmd:makedns -n
@@ -103,9 +103,9 @@ 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
#cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
#check:rc==0
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
check:rc==0
cmd:makedns -n

View File

@@ -2,9 +2,9 @@ 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:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
#check:rc==0
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
check:rc==0
cmd:makedns -n
@@ -105,9 +105,9 @@ 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:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
#check:rc==0
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
check:rc==0
cmd:rscan __GETNODEATTR($$CN,hcp)__ -w
check:rc==0
cmd:makedns -n