1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-07 03:47:13 +01:00
Commit Graph

7085 Commits

Author SHA1 Message Date
openshift-merge-bot[bot]
acb34201ac Merge pull request #10250 from pawanpinjarkar/cherrypick-agent-1309-And-1425
AGENT-1431: Backport feature NoRegistryClusterInstall to 4.21
2026-02-05 11:56:05 +00:00
Patrick Dillon
38b0f45452 GCP: skip AI zones
Filter out AI zones when discovering zones in the region. AI zones
do not have quota for general compute resources, so we should not provision
nodes there by default.
2026-01-29 14:53:38 -05:00
barbacbd
7db44372ee OCPBUGS-74363: Remove region option for the GCP Private Service Connect Endpoint
** While the regional support is valid, we will not be using this in openshift. Regional support
requires that each api have its own endpoint. Only one api is associated with an endpoint, and managing
this access will be difficult and unnessary at this time.
2026-01-26 12:57:28 +00:00
Pawan Pinjarkar
e5b1150328 AGENT-1309: Modify OVE storage requirements 2026-01-23 10:08:35 -05:00
Thuan Vo
25ff517a54 OCPBUGS-69923: ensure deterministic zone ordering for control plane machines
Control plane machines were intermittently being created in different
availability zones than specified in their machine specs. This occurred
because the zone list returned from FilterZonesBasedOnInstanceType used
a set's UnsortedList() func, which has a non-deterministic order.

When CAPI and MAPI manifest generation independently called this func,
they could receive zones in different orders, causing a mismatch in
machine zone placements between CAPI and MAPI manifests.

This commit ensures that we sort the zone slices before further
processing.
2026-01-13 22:01:55 +00:00
Mark Old
4cf82a0aab Fix nil pointer exception in azure mapiImage 2026-01-09 05:29:47 +00:00
openshift-merge-bot[bot]
9bc331934c Merge pull request #10174 from openshift-cherrypick-robot/cherry-pick-10169-to-release-4.21
[release-4.21] SPLAT-2584,OCPBUGS-69685: Added ability to install different IPAM version when in TP.
2026-01-07 19:24:35 +00:00
openshift-merge-bot[bot]
a6307e5cca Merge pull request #10173 from openshift-cherrypick-robot/cherry-pick-10157-to-release-4.21
[release-4.21] OCPBUGS-69752: installing into GCP Shared VPC with minimal permissions
2025-12-23 09:59:02 +00:00
Mark Hamzy
00f440de60 PowerVC: fix PostProvision
New code was added that we need to avoid.  Also, we need to create
OpenStack's Metadata structure.
2025-12-19 11:48:16 +00:00
Joseph Callen
c5b5edf551 Remove fmt println with logrus debug 2025-12-18 14:16:46 +00:00
vr4manta
2a9865f47a Added ability to install different IPAM version when in TP. 2025-12-18 14:16:46 +00:00
barbacbd
69f8b9d3cf OCPBUGS-62870: installing into GCP Shared VPC with minimal permissions
** Ensure that the feature is backwards compatible for original XPN cases. The new field
firewallRulesManagement is an explicit setting of whether the user has the firewall rules
or not. In old versions this did not exist but XPN installs did not need firewall rules.
Now we will default to checking permissions when no field value is provided. If the rules
do not exist, the rules management is set to unmanaged.
2025-12-18 05:56:24 +00:00
Patrick Dillon
5ecb7ff11d OCPBUGS-64775: use CAPZ to provision ssh rule
A change to CAPZ[0], creates an SSH rule if one is not specified in
the cluster spec. Prior to this commit, we had been creating the
SSH rule with installer SDK hooks, which is still somewhat necessary
to add the inbound NAT rules, because we are not yet using CAPZ
to provision a public load balancer.

But we can use CAPZ to just create the rule, which will stop CAPZ
from preventing a redundant SSH rule which we were leaking during
bootstrap destroy.

