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

17796 Commits

Author SHA1 Message Date
ehila
aba675ff0e bump(ocp/api): pull in updated DualReplica
bumped ocp api to pull in DualReplica being promoted to TechPreview
needed to pin apimachinery to kube 32 since bumping to kube 33 caused a dependency on cluster-api 1.11 which is currently in beta

Signed-off-by: ehila <ehila@redhat.com>
2025-07-29 23:09:49 -04:00
openshift-merge-bot[bot]
543865d77c Merge pull request #9706 from jcpowermac/azure-multi-disk
SPLAT-2295: Setup additional disks via machine configs
2025-07-29 23:41:02 +00:00
openshift-merge-bot[bot]
3474a3e90f Merge pull request #9844 from mike-nguyen/420_bib
OCPBUGS-59630: Update RHCOS 4.20 bootimage metadata to 9.6.20250701-0
2025-07-29 10:18:42 +00:00
openshift-merge-bot[bot]
b422df59d1 Merge pull request #9850 from patrickdillon/bump-420
no-jira: images: bump images to go 1.24
2025-07-29 02:18:28 +00:00
Patrick Dillon
35931d17a3 images: bump images to go 4.20
openshift-bot created PRs to bump several images:

https://github.com/openshift/installer/pull/9801
https://github.com/openshift/installer/pull/9800
https://github.com/openshift/installer/pull/9799

But those didn't get all images. Bumping the rest here.
2025-07-28 13:21:18 -04:00
Joseph Callen
a5c9a11fe7 Setup disks via MachineConfigs
Added platform-agnostic multi-disk support using Ignition configuration embedded in MachineConfigs
Created new disk types: etcd, swap, and user-defined disks
Implemented disk setup validation and feature gates
Added machine config generation for disk provisioning

Review and unit tests were assisted-by: cursor
2025-07-28 08:05:09 -04:00
openshift-merge-bot[bot]
d9d80ceff6 Merge pull request #9535 from barbacbd/CORS-3916
CORS-3916, CORS-3920: Use gcp custom endpoints in the installer
2025-07-25 23:35:00 +00:00
openshift-merge-bot[bot]
fc9c0c69f1 Merge pull request #9840 from barbacbd/OCPBUGS-59430
OCPBUGS-59430: Fail install config validation when base domain is invalid
2025-07-24 17:06:00 +00:00
barbacbd
abc661e5f4 CORS-3916: Use gcp custom endpoints in the installer
** Added a common file for all GCP API Clients to be created.
** transferred over all client creation to the common file.
** Transferred over a call for resource manager from v1 to v3 in clusterapi. This ensured that all calls were for the same
version of the api.

** Note: monitoring service needs to be added to the API.

CORS-3916: Update Installconfig to format and accept service endpoints

** Accept service endpoints through the install config
** Service Endpoints should be entered in a format such as
https://compute-exampleendpoint.p.googleapis.com
and the path will be added by the installer to be something like
https://compute-exampleendpoint.p.googleapis.com/compute/v1/.
** The endpoints are formatted to ensure that the version is correct. If the
user would provide a version such as v2 when v1 is required, it would be difficult
for the installer to provide useful errors.

** Send the formatted endpoints to CAPG.

** Format the endpoints to be sent to the GCP Cloud provider (cloud provider config).

** Format the endpoints to be sent to the GCP PD CSI Driver (Infrastructure). This is how most of the
other packages can receive this information as it is passsed through the API Infrastructure.
Note: The GCP PD CSI Driver will ignore the Path of the endpoint.

** Cleaned up the formatting for the endpoints. This includes providing options to format
the enpoints with or without paths. The paths should not be included in the infrastructure
config, because the other packages do not want them (also the infrastructure validation fails).
2025-07-24 06:52:43 -04:00
barbacbd
849c001ebe ** Vendor updates to cloud resource manager and service usage packages. 2025-07-24 06:46:14 -04:00
barbacbd
1c9589a21f OCPBUGS-59430: Fail install config validation when base domain is invalid
installconfig/gcp:

** Add a check during Validate() for the base domain of the public zone.
** Validation tests updated.
2025-07-23 21:38:52 -04:00
openshift-merge-bot[bot]
406ebe7b28 Merge pull request #9818 from hamzy/PowerVS-VPC-TG-ID
OCPBUGS-59678: PowerVS Support VPC and TG ids
2025-07-22 23:51:06 +00:00
Michael Nguyen
cfd47751f7 Update RHCOS 4.20 bootimage metadata to 9.6.20250701-0
The changes done here will update the RHCOS 4.20 bootimage metadata.
A notable change is adding the kubevirt artifact for s390x.

