1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-06 00:48:45 +01:00
Commit Graph

2990 Commits

Author SHA1 Message Date
Michael Nguyen
357ffcb37a Update the RHCOS 4.21 bootimage metadata to 9.6.20251023-0
The changes done here will update the RHCOS 4.21 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:27:42 -04:00
openshift-merge-bot[bot]
d7dc751360 Merge pull request #9962 from barbacbd/OCPBUGS-57126
OCPBUGS-57126: Add node-image-pull to the list of services to check their logs in /etc/motd
2025-10-25 15:58:54 +00:00
openshift-merge-bot[bot]
7a5bbe1bb8 Merge pull request #9957 from zaneb/duplicate-bootstrap-logs
OCPBUGS-62136: Eliminate duplicate logs on bootstrap/rendezvous host
2025-10-23 20:58:09 +00:00
openshift-merge-bot[bot]
4651c4603d Merge pull request #10003 from zaneb/issue-interactive
OCPBUGS-62824,OCPBUGS-62826: Fix console info for interactive agent installer
2025-10-21 10:16:35 +00:00
Michael Armijo
a1f6a8a452 OCPBUGS-62085: Update the RHCOS 4.21 bootimage metadata
The changes done here will update the RHCOS 4.21 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-16 10:02:34 -06:00
openshift-merge-bot[bot]
9312f33fd8 Merge pull request #9970 from sarthakpurohit/remove-fcos-ref
OKD-237: Remove fcos references
2025-10-15 11:12:39 +00:00
openshift-merge-bot[bot]
c36c0d7600 Merge pull request #9734 from shiftstack/OCPBUGS-43783
OSASINFRA-3915: openstack: Start setting CredentialsMode
2025-10-14 03:27:57 +00:00
sarthakpurohit
f6101bb752 Removed fcos references 2025-10-13 18:14:39 +05:30
Zane Bitter
333fdcd73e OCPBUGS-62826: Fix /etc/issue for unconfigured-ignition 2025-10-13 17:20:23 +13:00
openshift-merge-bot[bot]
40e2d55455 Merge pull request #9995 from pawanpinjarkar/use-agent-installer-ui-image-frm-release
OCPBUGS-62907: AGENT-1269: Use agent-installer-ui image from release
2025-10-09 19:28:31 +00:00
Zane Bitter
855e87073f OCPBUGS-62824: Fix escaping in issue file pointing to rendezvous host 2025-10-08 20:09:15 +13:00
openshift-merge-bot[bot]
2393f5dcc9 Merge pull request #8986 from zaneb/bootstrap-dependencies-cleanup
OCPBUGS-41567: Clean up baremetal bootstrap systemd dependencies
2025-10-08 04:07:45 +00:00
Pawan Pinjarkar
90e3a72852 AGENT-1269: Use agent-installer-ui image from release 2025-10-06 15:02:34 -04:00
Zane Bitter
ee4593f7c9 Remove wait-iptables-init.service
Code to wait for iptables to start was added (to startironic.sh) in the
RHEL 7 era. We kept it because we were not sure it was still needed. We
now know that when oneshot systemd services are restarted, it prevents
any of the services that depend on them from starting. It follows that
the wait-iptables-init service is not having any effect today in RHEL 9,
so it can be removed.
2025-10-06 16:57:17 +13:00
Zane Bitter
ea2f3a1070 baremetal bootstrap: Downgrade Requires dependencies to Wants
Since the image customization service now runs as a kubernetes
controller, it is no longer directly required by ironic (as it was when
it ran on static data and Terraform was doing the provisioning). Ironic
needs only the kernel to be set up by extract-machine-os, which was
previously a transitive dependency.

And although it is wanted by BMO, it should not block BMO startup as BMO
may be able to at least provide some useful debugging information in the
CRDs if the image-customization service is not running.

In turn, the image-customization controller can run and potentially
provide useful error messages if the CoreOS ISO file does not exist, so
use Wants instead of Requires to depend on extract-machine-os.
2025-10-06 16:54:19 +13:00
Zane Bitter
e4a744cb0b Remove copy-pasta from metal3-baremetal-operator service
Some of the configuration in this file has been inherited from the
ironic service. We don't mount ironic.volume, so there is no need to
depend on it. We don't include the /etc/ironic.env environment file, so
we do not need to wait for it to be built and should not attempt to pass
on the HTTP_PORT and IRONIC_KERNEL_PARAMS environment variables from it.

Finally, BMO requires the ironic.service, so set that dependency instead of
using ironic.service's own dependencies. Note that this must be a
Requires dependency because we need the BMO to stop when we stop
ironic.service in master-bmh-update.
2025-10-06 16:21:32 +13:00
barbacbd
987bb3c03f CORS-4256: Add PSC Endpoint to the installconfig
** Provide the user with the ability to specify the name of the private service
connect endpoint and the location. When the region is empty it is assumed to be
a global location.
2025-10-02 06:40:19 -04:00
openshift-merge-bot[bot]
90dc71947b Merge pull request #9975 from rwsu/OCPBUGS-62363
OCPBUGS-62363: Set agent-extract-tui start timeout
2025-10-01 09:38:06 +00:00
Richard Su
015828b631 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-09-29 16:04:42 -04:00
barbacbd
5d9f38c84d OCPBUGS-57126: Add node-image-pull to the list of services to check their logs in /etc/motd
** Update the data directory for the motd file to include the node-image-ull service.
2025-09-25 14:46:24 -04:00
Zane Bitter
9550273361 Eliminate duplicate logging in some systemd services
Since we do not detach from the container process in "podman run", log
messages get written both to stderr (where they are captured by systemd
and written to the journal) and to the journal directly by podman. This
results in duplicate log messages in the journal.

We cannot detach from the container in a oneshot service, so use the
passthrough log driver to ensure we get only one copy of the logs.
2025-09-25 13:22:05 +12:00
Zane Bitter
eea2df2d60 Use k8s-file log-driver in bootkube.sh
When bootkube.sh runs a podman container, use the k8s-file log driver to
restore the behaviour from RHEL 8. The default log driver changed to
journald in RHEL 9, with the result that a separate log file was not
created, and that all log messages from inside the container appear
twice in the journal since they are also captured from stderr by systemd.

Since we want to run these pods synchronously, we do not want to detach
from them (which would be the other way to ensure we do not get two
copies of the logs).
2025-09-25 13:20:05 +12:00
openshift-merge-bot[bot]
174dce12ea Merge pull request #9950 from barbacbd/OCPBUGS-61901
OCPBUGS-61901: Update explain for Publish
2025-09-24 00:43:16 +00:00
Richard Su
d0203e29ab 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-09-19 14:39:52 -04:00
barbacbd
83932610a7 OCPBUGS-61901: Update explain for Publish
Update the publish strategy to include "Mixed" (it was left out of the kube enum).
Update the explain commands to ensure the Mixed info is present.
2025-09-19 09:30:30 -04:00
openshift-merge-bot[bot]
fdd2095b51 Merge pull request #9929 from rwsu/OCPBUGS-61373-bootstrap
OCPBUGS-61373: Fix shellcheck issues in bootstrap
2025-09-10 23:29:53 +00:00
Richard Su
36bb15dd9c OCPBUGS-61373: Fix shellcheck issues in bootstrap 2025-09-08 17:28:54 -04:00
Richard Su
357c01c3f9 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-08 17:15:37 -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
Stephen Finucane
6c83f9f3ef openstack: Start setting CredentialsMode
This is done for the other platforms. Do it now for OpenStack.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-07-16 16:46:03 +01: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