mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
176 lines
7.5 KiB
Plaintext
176 lines
7.5 KiB
Plaintext
start:nodeset_stat
|
|
os:Linux
|
|
cmd:nodeset $$CN stat
|
|
check:rc==0
|
|
check:output=~$$CN:\s+[discover|boot|reboot|install|netboot|shell|standby]
|
|
end
|
|
start:nodeset_noderange
|
|
os:Linux
|
|
cmd:nodeset $$CN test
|
|
check:rc!=0
|
|
check:output=~Error
|
|
end
|
|
|
|
start:nodeset_check_yaboot_no
|
|
os:rhels
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64 cons=hmc groups=lpar hcp=hmc1 hwtype=lpar id=1 ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=hmc monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi parent=fsp1 pprofile=testnode1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=rhels7.5 netboot=yaboot
|
|
check:rc==0
|
|
cmd: mkdef "rhels7.5-ppc64-install-compute" -u profile=compute provmethod=install osvers=rhels7.5
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="rhels7.5-ppc64-install-compute"
|
|
check:rc!=0
|
|
check:output=~yaboot is not valid when provisioning
|
|
check:output=~valid options: "grub2,grub2-tftp,grub2-http"
|
|
cmd:rmdef -t osimage -o "rhels7.5-ppc64-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
|
|
start:nodeset_check_yaboot_yes
|
|
os:rhels
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64 cons=hmc groups=lpar hcp=hmc1 hwtype=lpar id=1 ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=hmc monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi parent=fsp1 pprofile=testnode1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=rhels5.5 netboot=yaboot
|
|
check:rc==0
|
|
cmd: mkdef "rhels5.5-ppc64-install-compute" -u profile=compute provmethod=install osvers=rhels5.5
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="rhels5.5-ppc64-install-compute"
|
|
check:rc!=0
|
|
check:output=~Install image not found in /install/rhels5.5/ppc64
|
|
cmd:rmdef -t osimage -o "rhels5.5-ppc64-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
|
|
start:nodeset_check_grub2_yes
|
|
os:rhels
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64 cons=hmc groups=lpar hcp=hmc1 hwtype=lpar id=1 ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=hmc monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi parent=fsp1 pprofile=testnode1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=rhels7.5 netboot=grub2
|
|
check:rc==0
|
|
cmd: mkdef "rhels7.5-ppc64-install-compute" -u profile=compute provmethod=install osvers=rhels7.5
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="rhels7.5-ppc64-install-compute"
|
|
check:output=~Install image not found in /install/rhels7.5/ppc64
|
|
cmd:rmdef -t osimage -o "rhels7.5-ppc64-install-compute"
|
|
cmd:noderm testnode1
|
|
check:rc==0
|
|
end
|
|
|
|
start:nodeset_check_grub2_no
|
|
os:rhels
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64 cons=hmc groups=lpar hcp=hmc1 hwtype=lpar id=1 ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=hmc monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi parent=fsp1 pprofile=testnode1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=rhels6.8 netboot=grub2
|
|
check:rc==0
|
|
cmd: mkdef "rhels6.8-ppc64-install-compute" -u profile=compute provmethod=install osvers=rhels6.8
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="rhels6.8-ppc64-install-compute"
|
|
check:rc!=0
|
|
check:output=~grub2 is not valid when provisioning rhels6.8-ppc64-install-compute
|
|
check:output=~valid options: "yaboot"
|
|
cmd:rmdef -t osimage -o "rhels6.8-ppc64-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
start:nodeset_check_grub2_ubuntu
|
|
os:ubuntu
|
|
cmd:mkdef -t node -o testnode1 arch=x86_64 cons=kvm groups=kvm ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=kvm monserver=10.1.1.1 nameservers=10.1.1.1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=ubuntu14.04.5 netboot=grub2
|
|
check:rc==0
|
|
cmd: mkdef "ubuntu14.04.5-x86_64-install-compute" -u profile=compute provmethod=install osvers=ubuntu14.04.5
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="ubuntu14.04.5-x86_64-install-compute"
|
|
check:rc!=0
|
|
check:output=~grub2 is not valid when provisioning ubuntu14.04.5-x86_64-install-compute
|
|
check:output=~valid options: "xnba,pxe"
|
|
cmd:rmdef -t osimage -o "ubuntu14.04.5-x86_64-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
start:nodeset_check_grub2_sles11
|
|
os:sles
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64 cons=hmc groups=lpar hcp=hmc1 hwtype=lpar id=1 ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=hmc monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi parent=fsp1 pprofile=testnode1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=sles11.4 netboot=grub2
|
|
check:rc==0
|
|
cmd:copycds $$ISO
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="sles11.4-ppc64-install-compute"
|
|
check:rc!=0
|
|
check:output=~install sles11.4-ppc64-compute
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
|
|
start:nodeset_check_yaboot_sles11
|
|
os:sles
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64 cons=hmc groups=lpar hcp=hmc1 hwtype=lpar id=1 ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=hmc monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi parent=fsp1 pprofile=testnode1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=sles11.4 netboot=yaboot
|
|
check:rc==0
|
|
cmd: mkdef "sles11.9-ppc64-install-compute" -u profile=compute provmethod=install osvers=sles11.9
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="sles11.9-ppc64-install-compute"
|
|
check:rc!=0
|
|
check:output=~yaboot is not valid when provisioning sles11.9-ppc64-install-compute
|
|
cmd:rmdef -t osimage -o "sles11.9-ppc64-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
start:nodeset_check_grub2_sles12
|
|
os:sles
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64el cons=kvm groups=kvm ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=kvm monserver=10.1.1.1 nameservers=10.1.1.1 1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=sles12 netboot=grub2
|
|
check:rc==0
|
|
cmd: mkdef "sles12-ppc64el-install-compute" -u profile=compute provmethod=install osvers=sles12
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="sles12-ppc64el-install-compute"
|
|
check:rc!=0
|
|
check:output=~Failed to detect copycd configured install source at /install/sles12
|
|
cmd:rmdef -t osimage -o "sles12-ppc64el-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
start:nodeset_check_yaboot_sles12
|
|
os:sles
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64el cons=kvm groups=kvm ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 mgt=kvm monserver=10.1.1.1 nameservers=10.1.1.1 1 profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=sles12 netboot=yaboot
|
|
check:rc==0
|
|
cmd: mkdef "sles12-ppc64el-install-compute" -u profile=compute provmethod=install osvers=sles12
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="sles12-ppc64el-install-compute"
|
|
check:rc!=0
|
|
check:output=~yaboot is not valid when provisioning sles12-ppc64el-install-compute
|
|
cmd:rmdef -t osimage -o "sles12-ppc64el-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
|
|
start:nodeset_check_petitboot
|
|
os:rhels
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64el cons=ipmi groups=pbmc mgt=ipmi ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1
|
|
check:rc==0
|
|
cmd:chdef testnode1 os=rhels7.5 netboot=petitboot
|
|
eck:rc==0
|
|
cmd: mkdef "rhels7.5-ppc64el-install-compute" -u profile=compute provmethod=install osvers=rhels7.5
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage="rhels7.5-ppc64el-install-compute"
|
|
check:rc==0
|
|
cmd:rmdef -t osimage -o "rhels7.5-ppc64el-install-compute"
|
|
cmd:noderm testnode1
|
|
end
|
|
start:nodeset_check_warninginfo
|
|
cmd:mkdef -t node -o testnode1 arch=ppc64el cons=ipmi groups=pbmc mgt=ipmi ip=10.1.1.200 mac=e6:d4:d2:3a:ad:06 monserver=10.1.1.1 nameservers=10.1.1.1 nodetype=ppc,osi profile=compute tftpserver=10.1.1.1 xcatmaster=10.1.1.1 netboot=petitboot
|
|
check:rc==0
|
|
cmd:nodeset testnode1 osimage=__GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-install-compute
|
|
check:rc==0
|
|
check:output=~Warning: testnode1: petitboot might be invalid
|
|
cmd:noderm testnode1
|
|
end
|
|
|