Skip to content

Conversation

@ocofaigh
Copy link
Contributor

@ocofaigh ocofaigh commented Aug 8, 2025

Description

  • Added 4.18 support (needed to bump version of base OCP module)
  • Removed the ability to set "Default" as a value and instead added the default value to the DA input directly in ibm_catalog.json (so users always know exactly what version they are going to deploy)

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@ocofaigh
Copy link
Contributor Author

ocofaigh commented Aug 8, 2025

/run pipeline

@vkuma17 vkuma17 mentioned this pull request Aug 8, 2025
6 tasks
@toddgiguere
Copy link
Member

/run pipeline

@toddgiguere
Copy link
Member

/run pipeline

@toddgiguere
Copy link
Member

SKIP UPGRADE TEST explanation:

As expected, the TestRunUpgradeROKSQuickStartPattern and TestRunUpgradeRoksPattern are erroring on the input validation for the new default version of ROKS v4.18 conflicting with default worker pool OS "RHEL_8_64", which is unavoidable. Will need to skip upgrade tests.

Currently only the ROKS upgrade tests are failing.

@toddgiguere
Copy link
Member

The ROKS tests are reporting an issue with cluster addons, which I think is part of the fix in this PR to conform the addons input map to the new version of the base-ocp-vpc module input map.

We need further changes here, I'm investigating.

variables.tf Outdated
validation {
error_message = "RHEL 8 (REDHAT_8_64) or Red Hat Enterprise Linux CoreOS (RHCOS) are the allowed OS values. RHCOS requires VPC clusters created from 4.15 onwards. Upgraded clusters from 4.14 cannot use RHCOS."
condition = length([for cluster in var.clusters : true if cluster.operating_system == null || cluster.operating_system == "REDHAT_8_64" || cluster.operating_system == "RHCOS"]) == length(var.clusters)
error_message = "RHEL 8 (REDHAT_8_64), RHEL 9 (REDHAT_9_64) or Red Hat Enterprise Linux CoreOS (RHCOS) are the allowed OS values. RHCOS requires VPC clusters created from 4.15 onwards. Upgraded clusters from 4.14 cannot use RHCOS."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be RHEL_9_64 instead of REDHAT_9_64.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct, it was in 3 different files, I've done global search to fix them all.

variables.tf Outdated
error_message = "RHEL 8 (REDHAT_8_64) or Red Hat Enterprise Linux CoreOS (RHCOS) are the allowed OS values. RHCOS requires VPC clusters created from 4.15 onwards. Upgraded clusters from 4.14 cannot use RHCOS."
condition = length([for cluster in var.clusters : true if cluster.operating_system == null || cluster.operating_system == "REDHAT_8_64" || cluster.operating_system == "RHCOS"]) == length(var.clusters)
error_message = "RHEL 8 (REDHAT_8_64), RHEL 9 (REDHAT_9_64) or Red Hat Enterprise Linux CoreOS (RHCOS) are the allowed OS values. RHCOS requires VPC clusters created from 4.15 onwards. Upgraded clusters from 4.14 cannot use RHCOS."
condition = length([for cluster in var.clusters : true if cluster.operating_system == null || cluster.operating_system == "REDHAT_8_64" || cluster.operating_system == "REDHAT_9_64" || cluster.operating_system == "RHCOS"]) == length(var.clusters)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be RHEL_9_64 instead of REDHAT_9_64.

@vkuma17
Copy link

vkuma17 commented Aug 12, 2025

/run pipeline

new ocp default + old default os type will never pass for main branch, noted in pr and skipping upgrade.

SKIP UPGRADE TEST
@toddgiguere
Copy link
Member

/run pipeline

@toddgiguere
Copy link
Member

Latest test failure was probably a cloud platform issue, so I think we are getting close on this one.

summary: 'isWaitForLBAvailable failed: timeout while waiting for state to become ''done

@toddgiguere
Copy link
Member

/run pipeline

@ocofaigh ocofaigh merged commit 2a6c06e into main Aug 13, 2025
2 checks passed
@ocofaigh ocofaigh deleted the ocofaigh-patch-1 branch August 13, 2025 06:47
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 8.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants