-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Describe the bug
During testing before implementation test pipeline for postgres opensource repo we found an issue with majorUpgrade case
https://github.com/Netcracker/pgskipper-operator/actions/runs/21032532250
Major upgrade via clean helm in github runners instantly failed with next error:
{noformat}
pg_upgrade run on Fri Jan 30 00:13:56 2026
command: "/usr/lib/postgresql/16/bin/pg_ctl" -w -l "/var/lib/pgsql/data/tmp/pg/pg_upgrade_output.d/20260130T001356.004/log/pg_upgrade_server.log" -D "/var/lib/pgsql/data/postgresql_node1" -o "-p 50432 -b -c listen_addresses='' -c unix_socket_permissions=0700 -c unix_socket_directories='/var/lib/pgsql/data'" start >> "/var/lib/pgsql/data/tmp/pg/pg_upgrade_output.d/20260130T001356.004/log/pg_upgrade_server.log" 2>&1
waiting for server to start....[2026-01-30 00:13:56.390 UTC][source=postgresql]FATAL: could not access file "pgsentinel": No such file or directory
[2026-01-30 00:13:56.391 UTC][source=postgresql]LOG: database system is shut down
stopped waiting
pg_ctl: could not start server
Examine the log output.
{noformat}
Pgsentinel lib added to major upgrade image in gitlab here:
https://gitlab.netcracker.com/PROD.Platform.HA/postgres-operator/-/blob/master/services/upgrade/Dockerfile?ref_type=heads
So thirdparty image doesnt include this, but core-operator include in to patroni by default because this lib need for postgres-exporter
Please fix this issue with helm majorUpgrade, this is required for full scope checks in github pipeline in future
To Reproduce
Run majorUpgrade via helm install or github pipeline
Version
No response
Logs
No response
Additional information
No response