Skip to content

Commit 19604d1

Browse files
committed
[DONOTMERGE][B200] Add debugging commands.
1 parent e3908eb commit 19604d1

File tree

1 file changed

+24
-0
lines changed
  • cookbooks/aws-parallelcluster-platform/recipes

1 file changed

+24
-0
lines changed

cookbooks/aws-parallelcluster-platform/recipes/install.rb

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,33 @@
1414
include_recipe "aws-parallelcluster-platform::sudo_install"
1515
include_recipe "aws-parallelcluster-platform::users"
1616
include_recipe "aws-parallelcluster-platform::disable_services"
17+
bash "Check kernel" do
18+
code <<-CODE
19+
set -ex
20+
uname -a
21+
yum info kernel-modules-extra-aws infiniband-diags libibumad
22+
yum provides kernel-modules-extra-aws infiniband-diags libibumad
23+
CODE
24+
end
1725
package_repos 'setup the repositories'
26+
bash "Check kernel" do
27+
code <<-CODE
28+
set -ex
29+
uname -a
30+
yum info kernel-modules-extra-aws infiniband-diags libibumad
31+
yum provides kernel-modules-extra-aws infiniband-diags libibumad
32+
CODE
33+
end
1834
include_recipe "aws-parallelcluster-platform::directories"
1935
install_packages 'Install OS and extra packages'
36+
bash "Check kernel" do
37+
code <<-CODE
38+
set -ex
39+
uname -a
40+
yum info kernel-modules-extra-aws infiniband-diags libibumad
41+
yum provides kernel-modules-extra-aws infiniband-diags libibumad
42+
CODE
43+
end
2044
include_recipe "aws-parallelcluster-platform::cookbook_virtualenv"
2145
include_recipe "aws-parallelcluster-platform::awscli"
2246
unless alinux2023_on_docker? # Running this recipe on Alinux 2023 docker generates false failure.

0 commit comments

Comments
 (0)