Skip to content

CHEF-37239: Sync omnibus submodule to support external PostgreSQL 14 - #4225

Open
jashaik wants to merge 1 commit into
mainfrom
CHEF-37239-support-external-postgresql-14
Open

CHEF-37239: Sync omnibus submodule to support external PostgreSQL 14#4225
jashaik wants to merge 1 commit into
mainfrom
CHEF-37239-support-external-postgresql-14

Conversation

@jashaik

@jashaik jashaik commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the omnibus submodule pointer to the support-external-postgresql-14 branch commit (44fde2d) in chef-server-omnibus-config, which widens the PostgresqlPreflightValidator::SUPPORTED_VERSION constant from 13 to 14.

Why

Chef Infra Server currently ships embedded PostgreSQL 13.23, but the preflight validator hard-blocks any external PostgreSQL database above major version 13 (CSPG014). This prevents customers from using an external PostgreSQL 14 instance even though nothing else in the cookbooks requires PG 13 specifically.

Changes

  • Bump omnibus submodule pointer to 44fde2d (branch: support-external-postgresql-14 in chef-server-omnibus-config)
    • SUPPORTED_VERSION raised from 13 to 14 in preflight_postgres_validator.rb
    • Updated/added RSpec cases covering PG 14 (allowed) and PG 15 (still rejected)
    • No changes to config/software files
    • Embedded PostgreSQL remains 13.23 (attributes/default.rb untouched)

Dependency

This PR depends on chef/chef-server-omnibus-config#new (branch support-external-postgresql-14, commit 44fde2d) being merged to main first, followed by re-pointing this submodule update to that merged commit before merge.

Testing

  • Manually verified the PgVersion comparison logic: PG 9.6/13.x/14.0 pass (13.x with existing warning, unchanged), PG <= 9.1 and PG >= 15 still fail with CSPG014.
  • Added spec coverage in preflight_postgres_validator_spec.rb.

Jira: https://progresssoftware.atlassian.net/browse/CHEF-37239

Update omnibus submodule pointer to 44fde2d
(support-external-postgresql-14 branch) which widens the
PostgresqlPreflightValidator SUPPORTED_VERSION constant from 13 to 14
so external PostgreSQL 14 databases are not blocked by preflight
checks. The embedded PostgreSQL we ship remains at 13.23 and is
unaffected.

Jira: https://progresssoftware.atlassian.net/browse/CHEF-37239

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Jan Shahid Shaik <jashaik@progress.com>
@jashaik
jashaik requested review from a team as code owners July 30, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant