Skip to content

Add Ubuntu 24 Confluent headnode support#39

Open
viniciusferrao wants to merge 5 commits intomasterfrom
feature/ubuntu24-headnode
Open

Add Ubuntu 24 Confluent headnode support#39
viniciusferrao wants to merge 5 commits intomasterfrom
feature/ubuntu24-headnode

Conversation

@viniciusferrao
Copy link
Copy Markdown
Member

Summary

  • Add Ubuntu 24.04 as a DEB-family headnode target for unattended installs.
  • Add Confluent APT bootstrap, Ubuntu image import/build/pack flow, Apache publication for Confluent public assets/API, and dnsmasq handling for the management network.
  • Add DEB handling across base, network, firewall, timesync, OFED, NFS, OpenHPC, SLURM, dump/check roles.
  • Add a Ubuntu 24 Confluent libvirt lab profile and answerfile template.

Validation

  • git diff --check
  • bash -n testing/libvirt/opencattus-el9-lab.sh testing/libvirt/opencattus-ubuntu24-lab.sh
  • Clean remote lab run on rome01.local.versatushpc.com.br using testing/libvirt/opencattus-ubuntu24-lab.sh -c /home/ferrao/opencattus-ubuntu24-confluent-pr38.env run
  • Lab result: OpenCATTUS completed, Confluent registered n01, Slurm reported n01 idle, and the MPI smoke test returned both ranks from n01:
    Hello from rank 1 of 2 on n01
    Hello from rank 0 of 2 on n01
    

@viniciusferrao viniciusferrao force-pushed the feature/ubuntu24-headnode branch from 1f5769b to 5c599c5 Compare April 20, 2026 03:24
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1f5769bd2c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/models/cluster.cpp
Comment on lines +566 to +567
case OS::Platform::ubuntu24:
return;
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Block xCAT selection on Ubuntu headnodes

This unconditional ubuntu24 acceptance lets configurations proceed with provisioner=xcat, but the xCAT install path is still RPM-only (RepoManager::enable only implements RPM and XCAT::installPackages() runs dnf). On an Ubuntu 24.04 headnode, validation now passes and the run fails later during provisioning instead of being rejected up front. Please gate xCAT when the detected headnode package type is DEB (or surface a clear validation error before install starts).

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 8fc5d61: DEB headnodes now fail validation early with xCAT on DEB head nodes is not implemented yet; use confluent instead.

Comment on lines +517 to +519
imgutil exec $scratchdir <<EOF
DEBIAN_FRONTEND=noninteractive apt-get install -y chrony
sed -e '/^pool /d' -e '/^server .* iburst$/d' -i /etc/chrony/chrony.conf
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Refresh apt metadata before first Ubuntu image installs

The first Ubuntu node-image customization step runs apt-get install -y chrony inside the scratch image before any apt-get update has been executed in that chroot. On images where /var/lib/apt/lists is empty/stale (a common clean-image state), this fails with package resolution errors and aborts image creation before the later install block that does run apt-get update. Run apt-get update before these early Ubuntu installs (chrony/autofs) or fold them into the later updated block.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 8fc5d61: Ubuntu node-image chrony and autofs setup now runs apt update before the first apt install inside the scratch image.

@viniciusferrao viniciusferrao force-pushed the feature/ubuntu24-headnode branch from 76a9146 to eddcea2 Compare April 20, 2026 06:11
@viniciusferrao viniciusferrao force-pushed the feature/ubuntu24-headnode branch from eddcea2 to 8fc5d61 Compare April 20, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant