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

2980 Commits

Author SHA1 Message Date
Tiago Bueno
ea7b7b68cb OCPBUGS-66356: Update the RHCOS 4.20 bootimage metadata to 9.6.20260112-0
The changes done here will update the RHCOS 4.20 bootimage metadata and
address the following issues:

OCPBUGS-64611: [4.20] coreos-boot-disk link not working with multipath on early boot
OCPBUGS-67201: [4.20] Cannot use auto-forward kargs (like ip=) with coreos-installer (iso|pxe) customize
OCPBUGS-68356: [4.20] Using multipath on the sysroot will fail to boot if less than 2 paths are present
OCPBUGS-69837: [4.20] Ignition fails with crypto/ecdh: invalid random source in FIPS 140-only mode

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.20260112-0        \
    aarch64=9.6.20260112-0       \
    s390x=9.6.20260112-0         \
    ppc64le=9.6.20260112-0

Signed-off-by: Tiago Bueno <tiago.bueno@gmail.com>
2026-01-22 16:20:08 -03:00
Bob Fournier
17266264bb OCPBUGS-63386: Increase agent-installer pre-network-manager timeout
We have a report that a baremetal installation with VLAN interfaces
can require longer than the current setting for the timeout of
the pre-network-manager-config service. Increasing it to 300
seconds.
2026-01-07 16:32:51 +00:00
openshift-merge-bot[bot]
cc82f30cd6 Merge pull request #10140 from openshift-cherrypick-robot/cherry-pick-10133-to-release-4.20
[release-4.20] OCPBUGS-66231: Use separate tmpfs for ostree checkout on live ISO
2025-12-09 07:25:37 +00:00
Patrick Dillon
6e239672e5 data/coreos: bump ARO marketplace images
Bump to latest ARO marketplace images, which are 4.20.
2025-12-02 18:41:56 +00:00
Zane Bitter
ff8805b164 Log peak ramdisk usage of node-image-pull 2025-12-02 01:54:05 +00:00
Zane Bitter
f71c136f5d OCPBUGS-62790: Use separate fs for ostree checkout on live ISO
Installations using ABI/assisted with 16GiB of RAM on the bootstrap node
were failing with "no space left on device" during bootstrapping. The
live ISO environment uses a tmpfs mounted at /var that is sized at 50%
of available RAM. On systems with 16GiB of RAM, this provides only 8GiB
of tmpfs space.

At the beginning of the bootstrap process, node-image-pull.sh creates an
ostree checkout underneath /var/ostree-container. When this is added to
the regular disk space usage of the later parts of the bootstrap, the
peak tmpfs usage hits around 9.4GiB.

This fix creates a separate 4GiB tmpfs for /var/ostree-container, so
that it is not subject to the limits on the size of /var.
2025-12-02 01:54:05 +00:00
Zane Bitter
9d74647105 Report file system space usage in agent-gather 2025-12-02 01:54:04 +00:00
Zane Bitter
0c3dcc0416 OCPBUGS-62826: Fix /etc/issue for unconfigured-ignition 2025-12-01 15:52:20 +00:00
Zane Bitter
32bb7514a6 OCPBUGS-62824: Fix escaping in issue file pointing to rendezvous host 2025-12-01 15:52:19 +00:00
Tiago Bueno
b07e32f3cf Revert "OCPBUGS-65586: Update the RHCOS 4.20 bootimage metadata to 9.6.202511…" 2025-11-17 12:31:36 -03:00
Tiago Bueno
30f9ee8a76 OCPBUGS-65586: Update the RHCOS 4.20 bootimage metadata to 9.6.20251113-0
The changes done here will update the RHCOS 4.20 bootimage metadata and
  address the following issues:

