Bug 2218540

Summary: pgsqlms: additional files needs to be create when used with postgresql v15+ (RHEL8)
Product: Red Hat Enterprise Linux 8 Reporter: Oyvind Albrigtsen <oalbrigt>
Component: resource-agentsAssignee: Oyvind Albrigtsen <oalbrigt>
Status: CLOSED NOTABUG QA Contact: cluster-qe <cluster-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.9CC: agk, cluster-maint, cluster-qe, fdinitto, mjuricek
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2218529 Environment:
Last Closed: 2023-06-30 09:20:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2218529    
Bug Blocks:    

Description Oyvind Albrigtsen 2023-06-29 14:09:04 UTC
+++ This bug was initially created as a clone of Bug #2218529 +++

Description of problem:
For v15+ you need to run "mkdir tmp && touch tmp/recovery.conf tmp/rep_mode.conf" on the secondary nodes.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create database
2. pcs resource create <rsc-name> pgsqlms ...
3.

Actual results:
Secondary nodes fail due to missing tmp/ files being included from postgres.conf.

Expected results:
Starts without additional steps to create the included files.

Additional info:

Comment 1 Oyvind Albrigtsen 2023-06-30 09:20:00 UTC
The issue was caused by a mistake in my testing procedure.