mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Merge pull request #5842 from tingtli/modifylabel
update the error label
This commit is contained in:
commit
19084ca29a
@ -2,7 +2,7 @@ start:reg_linux_diskfull_installation_flat_postscripts_failed
|
||||
description:This case is for postscripts failed the status will return failed during diskfull installation.
|
||||
attribute:$$CN-The operation object of diskfull installation.
|
||||
os:Linux
|
||||
label:others,postscripts,invoke_provison
|
||||
label:others,postscripts,invoke_provision
|
||||
cmd:if ping -c 1 $$SN > /dev/null;then rpower $$SN off > /dev/null;fi
|
||||
cmd:MINIISO=NUll;if [[ "__GETNODEATTR($$CN,os)__" =~ "ubuntu" ]] && [[ "__GETNODEATTR($$CN,arch)__" =~ "ppc64" ]];then mkdir /tmp/iso; mount -o loop $$MINIISO /tmp/iso ; mkdir -p /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/install/netboot; cp /tmp/iso/install/initrd.gz /install/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/install/netboot;umount /tmp/iso; rmdir /tmp/iso; fi
|
||||
check:rc==0
|
||||
|
@ -2,7 +2,7 @@ start:reg_linux_diskless_installation_flat_postscripts_failed
|
||||
description:This case is for postscripts failed the status will return failed during diskless installation.
|
||||
attribute:$$CN-The operation object of diskless installation.
|
||||
os:Linux
|
||||
label:others,postscripts,invoke_provison
|
||||
label:others,postscripts,invoke_provision
|
||||
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
|
@ -1,6 +1,6 @@
|
||||
start:Full_installation_flat_docker
|
||||
os:Linux
|
||||
label:others,docker,invoke_provison
|
||||
label:others,docker,invoke_provision
|
||||
cmd:copycds $$ISO
|
||||
check:rc==0
|
||||
cmd:makedns -n
|
||||
|
@ -1,6 +1,6 @@
|
||||
start:cfg_wrong_cn_in_sn_pool_tftp_sync_mode
|
||||
description:The test case is intend to test the error handling of the service node pool when a compute has misconfigured node definition
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
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:not_set_xcatmaster_in_sn_pool_tftp_mount_mode
|
||||
description: this case is to test when compute nodes' xcatmaster is not set in service node pool environment,compute node's provision files are correctly set after nodeset.
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
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:not_set_xcatmaster_in_sn_pool_tftp_mount_mode_checkresult
|
||||
description: this case is to check the configuration files after nodeset for case not_set_xcatmaster_in_sn_pool_tftp_mount_mode
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
|
||||
#create a test compute node, don't set it's xcatmaster, set it's service node as SN and CN
|
||||
cmd:mkdef -t node -o compute1 groups=compute ip=10.0.0.199 mac=4a:c8:f7:de:d0:09 profile=compute os=__GETNODEATTR($$CN,os)__ arch=__GETNODEATTR($$CN,arch)__ netboot=__GETNODEATTR($$CN,netboot)__
|
||||
|
@ -1,6 +1,6 @@
|
||||
start:set_disjointdhcps_in_sn_pool_tftp_sync_mode
|
||||
description: Verify the disjointdhcps feature when petitboot is used for OS loader.
|
||||
label:others,invoke_provision,sn_pool,dhcp
|
||||
label:others,invoke_provision,snpool,dhcp
|
||||
cmd:rmdef testnode1
|
||||
cmd:rm -f /tftpboot/petitboot/testnode1
|
||||
cmd:mkdef -t node -o testnode1 arch=ppc64le cons=bmc groups=ipmi ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=ipmi profile=compute os=rhels7.99
|
||||
|
@ -1,6 +1,6 @@
|
||||
start:set_xcatmaster_in_sn_pool_tftp_mount_mode
|
||||
description: this case is to test when compute nodes' xcatmaster is set in service node pool environment,compute node's provision files are correctly set after nodeset.
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
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:set_xcatmaster_in_sn_pool_tftp_mount_mode_checkresult
|
||||
description: this case is to check the configuration files after nodeset for case set_xcatmaster_in_sn_pool_tftp_mount_mode
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
|
||||
#create a test compute node, set it's xcatmaster as SN, set it's service node as SN and CN
|
||||
cmd:mkdef -t node -o compute1 groups=compute ip=10.0.0.199 mac=4a:c8:f7:de:d0:09 profile=compute os=__GETNODEATTR($$CN,os)__ arch=__GETNODEATTR($$CN,arch)__ netboot=__GETNODEATTR($$CN,netboot)__
|
||||
|
@ -1,6 +1,6 @@
|
||||
start:set_xcatmaster_in_sn_pool_tftp_sync_mode
|
||||
description: this case is to test when compute nodes' xcatmaster is set in service node pool environment,compute node's provision files are correctly set after nodeset.
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
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:setup_sn_pool_tftp_mount_mode
|
||||
description: this case is to test when sharedtftp=1 and installloc=/install are set on mn, after all service nodes are installed, /tftpboot and /install directory on all service nodes are mounted.Since test framework only support 1 sn and 1 cn parameter. This case will install CN as another service node.
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
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:setup_sn_pool_tftp_sync_mode
|
||||
description: this case is to test when sharedtftp=0 and installloc=/install are not set on mn, after all service nodes are installed, /tftpboot and /install directory on all service nodes are separated and need to be rsynced. Since test framework only support 1 sn and 1 cn parameter. This case will install CN as another service node.
|
||||
label:others,invoke_provision,sn_pool
|
||||
label:others,invoke_provision,snpool
|
||||
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,7 +1,7 @@
|
||||
start:import_osimage_with_environments_in_yaml
|
||||
description:this case is to verify if osimage import could support environment variables.
|
||||
os:Linux
|
||||
label:others,xcat_inventory,invoke_provison
|
||||
label:others,xcat_inventory,invoke_provision
|
||||
cmd:chdef -t node -o $$CN servicenode= monserver=$$MN nfsserver=$$MN tftpserver=$$MN xcatmaster=$$MN
|
||||
check:rc==0
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user