mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
linux_diskless_kdump testcase enhancement2
This commit is contained in:
parent
b366a1d589
commit
66fba2de79
@ -47,6 +47,10 @@ check:rc==0
|
||||
cmd:chdef -t node $$CN -p postscripts=enablekdump
|
||||
check:rc==0
|
||||
|
||||
# Verify kdump related attributes showup in the osimage and node definitions
|
||||
cmd:lsdef -t node $$CN -i postscripts
|
||||
cmd:lsdef -t osimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute -i crashkernelsize,dump
|
||||
|
||||
cmd:rmimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
cmd:genimage __GETNODEATTR($$CN,os)__-__GETNODEATTR($$CN,arch)__-netboot-compute
|
||||
check:rc==0
|
||||
@ -79,6 +83,9 @@ cmd:a=`xdsh $$CN rpm -q at`;if [[ $a =~ "package at is not installed" ]]; then x
|
||||
cmd:xdsh $$CN "service atd start"
|
||||
check:rc==0
|
||||
|
||||
# Verify that kdump directory from management node is still mounted on the compute node
|
||||
cmd:xdsh $$CN df -H
|
||||
|
||||
cmd:xdsh $$CN "at now +1 minutes <<< /tmp/kdump.trigger"
|
||||
cmd:sleep 300
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user