Bug 2218529

Summary: pgsqlms: additional files needs to be create when used with postgresql v15+
Product: Red Hat Enterprise Linux 9 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: 9.2CC: agk, cluster-maint, fdinitto, mjuricek
Target Milestone: rcKeywords: Triaged
Target Release: 9.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2218540 (view as bug list) Environment:
Last Closed: 2023-06-30 09:20:10 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:    
Bug Blocks: 2218540    

Description Oyvind Albrigtsen 2023-06-29 13:59:26 UTC
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:10 UTC
The issue was caused by a mistake in my testing procedure.