Skip to content

Agent-based installer - add static networking support for ISO_NO_REGISTRY mode - #1940

Open
bfournie wants to merge 1 commit into
openshift-metal3:masterfrom
bfournie:iso-no-registry-static-networking
Open

Agent-based installer - add static networking support for ISO_NO_REGISTRY mode#1940
bfournie wants to merge 1 commit into
openshift-metal3:masterfrom
bfournie:iso-no-registry-static-networking

Conversation

@bfournie

Copy link
Copy Markdown
Contributor

Add TUI automation to configure static IPs and hostnames via nmtui for agent-based ISO_NO_REGISTRY installations. Creates a NEW NetworkManager connection (rather than editing the existing DHCP one) to ensure --copy-network is triggered by coreos-installer, preserving the static config across reboots.

See openshift/assisted-installer-agent#1374

Add TUI automation to configure static IPs, hostnames, and DNS via
nmtui for agent-based ISO_NO_REGISTRY installations. Creates a NEW
NetworkManager connection (rather than editing the existing DHCP one)
to ensure --copy-network is triggered by coreos-installer, preserving
the static config across reboots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 31, 2026
@openshift-ci
openshift-ci Bot requested review from andfasano and zaneb July 31, 2026 23:37
@openshift-ci

openshift-ci Bot commented Jul 31, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign mkowalski for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci

openshift-ci Bot commented Aug 1, 2026

Copy link
Copy Markdown

@bfournie: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-agent-5control-ipv4 218f5e4 link false /test e2e-agent-5control-ipv4

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@bfournie

bfournie commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

This appears to work well, removing the WIP

The install was successfully

time="2026-08-03T17:18:58+02:00" level=info msg="Waiting for 5m0s ..."
time="2026-08-03T17:24:03+02:00" level=info msg="Console URL is available."
time="2026-08-03T17:24:03+02:00" level=info msg="Screenshot saved to/home/stack/dev-scripts-bfournie-latest/ocp/ostest/09-installation-progress-10.png, with type of image/png"

$ oc get nodes
NAME       STATUS   ROLES                         AGE   VERSION
master-0   Ready    control-plane,master,worker   37m   v1.36.2
master-1   Ready    control-plane,master,worker   71m   v1.36.2
master-2   Ready    control-plane,master,worker   72m   v1.36.2

And can log in via the static IP to all of the nodes

$ ssh core@192.168.111.80
Red Hat Enterprise Linux CoreOS 10.2.20260730-1
  Part of OpenShift 5.0, RHCOS is a Kubernetes-native operating system
  managed by the Machine Config Operator (`clusteroperator/machine-config`).

WARNING: Direct SSH access to machines is not recommended; instead,
make configuration changes via `machineconfig` objects:
  https://docs.openshift.com/container-platform/5.0/architecture/architecture-rhcos.html

---
Last login: Mon Aug  3 16:07:53 2026 from 192.168.111.1
[systemd]
Failed Units: 2
  NetworkManager-wait-online.service
  systemd-network-generator.service
[core@master-0 ~]$ exit
logout
Connection to 192.168.111.80 closed.
[stack@r640-u02 dev-scripts-bfournie-latest]$ ssh core@192.168.111.81
The authenticity of host '192.168.111.81 (192.168.111.81)' can't be established.
ED25519 key fingerprint is SHA256:806YjC6vkr4R/2xuwpeP3GuGAKSFQ2fVMkv6t0THmAU.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.111.81' (ED25519) to the list of known hosts.
Red Hat Enterprise Linux CoreOS 10.2.20260730-1
  Part of OpenShift 5.0, RHCOS is a Kubernetes-native operating system
  managed by the Machine Config Operator (`clusteroperator/machine-config`).

WARNING: Direct SSH access to machines is not recommended; instead,
make configuration changes via `machineconfig` objects:

@bfournie bfournie changed the title WIP: Agent-based installer - add static networking support for ISO_NO_REGISTRY mode Agent-based installer - add static networking support for ISO_NO_REGISTRY mode Aug 3, 2026
@openshift-ci openshift-ci Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 3, 2026
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