Skip to content

Bug 10108: Copy LoadBalancer config to AgentClusterInstall for BareMetal platform#10309

Open
mpmprock3 wants to merge 1 commit intoopenshift:release-4.21from
mpmprock3:fix-loadbalancer-4.21
Open

Bug 10108: Copy LoadBalancer config to AgentClusterInstall for BareMetal platform#10309
mpmprock3 wants to merge 1 commit intoopenshift:release-4.21from
mpmprock3:fix-loadbalancer-4.21

Conversation

@mpmprock3
Copy link

Summary

This PR fixes issue #10108 where the loadBalancer configuration from install-config.yaml was
not being copied to the AgentClusterInstall manifest during agent ISO creation.

When deploying an OpenShift cluster with platform: baremetal and loadBalancer: type: UserManaged, users should be able to use the same VIP address for both API and Ingress. The
installer correctly validates this configuration and generates the ISO, but the assisted-service
running on the booted node fails validation because it checks the AgentClusterInstall manifest
for the loadBalancer configuration which was missing.

Changes

  • Copy LoadBalancer configuration from install-config.yaml to
    AgentClusterInstall.Spec.LoadBalancer for BareMetal platform
  • Add convertLoadBalancerType() helper function to convert between
    configv1.PlatformLoadBalancerType and hiveext.LoadBalancerType
  • Add unit test for UserManaged LoadBalancer configuration

Testing

  • All existing tests pass
  • Added new test case: "valid configuration with UserManaged LoadBalancer"
  • Manually verified: Generated agent-cluster-install.yaml now includes loadBalancer: type: UserManaged

Fixes: #10108

…tal platform

When using platform: baremetal with loadBalancer: type: UserManaged,
the LoadBalancer configuration was not being copied to the AgentClusterInstall
manifest. This caused assisted-service to fail validation when using the same
VIP for both API and Ingress.

Fixes: openshift#10108
@openshift-ci openshift-ci bot requested review from andfasano and zaneb February 13, 2026 11:38
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 13, 2026

[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 bfournie 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
Copy link
Contributor

openshift-ci bot commented Feb 13, 2026

@mpmprock3: all tests passed!

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.

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