This change will also result in creating an SSH rule for private clusters
which is fine, and something we do on other providers.

0: https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5525
2025-12-18 00:52:45 +00:00
openshift-merge-bot[bot]
763d379a9d Merge pull request #10163 from openshift-cherrypick-robot/cherry-pick-10159-to-release-4.21
[release-4.21] OCPBUGS-68363: azure: allow hive to pass empty rhcos image string
2025-12-17 00:50:42 +00:00
Patrick Dillon
ddfddb88c3 machines: allow confidential VMs on hive to use image galleries
This also handles confidential VMs for hive, which would still use
image galleries.
2025-12-15 14:53:44 +00:00
Patrick Dillon
179e22c129 azure: allow hive to pass empty rhcos image string
hive does not know the rhcos image value and will pass an empty
string for azure machines. In this case, we can leave the image
empty so that it will use the default from MAPI.
2025-12-15 14:53:43 +00:00
Pawan Pinjarkar
604a691767 AGENT-1357: Remove AgentWorkflowTypeInstallInteractiveDisconnected workflow
Remove the interactive disconnected workflow type. The appliance
  embeds registries.conf and CA certificates directly in the system ignition
  for bootstrap, eliminating the need for a separate workflow type.

  Key changes:

  Command-line interface:
  - Remove --interactive flag from unconfigured-ignition command
  - Remove ContextWrapper and workflow context management

  Workflow handling:
  - Simplify to always use AgentWorkflowTypeInstall for unconfigured ignition
  - Remove AgentWorkflowTypeInstallInteractiveDisconnected constant
  - Remove workflow type switching logic in UnconfiguredIgnition
  - Remove workflow dependency from UnconfiguredIgnition asset

  Mirror configuration:
  - Remove RegistriesConf and CaBundle dependencies from UnconfiguredIgnition
  - Remove addMirrorData() call (appliance provides this)
  - Remove early returns for interactive workflow in mirror assets

  Testing:
  - Remove interactive-disconnected-workflow test case
  - Remove with-mirror-configs test case from unconfigured ignition tests
  - Update default dependencies in test helpers

  Rationale:
  The OVE appliance provides a more robust solution for disconnected
  installations by embedding all necessary configuration (registries,
  certificates, UI) directly in the appliance image. This approach:
  - Eliminates workflow type complexity
  - Decouples installer and appliance repositories
  - Simplifies the codebase by removing conditional logic
  - Aligns with the architecture where MCO manages post-bootstrap config

  After first node reboot, the Machine Config Operator manages registry
  configuration and trust bundles via IDMS/IDMT resources.

  Commit message text generated by: Claude AI <noreply@anthropic.com>
2025-12-12 15:44:44 +00:00
openshift-merge-bot[bot]
8f88b34924 Merge pull request #10156 from honza/baremetal-multi-arch
OCPBUGS-62125: baremetal: allow multi-arch
2025-12-10 18:09:35 +00:00
Honza Pokorny
5f377f6898 baremetal: allow multi-arch 2025-12-09 17:10:33 -04:00
eshulman2
1b18638af0 openstack: Remove FIPs created by the installer
Added cleanup for bootstrap VM FIP in the insatller as part of the
PostDestroyer to streamline FIP creation and deletion to be done by the
installer avoiding orphan FIPs.
2025-12-09 17:43:05 +02:00
eshulman2
27eb6bdfb9 openstack: add ssh to bootstrap sg
Fixes the issue of bootstrap machine logs cannot be collected when installation fails because
the bootstrap VM uses the master security group, which doesn't allow SSH
access from the installation source address. This prevents gathering
diagnostic information needed to troubleshoot failed installations.

