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

17181 Commits

Author SHA1 Message Date
Scott Dodson
7099e875f8 Merge pull request #10275 from patrickdillon/gcp-skip-ai-zone-418
OCPBUGS-74676: [release-4.18] GCP: skip AI zones
2026-02-03 21:12:32 -05:00
Patrick Dillon
f36d2ab8ae 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 15:10:48 -05:00
openshift-merge-bot[bot]
9e0603ba71 Merge pull request #10179 from openshift-cherrypick-robot/cherry-pick-10151-to-release-4.18
[release-4.18] OCPBUGS-69880: Azure UPI ARM template: use storageAccountId
2026-01-27 19:14:46 +00:00
openshift-merge-bot[bot]
c9de42d6c4 Merge pull request #10166 from elfosardo/uplift-logrus-418
OCPBUGS-68244: [4.18] uplift logrus
2026-01-22 10:03:38 +00:00
openshift-merge-bot[bot]
ad873c3538 Merge pull request #9794 from hroyrh/OCPBUGS-57590
OCPBUGS-57590: Mount the user-ca-bundle into ICC
2026-01-12 13:49:15 +00:00
Jinyun Ma
3484e2afe6 manual backport for installer pr 10103 and 10069 2025-12-19 01:34:04 +00:00
Riccardo Pittau
1cce4aebeb [4.18] uplift logrus 2025-12-16 14:57:30 +01:00
openshift-merge-bot[bot]
12952edcc0 Merge pull request #10030 from openshift-cherrypick-robot/cherry-pick-10013-to-release-4.18
[release-4.18] OCPBUGS-63494: Catch gcp destroy cases where the operation is nil
2025-12-05 20:33:08 +00:00
openshift-merge-bot[bot]
501c52b7ea Merge pull request #9545 from openshift-cherrypick-robot/cherry-pick-9232-to-release-4.18
OCPBUGS-52659: [release-4.18] CORS-3825: pkg/infrastructure/azure: support nvme
2025-12-03 00:27:23 +00:00
openshift-merge-bot[bot]
50225a832c Merge pull request #10113 from tlbueno/418_bootimage_bump
OCPBUGS-65588: Update the RHCOS 4.18 bootimage metadata
2025-11-21 19:53:36 +00:00
Tiago Bueno
d4714b7724 OCPBUGS-65588: Update the RHCOS 4.18 bootimage metadata
The changes done here will update the RHCOS 4.18 bootimage metadata and
address the following issues:

- OCPBUGS-64613: [4.18] coreos-boot-disk link not working with multipath on early boot

This change was generated using:

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

Signed-off-by: Tiago Bueno <tiago.bueno@gmail.com>
2025-11-20 09:17:12 -03:00
openshift-merge-bot[bot]
11159a6328 Merge pull request #9831 from gryf/OCPBUGS-58504
OCPBUGS-58504: Refactor removing loadbalancer in OpenStack
2025-11-19 07:21:51 +00:00
Roman Dobosz
99883d2f52 Refactor removing loadbalancer in OpenStack.
Currently, the approach for removing OpenStack loadbalancers is to look
for appropriate tag (i.e. openshiftClusterID=<cluster_id>) and then
delete it. Issue with this approach is that no such tags are applied on
the loadbalancer resources, and also there is no such tag in description
field. Hence, deleteLoadBalancer function will give 0 results for
existing loadbalancers, as they have no such tag either in tags nor on
description.

With this patch, deleteLoadBalancer has been refactored to get all the
loadbalancers and filter out that resources which have ClusterID in
description, so that they will be safely deleted.

(cherry picked from commit fe679c0d9f)
2025-11-18 11:25:59 +01:00
openshift-merge-bot[bot]
d4d4b15b31 Merge pull request #10046 from shiftstack/OCPBUGS-53235-release-4.18
[release-4.18] OCPBUGS-53235: Validation for API and Ingress VIPs when using user-managed load balancer
2025-11-03 10:54:06 +00:00
Thuan Vo
37ba673cbf 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:44:40 +00:00
dkokkino
02744627a3 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:32:10 +00:00
dkokkino
c9bfb8533e 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:32:10 +00:00
dkokkino
8931ff740b 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:32:10 +00:00
dkokkino
e3d8c21eff 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:32:10 +00:00
barbacbd
554793082e OCPBUGS-57732: Catch gcp destroy cases where the operation is nil
pkg/destroy/gcp/gcp.go:
** In the case where no error exists but the operation is nil when passed into
gcp.go:handleOperation the destroy process would cause a system panic. Now create an
error in this case so that the destroy process will continue and retry if there are more
pending items.
2025-10-23 20:07:05 +00:00
openshift-merge-bot[bot]
4ef0aa88f4 Merge pull request #10014 from tlbueno/tb-rel-4.18
OCPBUGS-62810: Update the RHCOS 4.18 bootimage metadata
2025-10-14 03:27:56 +00:00
Tiago Bueno
862bda0ea9 OCPBUGS-62810: Update the RHCOS 4.18 bootimage metadata
The changes done here will update the RHCOS 4.18 bootimage metadata and
address the following issues:

