1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00

18335 Commits

Author SHA1 Message Date
Patrick Dillon
7ce936d63a OCPBUGS-64775: use CAPZ to provision ssh rule
A change to CAPZ[0], creates an SSH rule if one is not specified in
the cluster spec. Prior to this commit, we had been creating the
SSH rule with installer SDK hooks, which is still somewhat necessary
to add the inbound NAT rules, because we are not yet using CAPZ
to provision a public load balancer.

But we can use CAPZ to just create the rule, which will stop CAPZ
from preventing a redundant SSH rule which we were leaking during
bootstrap destroy.

This change will also result in creating an SSH rule for private clusters
which is fine, and something we do on other providers.

0: https://github.com/kubernetes-sigs/cluster-api-provider-azure/pull/5525
2025-12-15 15:05:30 -05:00
openshift-merge-bot[bot]
bee547d4f5 Merge pull request #10146 from zaneb/extract-tui-wantedby
OCPBUGS-66295: Fix ignition warning about agent-extract-tui.service
2025-12-15 17:34:02 +00:00
Patrick Dillon
bbc0f9fbb7 OCPBUGS-67310: azure: allow hive to pass empty rhcos image string (#10159)
* azure: allow hive to pass empty rhcos image string

hive does not know the rhcos image value and will pass an empty
string for azure machines. In this case, we can leave the image
empty so that it will use the default from MAPI.

* machines: allow confidential VMs on hive to use image galleries

This also handles confidential VMs for hive, which would still use
image galleries.
2025-12-15 14:52:37 +00:00
barbacbd
209355133f OCPBUGS-62870: installing into GCP Shared VPC with minimal permissions
** Ensure that the feature is backwards compatible for original XPN cases. The new field
firewallRulesManagement is an explicit setting of whether the user has the firewall rules
or not. In old versions this did not exist but XPN installs did not need firewall rules.
Now we will default to checking permissions when no field value is provided. If the rules
do not exist, the rules management is set to unmanaged.
2025-12-15 09:37:23 -05:00
openshift-merge-bot[bot]
7169d1c727 Merge pull request #10020 from pawanpinjarkar/remove-interactive-flag
AGENT-1357:  remove AgentWorkflowTypeInstallInteractiveDisconnected workflow
2025-12-12 15:43:45 +00:00
Pawan Pinjarkar
da87462421 AGENT-1357: Remove AgentWorkflowTypeInstallInteractiveDisconnected workflow
Remove the interactive disconnected workflow type. The appliance
  embeds registries.conf and CA certificates directly in the system ignition
  for bootstrap, eliminating the need for a separate workflow type.

  Key changes:

  Command-line interface:
  - Remove --interactive flag from unconfigured-ignition command
  - Remove ContextWrapper and workflow context management

  Workflow handling:
  - Simplify to always use AgentWorkflowTypeInstall for unconfigured ignition
  - Remove AgentWorkflowTypeInstallInteractiveDisconnected constant
  - Remove workflow type switching logic in UnconfiguredIgnition
  - Remove workflow dependency from UnconfiguredIgnition asset

  Mirror configuration:
  - Remove RegistriesConf and CaBundle dependencies from UnconfiguredIgnition
  - Remove addMirrorData() call (appliance provides this)
  - Remove early returns for interactive workflow in mirror assets

  Testing:
  - Remove interactive-disconnected-workflow test case
  - Remove with-mirror-configs test case from unconfigured ignition tests
  - Update default dependencies in test helpers

  Rationale:
  The OVE appliance provides a more robust solution for disconnected
  installations by embedding all necessary configuration (registries,
  certificates, UI) directly in the appliance image. This approach:
  - Eliminates workflow type complexity
  - Decouples installer and appliance repositories
  - Simplifies the codebase by removing conditional logic
  - Aligns with the architecture where MCO manages post-bootstrap config

  After first node reboot, the Machine Config Operator manages registry
  configuration and trust bundles via IDMS/IDMT resources.

  Commit message text generated by: Claude AI <noreply@anthropic.com>
2025-12-12 07:22:36 -05:00
openshift-merge-bot[bot]
8f88b34924 Merge pull request #10156 from honza/baremetal-multi-arch
OCPBUGS-62125: baremetal: allow multi-arch
2025-12-10 18:09:35 +00:00
openshift-merge-bot[bot]
2ed2087bcb Merge pull request #10148 from eshulman2/main
OCPBUGS-34950: Fix OpenStack infrastructure bootstrap issues
2025-12-10 14:52:03 +00:00
openshift-merge-bot[bot]
d921ca51ac Merge pull request #10154 from eshulman2/fix_upi
NO-JIRA: Fix UPI Gate
2025-12-10 01:50:58 +00:00
Honza Pokorny
5f377f6898 baremetal: allow multi-arch 2025-12-09 17:10:33 -04:00
eshulman2
1b18638af0 openstack: Remove FIPs created by the installer
Added cleanup for bootstrap VM FIP in the insatller as part of the
PostDestroyer to streamline FIP creation and deletion to be done by the
installer avoiding orphan FIPs.
2025-12-09 17:43:05 +02:00
eshulman2
27eb6bdfb9 openstack: add ssh to bootstrap sg
Fixes the issue of bootstrap machine logs cannot be collected when installation fails because
the bootstrap VM uses the master security group, which doesn't allow SSH
access from the installation source address. This prevents gathering
diagnostic information needed to troubleshoot failed installations.

- Created dedicated bootstrap security group with SSH access from anywhere
- Tagged with `openshiftRole=bootstrap` for lifecycle management
- Enables SSH access to bootstrap VM for log collection on failure
- Implement PostDestroyer for openstack bootstrap vm
2025-12-09 17:42:57 +02:00
eshulman2
cedadd31ea NO-JIRA: Fix UPI Gate
The change was made to this in #10149 broke the upi job as it was treating it as a file that should be written and not as a script to run. fix that.
2025-12-09 16:35:25 +02:00
openshift-merge-bot[bot]
2565aac30b Merge pull request #10149 from eshulman2/fix_infra
NO-JIRA: Minor fixes to openstack UPI guide
2025-12-08 15:15:26 +00:00
eshulman2
35007fcf94 Minor fixes to openstack UPI guide
- Fixed DNS adding command
- Added better command for glance bootstrap image
2025-12-08 09:18:29 +02:00
openshift-merge-bot[bot]
ca7b596669 Merge pull request #10147 from andfasano/iri-certs
AGENT-1389: create InternalReleaseImage registry TLS certificate
2025-12-05 16:36:49 +00:00
Andrea Fasano
117d3e9fbe create a tls certificate to be used by the InternalReleaseImage registry 2025-12-05 08:07:27 -05:00
openshift-merge-bot[bot]
b35dbe664b Merge pull request #10132 from tthvo/CORS-4212
CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes
2025-12-04 21:00:05 +00:00
openshift-merge-bot[bot]
6901d281d2 Merge pull request #10135 from AshwinHIBM/lon-survey
OCPBUGS-63710: PowerVS: Fix all zones invalid in lon region
2025-12-04 17:46:34 +00:00
openshift-merge-bot[bot]
e07c4ff9d7 Merge pull request #10100 from barbacbd/OCPBUGS-65512
OCPBUGS-65512: Removing resources on destroy by other filters
2025-12-04 08:51:14 +00:00
openshift-merge-bot[bot]
f436744ad5 Merge pull request #10122 from tthvo/bump-capa
NO-JIRA: bump capa to latest upstream version
2025-12-03 22:40:03 +00:00
openshift-merge-bot[bot]
74b692fa09 Merge pull request #10067 from lwan-wanglin/upgrade-azcli-version
MULTIARCH-5817: Upgrade az version in upi-installer image to fix 'az sig image-version create' issue
2025-12-03 12:38:26 +00:00
openshift-merge-bot[bot]
3b6ba6b3d0 Merge pull request #9924 from cybertron/disable-internal-dns
OPNET-678: Allow disabling internal DNS
2025-12-03 01:02:56 +00:00
Zane Bitter
68c92b19da OCPBUGS-66295: Fix ignition warning about agent-extract-tui.service
There must be dependencies in the [Install] section, otherwise we get a
big red warning on the hardware console from Ignition.
2025-12-03 12:50:13 +13:00
Thuan Vo
113b2b4919 no-jira: remove pod-infra-container-image flag from kubelet
Remove the --pod-infra-container-image flag from the bootstrap kubelet
startup script. This change only applies to bootstrap node as cluster
nodes are managed by MCO.

Background: The --pod-infra-container-image kubelet flag has been
deprecated and will be fully removed in k8s v1.35. Attempting to set
this flag will result in kubelet crashing.
2025-12-02 13:53:27 -08:00
barbacbd
1a338cf729 Fix naming convention issues on common name packages. 2025-12-02 14:31:48 -05:00
barbacbd
85acb4d49e Added golangci config option for min-complexity on gocyclo 2025-12-02 11:50:47 -05:00
barbacbd
ffca92e42a no-jira: Fix linting issues for golangci-lint v2
pkg/agent/logging.go:
QF1006: could lift into loop condition
Skip lint check.

pkg/asset/manifests/azure/cluster.go:
QF1003: could use tagged switch on subnetType
Use a switch instead of if-else

pkg/infrastructure/azure/storage.go:
QF1007: could merge conditional assignment into variable declaration

pkg/infrastructure/baremetal/image.go:
QF1009: probably want to use time.Time.Equal instead
Use function for time.Equal rather than ==.
2025-12-02 11:34:14 -05:00
openshift-merge-bot[bot]
75bbd5db17 Merge pull request #10121 from sebrandon1/golangci-lint-upgrade
no-jira: Upgrade GolangCI-lint to v2
2025-12-02 15:06:17 +00:00
Ashwin Hendre
bd7888e837 PowerVS: Sort zone survey list 2025-12-02 17:40:55 +05:30
openshift-merge-bot[bot]
98521adfb8 Merge pull request #10134 from andfasano/add-image-references-for-mcc-bootstrap
AGENT-1326, MCO-1961: copy image-references for machine-config-controller bootstrap
2025-12-02 10:31:29 +00:00
openshift-merge-bot[bot]
d275040ade Merge pull request #10120 from jcpowermac/capv-bump
OCPBUGS-60765: Bump capv to v1.14.0
2025-12-02 06:13:00 +00:00
Thuan Vo
2a98b2b4af aws: set machine pool defaults for EBS volume type
Set the default type EBS volume for machine pools:
- Controlplane, arbiter and worker pool default to gp3 volume.
- Edge pool default to gp2 volume.

The default decision is taken from existing code [0]. This commit just
makes the defaulting earlier.

This also loosens the validation to allow 0 for volume size and iops as
they are int type (i.e. not pointer).

Reference:

[0] fd5a518e49/pkg/asset/machines/worker.go (L102-L117)
2025-12-01 20:31:03 -08:00
openshift-merge-bot[bot]
00584fe5d4 Merge pull request #10133 from zaneb/ostree-tmpfs
OCPBUGS-62790: Use separate tmpfs for ostree checkout on live ISO
2025-12-02 01:52:58 +00:00
openshift-merge-bot[bot]
05b55cca6f Merge pull request #9942 from tthvo/OCPBUGS-60071
OCPBUGS-60071: abort uninstall process if owned subnets contain shared tags
2025-12-02 01:52:52 +00:00
John Hixson
d93d030520 AWS: Add the ability to configure throughput on GP3 volumes
GP3 volumes have the ability to configure throughput from 125 MiB/s to
2000 MiB/s. This allows the ability to set this at install time in the
install-config.

https://issues.redhat.com/browse/CORS-4212
2025-12-01 17:14:07 -08:00
John Hixson
d05387abb8 go mod vendor for AWS GP3 changes 2025-12-01 17:12:41 -08:00
John Hixson
c17a0ff538 Bump openshift/api for AWS GP3 changes 2025-12-01 17:12:41 -08:00
Brandon Palm
4a7542368c Create .golangci-lint-v2.yaml 2025-12-01 15:36:02 -06:00
openshift-merge-bot[bot]
fd5a518e49 Merge pull request #10095 from AshwinHIBM/fragment-security-groups
MULTIARCH-5553: PowerVS: Introduce group division
2025-12-01 20:54:13 +00:00
Brandon Palm
ae49b022eb Upgrade GolangCI-lint to v2 2025-12-01 09:38:34 -06:00
Joseph Callen
47984c89b1 OCPBUGS-60765: Bump capv to v1.14.0
This commit updates capv to 1.14.0 which also
resolves the vm-host zonal race that was fixed upstream
2025-12-01 08:17:12 -05:00
Zane Bitter
027899c0c6 Log peak ramdisk usage of node-image-pull 2025-12-01 13:11:38 +13:00
Zane Bitter
6e3718cb66 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-01 13:10:24 +13:00
Andrea Fasano
7b3f1b4c95 copy image-references for machine-config-controller bootstrap 2025-11-28 13:23:36 -05:00
openshift-merge-bot[bot]
7d0584e62b Merge pull request #10090 from shiftstack/bump-capo-v0-13
OSASINFRA-3965: Update cluster-api-provider-openstack to v0.13.0
2025-11-28 12:53:19 +00:00
Zane Bitter
131985ab3b Report file system space usage in agent-gather 2025-11-28 14:15:16 +13:00
openshift-merge-bot[bot]
b4fa331713 Merge pull request #10131 from jianlinliu/revert-9945-1764150392240
TRT-2440: Revert #9945 "CORS-4212: AWS: Add the ability to configure throughput on GP3 volumes"
2025-11-26 12:59:09 +00:00
Jianlin Liu
33578b2ebe Revert "Merge pull request #9945 from jhixson74/main_aws_gp3_throughput"
This reverts commit e81ba7f50f, reversing
changes made to 5060ac90b9.
2025-11-26 04:46:32 -05:00
Thuan Vo
0fde7620ac OCPBUGS-60071: abort uninstall process if owned subnets contains shared tags
Added a preflight check for the destroy code (AWS) to check if owned
subnets is safe to destroy: subnets are not shared by any other clusters.

An owned subnet should not be shared by other clusters as this is a
misconfiguration, but in practice, it happened [0].

References

[0] https://issues.redhat.com//browse/OCPBUGS-60071
2025-11-24 22:27:42 -08:00