This change was generated using:
```
plume cosa2stream --target data/data/coreos/rhcos.json                \
    --distro rhcos --no-signatures --name rhel-9.6                    \
    --url https://rhcos.mirror.openshift.com/art/storage/prod/streams \
    x86_64=9.6.20250701-0                                     \
    aarch64=9.6.20250701-0                                     \
    s390x=9.6.20250701-0                                       \
    ppc64le=9.6.20250701-0
```
2025-07-22 08:01:09 -04:00
openshift-merge-bot[bot]
c18e865448 Merge pull request #9823 from barbacbd/OCPBUGS-58283
OCPBUGS-57732: Catch gcp destroy cases where the operation is nil
2025-07-22 01:03:16 +00:00
openshift-merge-bot[bot]
771e512a26 Merge pull request #9816 from barbacbd/OCPBUGS-57527
OCPBUGS-57527: Add descriptions back to the aws survey
2025-07-21 19:15:12 +00:00
barbacbd
0eaed2c2f2 fixup 2025-07-21 07:13:38 -04:00
openshift-merge-bot[bot]
8871358e7d Merge pull request #9815 from eggfoobar/fix-tna-determinetopologies
MGMT-20992: feat: update determineTopologies function
2025-07-19 03:06:01 +00:00
barbacbd
184da1dccf 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-07-15 22:09:34 -04:00
openshift-merge-bot[bot]
97030df028 Merge pull request #9836 from sadasu/fix-sno-installs
OCPBUGS-59220: Refine check for supported SNO platforms to include IBMCloud
2025-07-15 17:48:59 +00:00
Mark Hamzy
160c2ed961 PowerVC Support VPC and TG ids
Currently you can only specify a name for an existing Transit Gateway
or Virtual Private Cloud.  This can lead to issues since names are not
guaranteed to be unique.  So allow a UUID instead of a name.
2025-07-15 09:02:20 -05:00
Justin Pierce
184b556d7c Merge pull request #9837 from patrickdillon/revert-aws-sdk-v2-destroy
no-jira: Revert "Merge pull request #9736 from barbacbd/CORS-4058"
2025-07-14 11:53:43 -04:00
Patrick Dillon
492e9accba Revert "Merge pull request #9736 from barbacbd/CORS-4058"
This reverts commit 4e8d67e7dd, reversing
changes made to d772abf000.
2025-07-13 11:30:07 -04:00
Sandhya Dasu
1a80cb72a8 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-07-11 15:17:40 -04:00
openshift-merge-bot[bot]
86c5e1fba9 Merge pull request #9817 from Prashanth684/okd-c10s
OKD-241: Use CentOS Stream 10 bootimages
2025-07-10 02:39:55 +00:00
openshift-merge-bot[bot]
fde59329e7 Merge pull request #9759 from barbacbd/CORS-4062
CORS-4062: Migrate endpoints in pkg/types/aws/platform.go to sdk v2
2025-07-09 22:09:31 +00:00
openshift-merge-bot[bot]
c07d222edc Merge pull request #9820 from vrutkovs/short-cert-rotation-2hours
OCPBUGS-57202: pkg/asset/tls: extend ShortCertRotation certs validity to 2 hours
2025-07-09 04:04:12 +00:00
openshift-merge-bot[bot]
4e8d67e7dd Merge pull request #9736 from barbacbd/CORS-4058
CORS-4058: Remove AWS SDK V1 from destroy/aws
2025-07-09 00:54:20 +00:00
openshift-merge-bot[bot]
d772abf000 Merge pull request #9762 from barbacbd/CORS-4053
CORS-4053: Migrate AWS SDK to v2 in cluster/aws
2025-07-08 21:31:29 +00:00
openshift-merge-bot[bot]
a1bfb1c967 Merge pull request #9760 from barbacbd/CORS-4054
CORS-4054: Migrate from SDK v1 to v2 in installconfig
2025-07-08 17:42:57 +00:00
barbacbd
9ecf060bf0 Removing s3/s3manager to satisfy vendor issues. 2025-07-08 12:05:55 -04:00
barbacbd
e6eda3e37e pkg/destroy/aws/aws.go:
** Remove session from the imports. Added the agent handler to the configurations.
2025-07-08 12:05:55 -04:00
barbacbd
f2c62d3221 ** Migrate the use of resource tagging api to the sdk V2.
pkg/destroy/aws:

** Alter the function name from HandleErrorCode to handleErrorCode. The initial thought was that
this function could be used in other areas of the code, but it will remain in destroy for now.