- OCPBUGS-62739: Need new CoreOS boot image with nmstate-2.2.50

This change was generated using:

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

Signed-off-by: Tiago Bueno <tiago.bueno@gmail.com>
2025-10-13 16:19:59 -03:00
openshift-merge-bot[bot]
ba72c3a4a7 Merge pull request #9839 from openshift-cherrypick-robot/cherry-pick-9765-to-release-4.18
[release-4.18] OCPBUGS-59490: Make swift containers removal not fatal for UPI.
2025-09-22 13:01:08 +00:00
openshift-merge-bot[bot]
5409de2ee8 Merge pull request #9937 from openshift-cherrypick-robot/cherry-pick-9927-to-release-4.18
[release-4.18] OCPBUGS-61529: Use less permissive access for /var/lib/etcd for SNO
2025-09-18 02:22:34 +00:00
Bob Fournier
6051c24f5e OCPBUGS-57021: Use less permissive access for /var/lib/etcd for SNO
With multi-node installations the settings for /var/lib/etcd are
0700. This should be the same from SNO but the bootstrap-in-place
ignition is setting it to 0755.
2025-09-11 01:54:02 +00:00
openshift-merge-bot[bot]
3e0a54b541 Merge pull request #9923 from openshift-cherrypick-robot/cherry-pick-9843-to-release-4.18
[release-4.18] OCPBUGS-61178: Refine check for supported SNO platforms
2025-09-03 15:15:51 +00:00
Sandhya Dasu
02032864ec Refine check for supported SNO platforms
Include IBMCloud platforms in the list of supported SNO platforms.
Also, add unit test to verify this functionality.
2025-09-02 22:20:43 +00:00
openshift-merge-bot[bot]
53d25898f4 Merge pull request #9895 from iurygregory/OCPBUGS-60592
[4.18] OCPBUGS-60592: baremetal: always set external v6 URL on dualstack
2025-08-20 07:02:18 +00:00
openshift-merge-bot[bot]
d5c53d96bc Merge pull request #9900 from tlbueno/tb-rel-4.18
OCPBUGS-54598: Update the RHCOS 4.18 bootimage metadata
2025-08-19 21:41:20 +00:00
Tiago Bueno
3c0191730b Update the RHCOS 4.18 bootimage metadata
Address the following issues:

  - OCPBUGS-55840 - [4.18] Enable RHCOS IBM Secure Execution installation on IBM Z17

This change was generated using
```
plume cosa2stream --target data/data/coreos/rhcos.json --distro rhcos --no-signatures \
  --name 4.18-9.4 \
  --url https://rhcos.mirror.openshift.com/art/storage/prod/streams \
  x86_64=418.94.202508060022-0 \
  aarch64=418.94.202508060022-0 \
  s390x=418.94.202508060022-0 \
  ppc64le=418.94.202508060022-0
```

Signed-off-by: Tiago Bueno <tiago.bueno@gmail.com>
2025-08-19 12:29:27 -03:00
Dmitry Tantsur
2a1105436c OCPBUGS-60240: baremetal: always set external v6 URL on dualstack
Previously, we did not set this parameter on v6-primary stacks, wrongly
assuming that the Ironic container would pick up the right stack.
It wouldn't. Presenting with both IP addresses, the networking logic in
the container picks up the first one, which is usually IPv4.
This breaks virtual media on BMC's that cannot access IPv4 addresses.

