Actions
action #112916
closedopenQA Project (public) - coordination #109846: [epic] Ensure all our database tables accomodate enough data, e.g. bigint for ids
postgresql.conf is invalid after recent salt changes size:M
Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2022-06-22
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
- The current /srv/PSQL/data/postgresql.conf is invalid and contains lines and parts of lines containing "tMB".
- Postgres was last restarted yesterday i.e.
active (running) since Wed 2022-06-22 15:54:59 CEST; 19h ago
acording to systemd meaning it was not restarted after the config changes - This seems to have been introduced by https://gitlab.suse.de/openqa/salt-states-openqa/-/commit/606eb48d1c54e25d6528c45dd230cf02d815f3d4
- All pipelines succeeded
- The config was last changed this morning, and there is an identical .bak file, and we don't know why:
-rw------- 1 postgres postgres 29374 Jun 23 10:47 postgresql.conf -rw------- 1 root root 29374 Jun 23 09:48 postgresql.conf.bak
Suggestions¶
- Observe the problem in https://gitlab.suse.de/openqa/salt-states-openqa/-/jobs/1026706#L1433
- Fix the regex
- Verify validity of the config, e.g. a grep of the config file in gitlab CI or following https://stackoverflow.com/a/55758799 within the running server, that is running
select pg_reload_conf();
Actions