pkg/destroy/aws/shared.go:

** Remove the session import and uses in the file.
2025-07-08 12:05:55 -04:00
barbacbd
50c6848201 ** verify vendor updates for dependent packages. 2025-07-08 12:05:55 -04:00
barbacbd
51eef71666 pkg/destroy/aws/aws.go
** Update Route53, s3, and efs services to sdk v2. This is slowly removing the
requirement for aws session.
2025-07-08 12:05:05 -04:00
barbacbd
c3b190be1d ** Vendor updates for S3 and EFS services.
** This caused updates to other packages such as aws/config, credentials, stscreds, and
a list of aws internal packages.
2025-07-08 12:05:05 -04:00
barbacbd
b08089f6a8 pkg/destroy/aws/elbhelpers.go
** Remove all SDK v1 imports from elb helpers.
2025-07-08 07:36:41 -04:00
barbacbd
7b466d9275 pkg/destroy/aws/iamhelpers.go
** Remove/Change all imports from AWS sdk v1 to v2.

pkg/destroy/aws/errors.go
pkg/destroy/aws/ec2helpers.go

** Remove the Error checking/formatting function from ec2helpers and put the function
in the errors.go file.
2025-07-08 07:36:41 -04:00
barbacbd
a89342f5fc ** Vendor updates for IAM for AWS SDK V2 2025-07-08 07:36:36 -04:00
barbacbd
caf94d40a0 pkg/destroy/aws/ec2helpers.go
** the bulk of the changes are to the ec2helpers file. All of the sdk v1 imports
are removed except for session as this one is engrained too many files currently.

pkg/destroy/aws/aws.go

** Add a client for ELB ELBV2 and IAM to the Cluster Removal Struct. Even though
these changes are mainly to ec2helpers, the other clients were required in for
certain operations.

** The rest of the file updates are alter ARN import to come from aws sdk v2.
2025-07-08 07:23:18 -04:00
barbacbd
f265dce5bd pkg/asset/installconfig/basedomain.go:
** Use the sdk v2 to check whether the error is a throttle error.
2025-07-08 06:54:20 -04:00
barbacbd
aca21b58c3 CORS-4053: Migrate AWS SDK to v2 in cluster/aws
** The IAM, EC2, and Route53 clients were moved to SDK v2. This included migration from
session to config (and use of endpoints).
2025-07-08 06:44:23 -04:00
ehila
c5f3c48a03 feat: update determineTopologies function
updated the topology determination logic to correctly apply the HighlyAvailableArbiter controlPlaneTopology when an arbiter node is included

Signed-off-by: ehila <ehila@redhat.com>
2025-07-08 04:32:28 -04:00
openshift-merge-bot[bot]
19c107341a Merge pull request #9825 from barbacbd/OCPBUGS-58352
OCPBUGS-58352: Increase timeout on gcp wait for operation
2025-07-07 21:22:18 +00:00
Joseph Callen
9231bac7f7 api vendor 2025-07-07 12:32:12 -04:00
barbacbd
f883ebfe87 OCPBUGS-58352: Use original context timeout for gcp wait for operation
** The child context was set at 1 minute. This should be long enough to determine if an
operation has completed. However, the HIVE team noticed a timeout. The context will not
have a child created, so the original timeout should apply.
2025-07-07 09:16:27 -04:00
openshift-merge-bot[bot]
fe225d16ee Merge pull request #9438 from shiftstack/OSASINFRA-3238
OSASINFRA-3238: Improve API and Ingress VIPs validation
2025-07-03 07:16:31 +00:00
openshift-merge-bot[bot]
4b3b91314b Merge pull request #9810 from jcpowermac/azure-disk-add-only
SPLAT-2294: Azure - add mpool datadisks
2025-07-02 21:18:22 +00:00
openshift-merge-bot[bot]
11f646a0d6 Merge pull request #9780 from eggfoobar/support-arbiter-agent-based
OCPEDGE-1740: feat: add arbiter role support to ABI
2025-07-02 16:44:10 +00:00
Vadim Rutkovsky
2e76723354 pkg/asset/tls: extend ShortCertRotation certs validity to 2 hours
This updates validity for generated certs with ShortCertRotation featuregate enabled to 2 hours to make sure slow platforms like Azure or IBMCloud would get a chance to complete installation without a cert rotation in the middle
2025-07-02 07:58:57 +02:00
openshift-merge-bot[bot]
1fb1a8a841 Merge pull request #9764 from barbacbd/CORS-4060
CORS-4060: Migrate AWS sdk to v2 in infrastructure
2025-07-02 05:03:56 +00:00