Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

Commit c0cf12a

Browse files
committed
Fix makedns command & restart chronyd
1 parent cc7fd96 commit c0cf12a

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/services/shell.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,10 @@ void Shell::install()
546546
provisionerName);
547547
provisioner->setNodesBoot();
548548
provisioner->resetNodes();
549+
550+
// Fix slurmctld: error: Check for out of sync clocks
551+
LOG_INFO("Synchronizing clocks");
552+
osservice()->restartService("chronyd");
549553
}
550554

551555
}

src/services/xcat.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ void XCAT::configureInfiniband()
342342

343343
void XCAT::configureSLURM()
344344
{
345-
// NOTE: hwloc-libs required to fix slurmd
345+
// NOTE: hwloc-libs required to fix slurmd
346346
m_stateless.otherpkgs.emplace_back("ohpc-slurm-client");
347347
m_stateless.otherpkgs.emplace_back("hwloc-libs");
348348

@@ -664,7 +664,7 @@ void XCAT::addNodes()
664664
// TODO: Create separate functions
665665
runner->executeCommand("makehosts");
666666
runner->executeCommand("makedhcp -n");
667-
runner->executeCommand("makedns -a");
667+
runner->executeCommand("makedns -n");
668668
runner->executeCommand("makegocons");
669669
setNodesImage();
670670
}

0 commit comments

Comments
 (0)