OCPBUGS-64611: [4.20] [OCP 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 rhel-9.6 \
    --url https://rhcos.mirror.openshift.com/art/storage/prod/streams \
    x86_64=9.6.20251113-0        \
    aarch64=9.6.20251113-0       \
    s390x=9.6.20251113-0         \
    ppc64le=9.6.20251113-0

Signed-off-by: Tiago Bueno <tiago.bueno@gmail.com>
2025-11-14 16:02:23 -03:00
Michael Nguyen
034787746d Update the RHCOS 4.20 bootimage metadata to 9.6.20251023-0
The changes done here will update the RHCOS 4.20 bootimage metadata and
address the following issues:

OCPBUGS-62699: Revert inclusion of AWS ECR credential provider in RHEL layer

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.20251023-0        \
    aarch64=9.6.20251023-0       \
    s390x=9.6.20251023-0         \
    ppc64le=9.6.20251023-0
```
2025-10-28 19:26:08 -04:00
openshift-merge-bot[bot]
98d82a1bfb Merge pull request #10009 from openshift-cherrypick-robot/cherry-pick-9995-to-release-4.20
[release-4.20] OCPBUGS-62920: AGENT-1269: Use agent-installer-ui image from release
2025-10-23 18:45:57 +00:00
Michael Armijo
8b87b5793e OCPBUGS-62124: Update the RHCOS 4.20 bootimage metadata
The changes done here will update the RHCOS 4.20 bootimage metadata and
address the following issues:

COS-3042: GA ROSA-HCP support Windows LI for CNV

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.20251015-1        \
    aarch64=9.6.20251015-1       \
    s390x=9.6.20251015-1         \
    ppc64le=9.6.20251015-1
```
2025-10-15 23:15:52 -06:00
Pawan Pinjarkar
d992106f31 AGENT-1269: Use agent-installer-ui image from release 2025-10-09 19:29:33 +00:00
Richard Su
6d50e95f56 OCPBUGS-62363: Set agent-extract-tui start timeout
Not timeout is currently set. If there is an underlying issue like
an incorrectly configured registry.conf, the service runs continously.

Ssh and login waits for agent-extract-tui to complete and are
blocked, leaving the host inaccessible.
2025-10-02 01:29:09 +00:00
Richard Su
7e8aa7d641 OCPBUGS-61935: Wildcards not reliable for copying container files
The copy operation using the * wildcard under /var/lib/containers/storage/
does not work reliably and often times fails.

Changed to using find --exec cp.

Thank you Andrea Fasano for providing the command.
2025-10-01 15:37:59 +00:00
Richard Su
30c7416e98 OCPBUGS-61373: Fix shellcheck issues in bootstrap 2025-09-11 07:55:32 -04:00
Richard Su
c3ebbe3e25 OCPBUGS-61373: Fix agent shellcheck issues
Disable shellcheck on agent-image.env The file is generated at
runtime after get-container-images.sh is executed.

Added missing double quotes and switch echo to printf in
install-status.sh
2025-09-11 07:55:11 -04:00
openshift-merge-bot[bot]
5f4e6cdd11 Merge pull request #9792 from barbacbd/CORS-4044
CORS-4044, CORS-4045, CORS-4046, CORS-4047, CORS-4048, CORS-4049, CORS-4050, CORS-4051: Add private dns zone section to GCP install config
2025-08-28 10:49:16 +00:00
Aashish Radhakrishnan
28ce2c4d65 OCPBUGS-60949: Update the RHCOS 4.20 bootimage metadata
The changes done here will update the RHCOS 4.20 bootimage metadata and
address the following issues:

OCPBUGS-60664 - [4.19] linux-firmware updates required for GNR-D hardware

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.20250826-1                                    \
    aarch64=9.6.20250826-1                                   \
    s390x=9.6.20250826-1                                     \
    ppc64le=9.6.20250826-1
```
2025-08-27 10:10:38 -04:00
barbacbd
ebc05e6da2 CORS-4044: Add private dns zone section to GCP install config
install.openshift.io_installconfigs.yaml:

** Updated fields from the types/installconfig/gcp

CORS-4047: Add private Zone Validation

pkg/types/gcp/platform.go:

** Add the user specified private dns zone
** Add static validation

pkg/asset/installconfig/gcp/validation.go:

** When private dns zone information is provided, ensure that the project and zone
are used for validation.

CORS-4045: Update Clsuter Metadata

** Add the GCP private zone information to the cluster metadata

CORS-4048: Update TFVars to include private zone info

CORS-4049: Find the correct project for the dns zones

** Update the DNS Manifest to take the correct private zone project when specified.

** Note: Need to update DNS Spec to take in a project.

CORS-4046: Delete Private Zones

pkg/destroy/gcp:

** Use the cluster metadata to update the gcp cluster uninstaller.
** Find DNS zones in the correct project. Delete the zones that can and should be
deleted.
** Delete the DNS records in the private and public zones.

pkg/destroy/gcp:

** Destroy DNS zones if they have the "owned" label.

installconfig/gcp:

** Generate a new Client function to find private DNS zones where the base domain
and zone name are both provided.

manifests/dns:

** Use the new client function to ensure that we find the correct private zone
when private zone information is provided in the install config file.

clusterapi/dns:

** Use the new client function to ensure that we find the correct private zone
when private zone information is provided in the install config file.

Adding the "shared" tag when the installer does not create the private managed zone.

** On Destroy, search the private dns zone for the labels. If the
shared label with a key matching the cluster ID exists, remove the label.
2025-08-26 16:00:15 -04:00
openshift-merge-bot[bot]
d0aabcc2a9 Merge pull request #9329 from patrickdillon/az-mkt-imgs
CORS-3652: RHCOS Stream Marketplace Images
2025-08-22 16:00:45 +00:00
Patrick Dillon
963ac1dd66 data/coreos: add marketplace stream
This adds the actual marketplace stream created via:

STREAM_RELEASE_OVERRIDE=4.19 go run -mod=vendor ./hack/rhcos/populate-marketplace-imagestream.go
2025-08-21 11:48:52 -04:00
Richard Su
1e1921fa18 AGENT-1205: Update agent-installer-ui tar path
The tar file path was changed in
https://github.com/openshift/agent-installer-utils/pull/132
when the image was switched to agent-installer-ui.

The path to the tar file in agent-extract-tui.service
now needs to be updated.
2025-08-18 17:37:10 -04:00
Abhay
96d51749e7 rebase the branch 2025-08-08 11:20:21 +05:30
openshift-merge-bot[bot]
569bbc8690 Merge pull request #9753 from rna-afk/azure_single_nat_gateway
CORS-4067: Add support for single zone NAT gateway
2025-08-08 03:41:06 +00:00
openshift-merge-bot[bot]
43b52e1bf9 Merge pull request #9828 from rwsu/AGENT-1205-extract-agent-tui-at-boot-time
AGENT-1205: Extract agent-tui during boot for interactive workflow
2025-08-07 06:18:59 +00:00
Abhay
5ea0cd8cd2 Upgrading cluster-api-provider-nutanix version to 1.7.0 2025-08-06 12:00:42 +05:30
Richard Su
fa9ff85cef Extract libnmstate.so to /usr/local/lib 2025-08-05 16:38:29 -04:00
Sandhya Dasu
e5e43ecb4e CORS-4085: Azure custom-dns: Keep resolv.conf on bootstrap node updated
When custom-dns is enabled, the resolv.conf file on the bootstrap node
needs to be kept updated to point to localhost(127.0.0.1) where the
local static CoreDNS pod is providing DNS for API and API-Int.

After initial creation of the resolv.conf file it needs to be kept
upated in case it gets overwritten by Network Manager.
2025-08-01 16:45:42 -04:00
Sandhya Dasu
db2052c5ab CORS-4084: Azure custom-dns: Add userProvisionedDNS as install-config parameter
This feature is currently available when feature gate
AzureClusterHostedDNSInstall is enabled.
2025-08-01 12:32:10 -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
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
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
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
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
Richard Su
4879a6edb9 AGENT-1205: Extract agent-tui during boot for interactive workflow
Created agent-extract-tui.service for the interactive-disconnected
workflow to extract the agent-tui and nmstate libraries during boot.

The files are extracted from the agent-install-utils image. In the
interactive-disconnected workflow, the image is available on the
local container storage. They need to be extracted before the
agent-interactive-console.service starts.
2025-07-11 15:42:42 -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
Aditya Narayanaswamy
9ea9f83ef0 azure: Add support for single zone NAT gateway
Adding the option for the users to create a NAT gateway for the
compute nodes as an option to replace the traditional load balancer
setup. This is only for a single NAT gateway in the compute
subnet as CAPZ expects an outbound LB for control planes.
2025-07-02 17:27:27 -04: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
Prashanth684
18ab7e2296 OKD-241: Use CentOS Stream 10 bootimages
Now that we are building node images with c10s base images(https://github.com/openshift/release/pull/66397), switch the
bootimage as well
2025-07-01 14:30:01 -07:00
Joseph Callen
b1702662d4 Azure: add mpool datadisks
This PR adds to the machinepool a new field datadisks
to allow a user to add additional disks at installation
time
2025-07-01 13:23:53 -04:00
ehila
75fa733182 feat: add arbiter role support to ABI
added support for arbiter installs to ABI flow, we currently do not
support installing TechPreview featureSet with agent based install, this
includes adding that capability for overriding featureSet to be passed
to the assisted service.

Signed-off-by: ehila <ehila@redhat.com>
2025-07-01 07:36:15 -04:00
Patrick Dillon
b241c4e115 OCPBUGS-57348: add MCO operator manifest for boot image management (#9783)
* pkg/asset/manifests: add MCO operator manifest

Adds manifest generation for MCO configuration.
Currently the manifest is only generated when
custom boot images are specified, in order
to disable MCO management of those boot images.

The manifest generation uses a golang template
as testing revealed that API server validation
would not permit the manifests generated from
serializing the golang structs, which would
be more consistent with how we generate manifests
for other openshift operators. As golang will
populate the zero value for any non-pointer struct
this triggered validation, where the API server
expected certain required fields for these zero-value
structs. Using a template allows us to bypass this
problem.

Fixes OCPBUGS-57348

* fixup! pkg/asset/manifests: add MCO operator manifest

* fixup! pkg/asset/manifests: add MCO operator manifest
2025-06-19 15:09:54 +00:00
openshift-merge-bot[bot]
ec134eebf5 Merge pull request #9790 from rna-afk/update_cvo_channel_4.20
CORS-3796: Update CVO channel to latest
2025-06-18 18:04:34 +00:00
Aditya Narayanaswamy
38d14ad334 cvo: Update CVO channel to latest
Updating CVO channel to the latest 4.20 version.
2025-06-16 14:13:19 -04:00
openshift-merge-bot[bot]
55b35185c7 Merge pull request #9769 from bfournie/etcd-dir-permissions
OCPBUGS-57021: Use less permissive access for /var/lib/etcd for SNO
2025-06-13 16:05:09 +00:00