feat: add OCP agent-based and image-based installer roles - #162
Merged
Conversation
rut31337
marked this pull request as ready for review
July 15, 2026 12:28
rut31337
requested review from
agonzalezrh,
fridim,
stencell and
wkulhanek
as code owners
July 15, 2026 12:28
added 5 commits
July 15, 2026 07:34
- host_ocp4_agent_installer: Agent-Based Installer for disconnected OCP on Troshka - DNS forwarder extra manifest for registry resolution - Redfish virtual media boot via sushy-emulator - Pull-through registry support for oc-mirror - host_ocp4_ibi_installer: Image-Based Install for SNO rapid deployment - Seed image restore via lca-cli - Recert for cluster identity rename
…lution The DNS forwarder alone isn't enough — OVN/CNI pods need to pull images before CoreDNS starts. /etc/hosts is available at boot and resolves the registry hostname for CRI-O immediately.
Use systemd oneshot service instead of ignition append for /etc/hosts entry. MCO doesn't support ignition 'append' directive — causes 'Append is not supported' error and blocks all MCO reconciliation. The systemd unit runs Before=crio.service so CRI-O can resolve the registry hostname at boot, before CoreDNS starts.
- Break long URL lines (>150 chars) in IBI main.yml, eject_iso.yml, and agent installer main.yml using folded scalars and extracted variables - Fix name[template] violations: move Jinja expressions to end of task names - Add troshka.cloud.project_info to mock_modules in .ansible-lint - Copy boot_via_bmc.yml and eject_iso.yml into host_ocp4_ibi_installer role to resolve load-failure[filenotfounderror] from relative includes
rut31337
force-pushed
the
troshka-ocp-installers
branch
from
July 15, 2026 12:38
e93ad0c to
0ad951c
Compare
added 2 commits
July 15, 2026 07:40
…ll, and file-permissions lint violations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
host_ocp4_agent_installer— Agent-Based Installer (ABI) workflow: downloadsopenshift-install, generatesagent.isofrom cluster config, serves it via HTTP, boots nodes through Redfish BMC virtual media, and waits for cluster completion.host_ocp4_ibi_installer— Image-Based Installation (IBI) workflow: downloads theopenshift-installIBI variant, generates a site-config ISO, boots a single-node cluster via Redfish, and monitors installation to completion./etc/hostsinjection via a systemd oneshot MachineConfig.Test plan
/etc/hostsMachineConfig applies correctly on bootstrap