(cherry picked from commit 4aa85eec23)
2025-08-18 11:12:24 -03:00
openshift-merge-bot[bot]
9094202399 Merge pull request #9709 from barbacbd/aws-sdk-v2-mx-central-release-4.18
OCPBUGS-59158, OCPBUGS-59155, OCPBUGS-56177: Migrate AWS SDK to V2 to support MX-Central Region
2025-08-05 14:54:29 +00:00
Roman Dobosz
1826a7f714 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-07-17 12:40:26 +00:00
barbacbd
6a213c1e03 OCPBUGS-56658: When AWS_PROFILE is invalid ask for credentials
** The credentials changed in AWS SDK V2. When the AWS_PROFILE
environment variable was set to an invalid value the install would not
proceed through the failure. The inention was to ask for the aws key and id information.
Now the information will be added to the survey, and the information will be added
to the config in .aws.
2025-07-09 13:17:48 -04:00
openshift-merge-bot[bot]
14cd7a64e0 Merge pull request #9824 from openshift-cherrypick-robot/cherry-pick-9812-to-release-4.18
[release-4.18] OCPBUGS-58321: allow to deploy single nodes with UPI
2025-07-07 21:44:18 +00:00
openshift-merge-bot[bot]
3d2c10e721 Merge pull request #9647 from openshift-cherrypick-robot/cherry-pick-9641-to-release-4.18
[release-4.18] OCPBUGS-54744: Filter out excess CA certs when adding node
2025-07-07 16:24:18 +00:00
karmab
58d1a75e22 Allow to deploy single nodes with UPI 2025-07-02 16:31:13 +00:00
openshift-merge-bot[bot]
689ceff1a7 Merge pull request #9813 from openshift-cherrypick-robot/cherry-pick-9802-to-release-4.18
[release-4.18] OCPBUGS-58264: vSphere - remove unit tests using nip.io
2025-07-02 15:30:45 +00:00
Joseph Callen
45828ea09a 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-01 03:12:27 +00:00
openshift-merge-bot[bot]
6516e31ada Merge pull request #9747 from openshift-cherrypick-robot/cherry-pick-9701-to-release-4.18
[release-4.18] OCPBUGS-56797: [Nutanix] nil error displayed when setting a not exist value in preloadedOSImageName field
2025-06-24 18:43:27 +00:00
Derek Higgins
d1fec54252 OCPBUGS-44840: Mount the user-ca-bundle into ICC
The ICC will then add it to the custom image in order
to pull down the IPA image.

(cherry picked from commit 3a496ec73b)
2025-06-18 13:27:26 +05:30
openshift-merge-bot[bot]
11c3c83da6 Merge pull request #9772 from openshift-cherrypick-robot/cherry-pick-9768-to-release-4.18
[release-4.18] OCPBUGS-57139: ensure ctrplane nodes can access bootstrap MCS
2025-06-10 10:19:59 +00:00
openshift-merge-bot[bot]
93e3e23ddd Merge pull request #9774 from openshift-cherrypick-robot/cherry-pick-9662-to-release-4.18
[release-4.18] OCPBUGS-57220:  sort zone slices extracted from map of byo subnets
2025-06-10 07:03:16 +00:00
Thuan Vo
e78826565e OCPBUGS-54979: 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-06-09 19:12:08 +00:00
Thuan Vo
4c60d3cf86 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-06 06:12:35 +00:00
openshift-merge-bot[bot]
71d3215d69 Merge pull request #9758 from openshift-cherrypick-robot/cherry-pick-9756-to-release-4.18
[release-4.18] OCPBUGS-56864: Update Control Plane replica validation for Single Node OpenShift
2025-05-30 11:09:08 +00:00
Sandhya Dasu
771b843f81 Update Control Plane replica validation for Single Node OpenShift
Installer can be used to provision Single Node OpenShift(SNO) only
on AWS, GCP, Azure, PowerVS and Baremetal platforms.
SNO is not supported on all on-prem platforms yet. Even on the
platforms that support SNO installs, the install method currently
supported are assisted/agent/ZTP.

Update test method TestBaremetalGeneratedAssetFiles() to create
a valid Baremetal IPI install config.
2025-05-29 14:46:34 +00:00
Yanhua Li
900b130374 OCPBUGS-47719: [Nutanix] nil error displayed when setting a not exist value in preloadedOSImageName field 2025-05-28 11:08:44 +00:00
openshift-merge-bot[bot]
b14bc7fa76 Merge pull request #9468 from openshift-cherrypick-robot/cherry-pick-9456-to-release-4.18
[release-4.18] OCPBUGS-50690: vsphere - check if host is powered down or on standby before uploading template
2025-05-19 16:26:56 +00:00
openshift-merge-bot[bot]
d2ee81b3c4 Merge pull request #9626 from openshift-cherrypick-robot/cherry-pick-9490-to-release-4.18
[release-4.18] OCPBUGS-53142: PowerVS: COS eu-es hack
2025-05-17 22:33:38 +00:00