1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00
Commit Graph

16296 Commits

Author SHA1 Message Date
openshift-merge-bot[bot]
0cba968788 Merge pull request #10226 from wking/eus-4.16-default
OCPBUGS-73879: data/manifests/bootkube/cvo-overrides: Default to eus-4.16
2026-01-16 19:42:54 +00:00
W. Trevor King
be845abbc0 data/manifests/bootkube/cvo-overrides: Default to eus-4.16
Like 12e711edb2 (data/manifests/bootkube/cvo-overrides: Default to
eus-4.12, 2025-01-15, #9373) and 6ae7f33edf
(data/manifests/bootkube/cvo-overrides: Default to eus-4.14,
2025-04-08, #9643), but for 4.16.  I'm a bit late this time, with 4.16
already in EUS since the Maintenance phase ended on 2025-12-27:

  $ curl -s 'https://access.redhat.com/product-life-cycles/api/v1/products?name=OpenShift+Container+Platform' | jq -c '.data[].versions[] | select(.name == "4.16").phases[]'
  {"name":"General availability","date":"2024-06-27T00:00:00.000Z","date_format":"date","additional_text":""}
  {"name":"Full support","date":"2025-01-01T00:00:00.000Z","date_format":"date","additional_text":""}
  {"name":"Maintenance support","date":"2025-12-27T00:00:00.000Z","date_format":"date","additional_text":""}
  {"name":"Extended update support","date":"2026-06-27T00:00:00.000Z","date_format":"date","additional_text":""}
  {"name":"Extended update support Term 2","date":"2027-06-27T00:00:00.000Z","date_format":"date","additional_text":""}
  {"name":"Extended update support Term 3","date":"N/A","date_format":"string","additional_text":""}
  {"name":"Extended life phase","date":"N/A","date_format":"string"}
2026-01-15 14:58:55 -08:00
openshift-merge-bot[bot]
2a152f886e Merge pull request #10031 from tthvo/OCPBUGS-54165
[release-4.16] OCPBUGS-54165: aws: fix NLB creation in secret regions
2025-11-18 03:35:31 +00:00
openshift-merge-bot[bot]
339c2bc0ee Merge pull request #10048 from shiftstack/cherry-pick-9571-to-release-4.16
[release-4.16] OCPBUGS-53237: Validation for API and Ingress VIPs when using user-managed load balancer
2025-11-07 17:55:24 +00:00
Stephen Finucane
75c800cae2 Fix linter failures
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-10-30 12:00:36 +00:00
Thuan Vo
551aa98ea3 OCPBUGS-56079: apply fixes for yaml-lint errors
Notes: there are other yaml-lint warnings but they've been there for a
long time. This commit only focuses on the errors introduced during 4.19
cycle.

Conflicts:
  .golangci.yaml

NOTE(stephenfin): Changes to .golangci.yaml were removed because they
don't apply here.
2025-10-30 11:54:34 +00:00
dkokkino
77b931c2f9 Edit manifest test
- lb-default-stable: As a default load balancer is now being assigned when one is not provided this test needs to be updated to reflect that change
- lb-unmanaged: I made changes to how the defaults are set. If the load
  balancer is user-managed VIPs will not automatically be assigned
  anymore. This change needs to be reflected in this test by adding a
  apiVIPs and ingressVIPs value to the install-config
2025-10-30 11:54:23 +00:00
dkokkino
691085e570 Add unit tests for OpenStack platform defaults
Adds unit tests in platform_test.py to verify OpenStack platform defaults.
Covers cases such as:
- Assigning a default OpenShift-managed load balancer when none is specified
- Handling user-managed load balancers with and without VIPs
- Ensuring correct API and Ingress VIP assignments
2025-10-30 11:54:23 +00:00
dkokkino
59b395ad86 Add default load balancer if none is specified
-If no load balancer is provided, a default OpenShift load balancer is
 now assigned automatically. This ensures proper handling and avoids
 misconfigurations.
2025-10-30 11:54:23 +00:00
dkokkino
072eb5b58e Prevent default API and Ingress VIP generation for user-managed load balancers
- Previously, when API and Ingress VIPs were not specified, default values were automatically
 generated for user-managed load balancers.This was unintended behavior.
 Now, if the user does not explicitly provide API and Ingress VIPs, a fatal error is thrown instead.
2025-10-30 11:54:23 +00:00
Rafael Fonseca
f8081cec62 ic: aws: document createRecord input fields.
This should remove any ambiguity/misunderstanding when the field names
are not clear enough.
2025-10-24 14:09:31 -07:00
Rafael Fonseca
b8f0ea1070 aws: move owned tag creation to CreateHostedZone
Tagging the resource as "owned" should be part of the creation.
2025-10-24 14:09:31 -07:00
Rafael Fonseca
8a3cb9dc34 aws: refactor CreateOrUpdateRecord function
This function was doing way more than its name says: it was creating
records in both private and public zones. The argument names were also
not very descriptive and very hard to decipher at a glance.

This change moves the logic out of the function and into the aws
`InfraReady` hook. This not only makes the logic more readable, but it
also paves the way for the use of Classic Load Balancer types.
2025-10-24 14:09:31 -07:00
Rafael Fonseca
9e78d52726 infra/aws: remove apiHost condition on Load Balancer
This is leftover from before CAPA had support for a public LB as the
secondary controlPlane load balancer. We had to configure the AWSCluster
in such a way the primary load balancer would either be `InternetFacing`
if publish was set to "External" or `Internal` otherwise.

Now the primary LB is always `Internal` and the secondary LB only exists
when publish is "External".
2025-10-24 14:09:30 -07:00
Thuan Vo
180a7cb41d deps: bump CAPA to commit with NLB SG fix
Commit: 66942942ff

Notes: there are no updates to the AWS infra CRD
2025-10-24 14:09:30 -07:00
openshift-merge-bot[bot]
8dfa1e05e2 Merge pull request #10022 from tlbueno/tb-rel-4.16
OCPBUGS-62952: Update the RHCOS 4.16 bootimage metadata
2025-10-17 01:45:22 +00:00
Tiago Bueno
07729ad8c2 OCPBUGS-62952: Update the RHCOS 4.16 bootimage metadata
The changes done here will update the RHCOS 4.16 bootimage metadata and
address the following issues:

- OCPBUGS-63004: Request for ISO image updates

This change was generated using:

plume cosa2stream \
    --target data/data/coreos/rhcos.json \
    --distro rhcos \
    --no-signatures \
    --name 4.16-9.4 \
    --url https://rhcos.mirror.openshift.com/art/storage/prod/streams \
    x86_64=416.94.202510081640-0 \
    aarch64=416.94.202510081640-0 \
    s390x=416.94.202510081640-0 \
    ppc64le=416.94.202510081640-0

Signed-off-by: Tiago Bueno <tiago.bueno@gmail.com>
2025-10-16 17:42:05 -03:00
Scott Dodson
cff180d483 Merge pull request #9993 from jhixson74/release-4.16-bump-terraform-provider-azurerm
OCPBUGS-62653: Release 4.16 bump terraform provider azurerm
2025-10-07 10:13:50 -04:00
openshift-merge-bot[bot]
45bfb62103 Merge pull request #9835 from openshift-cherrypick-robot/cherry-pick-9821-to-release-4.16
[release-4.16] OCPBUGS-59162: vSphere - remove unit tests using nip.io
2025-10-07 04:02:05 +00:00
John Hixson
819f0c19f0 Azure: rename enable_accelerated_networking to accelerated_networking_enabled
terraform-provider-azurerm has been updated to v4.46.0. This updates
renamed fields.
2025-10-03 11:38:29 -07:00
John Hixson
81d1419c05 go mod vendor 2025-10-03 11:38:22 -07:00
John Hixson
631991460f terraform/providers/azurerm: update azurerm provider to v4.2.0
Azure is dropping support for properties.storageProfile.source.id on
October 8th, 2025. This update addresses this. Any usage of this field
should be replaced with
properties.storageProfile.source.storageAccountId. In the case of Azure
on Openshift, it is used for compute gallery image versions.

v4.2.0 was chosen since it is the last version of the provider that
supports the same golang version as the installer (v1.21).

The change to use the OpenShift fork of the provider is necessary since
we needed to cherry-pick the commit that fixes this issue.
2025-10-03 11:38:14 -07:00
openshift-merge-bot[bot]
9ed0bb2ef3 Merge pull request #9961 from openshift-cherrypick-robot/cherry-pick-9952-to-release-4.16
[release-4.16] OCPBUGS-62235: Make swift containers removal not fatal for UPI.
2025-09-30 05:52:33 +00:00
Roman Dobosz
e12cb12cdd Make swift containers removal not fatal for UPI.
When there is OpenStack deployment, which doesn't have swift services,
or there are no containers used at all, listing them will fail the
playbook and leave exit code other than 0, which may interrupt CI.

With this commit, errors from listing containers will be ignored, which
will cover both cases.
2025-09-25 12:12:55 +00:00
openshift-merge-bot[bot]
70645a698c Merge pull request #9819 from tthvo/OCPBUGS-58290
[release-4.16] OCPBUGS-58290: sort zone slices extracted from map of byo subnets
2025-07-10 18:03:04 +00:00
Joseph Callen
65bf9aba9c vSphere - remove unit tests using nip.io
The hex based dns service is no longer available
and the replacement service does not take PRs
or looks interested in this feature.

If we want this unit test in the future we will need
to think through how to implement this.
2025-07-09 21:10:54 +00:00
openshift-merge-bot[bot]
5b041e9d08 Merge pull request #9694 from openshift-cherrypick-robot/cherry-pick-9504-to-release-4.16
[release-4.16] OCPBUGS-55807: update resolv.conf every time on bootstrap node
2025-07-07 20:24:21 +00:00
openshift-merge-bot[bot]
d8199882e9 Merge pull request #9786 from openshift-cherrypick-robot/cherry-pick-9726-to-release-4.16
[release-4.16] OCPBUGS-57460: vsphere - check if host is powered down or on standby before uploading template
2025-07-03 17:02:50 +00:00
openshift-merge-bot[bot]
64e04e3876 Merge pull request #8711 from AshwinHIBM/port5000-tf-disconnected
OCPBUGS-36677: Power VS: Enable incoming traffic on port 5000 during installation in a restricted network
2025-07-03 07:05:32 +00:00
Thuan Vo
136c6ad625 vendor: vendor: bump github.com/daixiang0/gci to 0.11.2
This version of gci supports go 1.21 standard libs.
2025-07-01 19:31:07 -07:00
Thuan Vo
8542dab234 OCPBUGS-58290: sort zone slices extracted from map of byo subnets
Previously, since zones are extracted from map keys, order is not guaranteed.
This can lead to an issue where master CAPI machine manifest is configured
with a different subnet ID than MAPI machine manifest as they are
handled separately.

This commit ensures the zones are sorted by lexical order before
processing CAPI/MAP machine manifests so that zones are distributed in
the same order.
2025-07-01 19:25:07 -07:00
openshift-merge-bot[bot]
c34a4dda2f Merge pull request #9788 from openshift-cherrypick-robot/cherry-pick-9775-to-release-4.16
[release-4.16] OCPBUGS-57498: ensure ctrplane nodes can access bootstrap MCS
2025-06-30 19:52:35 +00:00
Thuan Vo
f775377f07 OCPBUGS-54502: ensure ctrplane nodes can access bootstrap MCS
When using BYO subnets, users might define subnets in aws.vpc.subnets
and define the machineCIDRs in the installconfig from those subnets.

Previously, an SG is attached to api lb that only allows ingress to
tcp/22623 (MCS) from the only the first machineCIDR, which blocks master
nodes from reaching MCS on bootstrap node.

This commit adjusts the source for the SG to allow ingress from control
plane nodes via SG reference instead of relying on the machineCIDR field.
2025-06-16 17:54:50 +00:00
Yannick Wahner
b962510c05 Rename variable, pull all powerstate checks onto one line and use that variable to check eligibility of host 2025-06-14 02:37:31 +00:00
Yannick Wahner
f02a8429be vsphere: check if host is powered down or on standby before uploading template
this change was made because the OpenShift IPI workflow sometimes
chooses hosts that aren't available right now, due to being powered down
or being on StandBy (DPM measures)

Signed-off-by: Yannick Wahner <12911176+Nabsku@users.noreply.github.com>
2025-06-14 02:37:31 +00:00
openshift-merge-bot[bot]
1a3d64c615 Merge pull request #9715 from barbacbd/OCPBUGS-54240
OCPBUGS-54240: Update timeout for GCP WaitFor operation
2025-05-16 03:05:50 +00:00
barbacbd
541fbb6930 OCPBUGS-54240: Update timeout for GCP WaitFor operation
** This applies to 4.16 only. The LB Code was migrated to CAPG for all other versions.
** Increase the context timeout for WaitFor operations from 1 minute to 2 minutes. This
was necessary for the Load Balancer (Backend Service) Patch() to have enough time to
complete and verify the operation.
2025-05-15 10:26:17 -04:00
Yamato Tanaka
8790d5e0d8 OCPBUGS-32792: update resolv.conf every tiem on bootstrap
Currently, /etc/resolv.conf on bootstrap node is updated only once.
Because of this, /etc/resolv.conf may be incorrect due to timing
issues. By this change, /etc/resolv.conf is updtaed at all "up",
"dhcp4-update", "dhcp6-update", "dns-change" events.

"dns-change" event is supposed to be enough if it works, but
"dns-change" is a new function[1] of NetworkManager. Other events,
"up", "dhcp4-update" and "dhcp6-update", are kept for environments
where "dns-change" doesn't works.

[1] NetworkManager starting from 1.42.2-12.el9_2 and
1.36.0-17.el8_6 adds a new event `dns-change` which is fired
whenever a change to the DNS configuration happens.
2025-05-07 05:50:48 +00:00
Yamato Tanaka
8ac492c16a OCPBUGS-32792: update resolv.conf every tiem on bootstrap
Currently, /etc/resolv.conf on bootstrap node is updated only once.
Because of this, /etc/resolv.conf may be incorrect due to timing
issues. By this change, /etc/resolv.conf is updtaed at all "up",
"dhcp4-update", "dhcp6-update" events.
2025-05-07 05:50:47 +00:00
openshift-merge-bot[bot]
91f0e415cc Merge pull request #8546 from openshift-cherrypick-robot/cherry-pick-8530-to-release-4.16
[release-4.16] OCPBUGS-35040: Power VS: Add ports needed for private clusters to security group
2025-04-15 19:46:47 +00:00
openshift-merge-bot[bot]
40d677664f Merge pull request #9610 from openshift-cherrypick-robot/cherry-pick-9581-to-release-4.16
[release-4.16] OCPBUGS-54327: Remove error logging when determining image arch
2025-04-10 10:57:27 +00:00
openshift-merge-bot[bot]
09213fc645 Merge pull request #9611 from bfournie/pxe-tmp-4.16
[release-4.16] OCPBUGS-54345: Remove tmp directory used for agent pxe files
2025-04-08 19:38:56 +00:00
openshift-merge-bot[bot]
22009ee4cb Merge pull request #9604 from cjschaef/ocpbugs-54263
OCPBUGS-54263: IBMCloud: Move to IBM TF openshift fork
2025-03-29 06:47:11 +00:00
Patrick Dillon
bc7dda23f5 Merge pull request #9482 from mtulio/OCPBUGS-50547
[release-4.16] OCPBUGS-50547: aws/edge/byovpc: tag edge subnets with shared value
2025-03-28 10:53:39 -04:00
Bob Fournier
138967d7e8 OCPBUGS-39583: Remove tmp directory used for agent pxe files
Remove the tmp directory that is created when running the command:
'openshift-install agent create pxe-files'
2025-03-28 09:14:08 -04:00
Bob Fournier
fef944fee4 OCPBUGS-50637: Remove error logging when determining image arch
In a disconnected environment the check for image architecture
generates an error message since the icsp info is not checked,
even though the image create succeeds. This has caused multiple
customer cases to be generated.
2025-03-28 00:32:56 +00:00
cjschaef
8c31350c6b OCPBUGS-54263: IBMCloud: Move to IBM TF openshift fork
Use the openshift org fork of IBM Cloud Terraform provider to pick
up the fix for CIS API changes. This bump cannot be directly
backported due to golang version requirements by the TF provider.

Related: https://issues.redhat.com/browse/OCPBUGS-54263
Related: https://issues.redhat.com/browse/OCPBUGS-53258
2025-03-26 10:16:58 -05:00
Patrick Dillon
145d7e76a2 Merge pull request #9547 from tthvo/capa-remove-lb-dns-check-4.16
OCPBUGS-52191: [release-4.16] capi/aws: bump provider for LB DNS lookup fix
2025-03-19 19:39:19 -04:00
openshift-merge-bot[bot]
2be94b9295 Merge pull request #9511 from openshift-cherrypick-robot/cherry-pick-9162-to-release-4.16
[release-4.16] OCPBUGS-51207: Log correct hostname for validation status
2025-03-07 21:11:39 +00:00
Thuan Vo
536a03d8e2 vendor: go mod vendor 2025-03-07 12:00:01 -08:00