- Created dedicated bootstrap security group with SSH access from anywhere
- Tagged with `openshiftRole=bootstrap` for lifecycle management
- Enables SSH access to bootstrap VM for log collection on failure
- Implement PostDestroyer for openstack bootstrap vm
2025-12-09 17:42:57 +02:00
Andrea Fasano
117d3e9fbe create a tls certificate to be used by the InternalReleaseImage registry 2025-12-05 08:07:27 -05:00
openshift-merge-bot[bot]
b35dbe664b Merge pull request #10132 from tthvo/CORS-4212
CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes
2025-12-04 21:00:05 +00:00
openshift-merge-bot[bot]
6901d281d2 Merge pull request #10135 from AshwinHIBM/lon-survey
OCPBUGS-63710: PowerVS: Fix all zones invalid in lon region
2025-12-04 17:46:34 +00:00
openshift-merge-bot[bot]
e07c4ff9d7 Merge pull request #10100 from barbacbd/OCPBUGS-65512
OCPBUGS-65512: Removing resources on destroy by other filters
2025-12-04 08:51:14 +00:00
openshift-merge-bot[bot]
3b6ba6b3d0 Merge pull request #9924 from cybertron/disable-internal-dns
OPNET-678: Allow disabling internal DNS
2025-12-03 01:02:56 +00:00
Ashwin Hendre
bd7888e837 PowerVS: Sort zone survey list 2025-12-02 17:40:55 +05:30
Thuan Vo
2a98b2b4af aws: set machine pool defaults for EBS volume type
Set the default type EBS volume for machine pools:
- Controlplane, arbiter and worker pool default to gp3 volume.
- Edge pool default to gp2 volume.

The default decision is taken from existing code [0]. This commit just
makes the defaulting earlier.

This also loosens the validation to allow 0 for volume size and iops as
they are int type (i.e. not pointer).

Reference:

[0] fd5a518e49/pkg/asset/machines/worker.go (L102-L117)
2025-12-01 20:31:03 -08:00
openshift-merge-bot[bot]
05b55cca6f Merge pull request #9942 from tthvo/OCPBUGS-60071
OCPBUGS-60071: abort uninstall process if owned subnets contain shared tags
2025-12-02 01:52:52 +00:00
John Hixson
d93d030520 AWS: Add the ability to configure throughput on GP3 volumes
GP3 volumes have the ability to configure throughput from 125 MiB/s to
2000 MiB/s. This allows the ability to set this at install time in the
install-config.

https://issues.redhat.com/browse/CORS-4212
2025-12-01 17:14:07 -08:00
openshift-merge-bot[bot]
fd5a518e49 Merge pull request #10095 from AshwinHIBM/fragment-security-groups
MULTIARCH-5553: PowerVS: Introduce group division
2025-12-01 20:54:13 +00:00
openshift-merge-bot[bot]
7d0584e62b Merge pull request #10090 from shiftstack/bump-capo-v0-13
OSASINFRA-3965: Update cluster-api-provider-openstack to v0.13.0
2025-11-28 12:53:19 +00:00
Jianlin Liu
33578b2ebe Revert "Merge pull request #9945 from jhixson74/main_aws_gp3_throughput"
This reverts commit e81ba7f50f, reversing
changes made to 5060ac90b9.
2025-11-26 04:46:32 -05:00
Thuan Vo
0fde7620ac OCPBUGS-60071: abort uninstall process if owned subnets contains shared tags
Added a preflight check for the destroy code (AWS) to check if owned
subnets is safe to destroy: subnets are not shared by any other clusters.

An owned subnet should not be shared by other clusters as this is a
misconfiguration, but in practice, it happened [0].

References

[0] https://issues.redhat.com//browse/OCPBUGS-60071
2025-11-24 22:27:42 -08:00
Patrick Dillon
2d340f7680 pkg/destroy/aws: log elb resource types
Adds logging to destroy logs to show elb resource types.
2025-11-24 21:51:28 -08:00
Thuan Vo
a92c401d65 OCPBUGS-65938: increase IAM waiter timeout and remove custom delay options
The AWS IAM role and instance profile waiters had a 2 minute timeout
with custom delay options (1-5 seconds). This timeout was insufficient
in CI environment where IAM calls can be throttled.

