Skip to content

Commit

Permalink
Update the c_bmc IPs
Browse files Browse the repository at this point in the history
Do not use IPMI_PASSWORD, i.e. remove -E

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
  • Loading branch information
martin-g committed May 12, 2023
1 parent bac4aea commit 56803ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/recipe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v3
- name: Run recipe
run: |
set -xe
set -x
. /etc/profile.d/lmod.sh
#sudo tests/ci/run_build.py ohpc components/admin/docs/SPECS/docs.spec
#sudo dnf -y install $(find /home/ohpc/rpmbuild/RPMS/ -name "*rpm") || true
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/install/openeuler22.03/input.local.tests
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ internal_netmask=255.255.252.0
ntp_server=192.168.1.220
c_ip=(192.168.1.221 192.168.1.222 192.168.1.223)
c_name=(c1 c2 c3)
c_bmc=(192.168.2.211 192.168.2.212 192.168.2.213)
c_bmc=(192.168.2.221 192.168.2.222 192.168.2.223)
c_mac=(f4:de:af:6c:e2:87 f4:de:af:6c:e2:95 f4:de:af:6c:e2:6b)
compute_regex=c[1-3]
compute_prefix=c
Expand Down
5 changes: 3 additions & 2 deletions oe-22.03-recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ cp -p /etc/resolv.conf $CHROOT/etc/resolv.conf
# Add SLURM and other components to compute instance
cp /etc/passwd /etc/group $CHROOT/etc
yum -y --installroot=$CHROOT install ohpc-slurm-client
yum -y --installroot=$CHROOT install hwloc-ohpc
chroot $CHROOT systemctl enable munge
echo SLURMD_OPTIONS="--conf-server ${sms_ip}" > $CHROOT/etc/sysconfig/slurmd
yum -y --installroot=$CHROOT install chrony
Expand Down Expand Up @@ -388,7 +389,7 @@ fi
# Boot compute nodes (Section 3.10)
# ---------------------------------
for ((i=0; i<${num_computes}; i++)) ; do
ipmitool -E -I lanplus -H ${c_bmc[$i]} -U ${bmc_username} -P ${bmc_password} chassis power reset
ipmitool -I lanplus -H ${c_bmc[$i]} -U ${bmc_username} -P ${bmc_password} chassis power reset
done

# ---------------------------------------
Expand Down Expand Up @@ -491,4 +492,4 @@ pdsh -w c1 "/usr/sbin/nhc-genconf -H '*' -c -" | dshbak -c
useradd -m test
wwsh file resync passwd shadow group
sleep 2
pdsh -w $compute_prefix[1-4] /warewulf/bin/wwgetfiles
pdsh -w $compute_prefix[1-4] /warewulf/bin/wwgetfiles

0 comments on commit 56803ce

Please sign in to comment.