Increased the timeout to 15 minutes and removed the custom delay
options to use the AWS SDK defaults (min 1s and max 120s).
2025-11-24 13:19:53 -08:00
openshift-merge-bot[bot]
e81ba7f50f Merge pull request #9945 from jhixson74/main_aws_gp3_throughput
CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes
2025-11-22 13:56:34 +00:00
openshift-merge-bot[bot]
5060ac90b9 Merge pull request #10114 from barbacbd/remove-gcp-endpoints-fg
no-jira: Remove the GCP Custom Endpoints Feature Gate
2025-11-22 10:23:36 +00:00
openshift-merge-bot[bot]
6661dac8b8 Merge pull request #10076 from patrickdillon/az-mkt
CORS-3657: Default Azure Installs to Marketplace Images
2025-11-22 10:23:30 +00:00
openshift-merge-bot[bot]
e22009cb97 Merge pull request #10072 from dtantsur/bmc-ca
METAL-1105: support specifying CA to verify BMC connections
2025-11-22 10:23:23 +00:00
openshift-merge-bot[bot]
64cc933207 Merge pull request #10018 from barbacbd/CORS-4259
CORS-4259, CORS-4260, CORS-4265: Move the gcp permission check to a common file in install config.
2025-11-22 06:03:30 +00:00
openshift-merge-bot[bot]
b3eccf782e Merge pull request #10112 from tthvo/CORS-4055-partial
OCPBUGS-65893: CORS-4055: configure AWS SDK v2 clients with common config
2025-11-22 01:54:32 +00:00
openshift-merge-bot[bot]
386dca300b Merge pull request #9423 from jhixson74/master-OCPBUGS-42871
OCPBUGS-42871: pkg/infrastructure/network: update NumberOfProbes to ProbeThreshold
2025-11-21 22:04:14 +00:00
Patrick Dillon
8fa9860b37 pkg/types: set Azure machine pool defaults from defaultMachinePlatform
This commit updates default value handling when loading the
install config to set values in machine pools based on the
defaultMachinePlatform.

By populating the values directly in the install config, we can
avoid repetitive checks throughout the codebase to ensure the
default machine platform is applied to the relevant machine pool.
2025-11-21 15:37:52 -05:00
Patrick Dillon
6e4a27d545 azure: do not use marketplace images for confidential VMs
Marketplace images do not support confidential VMs or trusted launch,
so when machinesets use confidential VMs the installer will still
create an image gallery compatible with the security settings.
2025-11-21 15:37:52 -05:00
Patrick Dillon
be0f2093d8 pkg/infrastructure/azure: skip image creation
Now that we can use marketplace images, we only need to create
managed images for OKD or AzureStack. We can also safely remove the
environment variable that allowed skipping image upload and the
corresponding validation.
2025-11-21 14:41:15 -05:00
Patrick Dillon
a5f42476d3 pkg/asset/machines: use azure marketplace images 2025-11-21 14:41:15 -05:00
Patrick Dillon
7cf9586fae pkg/asset/rhcos: default to azure marketplace image
Defaults the Rhcos image asset to the non-paid Azure marketplace image.
Fallback to Azure disk and image creation if the marketplqace image
is not available, which is the case for OKD.
2025-11-21 13:35:25 -05:00
Patrick Dillon
65a4aa6a81 azure: refactor to cache capabilities in metadata
Refactors the installconfig metadata to store the VM capabilities
and hyperVGeneration, so that we do not need to repeatedly call the
azure API to get the same information.
2025-11-21 13:35:19 -05:00
John Hixson
fdde8b0ece AWS: Add the ability to configure throughput on GP3 volumes
GP3 volumes have the ability to configure throughput from 125 MiB/s to
2000 MiB/s. This allows the ability to set this at install time in the
install-config.

https://issues.redhat.com/browse/CORS-4212
2025-11-21 10:15:54 -08:00