<div dir="ltr"><div dir="ltr"><span style="font-family:monospace">Package: resource-agents-paf<br>Version: 2.3.0-2<br><br>Hello,<br><br>After
 configuring the clone PAF resource with Pacemaker 3.0, invoking the 
validation of the resource generate the following errors:<br></span><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">(Here, postgresql-ha refers to the pgsql-ha clone resource in the configuration example of pgsqlms)</span></div><div><br></div><span style="font-family:monospace">bruno24pt@nodea:~$ sudo pcs status<br><- cut -><br>Full List of Resources:<br>  * Clone Set: postgresql-ha [postgresql] (promotable, disabled):<br>    * Stopped (disabled): [ nodea nodeb ]<br>  * postgresql-vip    (ocf:heartbeat:IPaddr2):     Stopped<br><br><br>bruno24pt@nodea:~$ sudo crm_resource -r postgresql-ha --validate<br>Operation
 validate for postgresql-ha (ocf:heartbeat:pgsqlms) returned 5 (Not 
installed: You must set meta parameter master-max=1 for your master 
resource)<br>ocf-exit-reason:You must set meta parameter master-max=1 for your master resource<br><br>crm_resource: Error performing operation: Not installed<br><br><br>The error is raised because master-max parameter has been obsoleted and removed in Pacemaker 3.0:<br><br>Following to <a href="https://clusterlabs.org/projects/pacemaker/doc/3.0/Pacemaker_Explained/html/collective.html" target="_blank">https://clusterlabs.org/projects/pacemaker/doc/3.0/Pacemaker_Explained/html/collective.html</a>, section 9.2.4,see Deprecated Terminology note:<br><br>    "Using the master-max meta-attribute instead of promoted-max"<br><br><br>I fixed the issue by replacing occurrences of master-max by promoted-max:<br><br>bruno24pt@nodea:~$ diff /usr/lib/ocf/resource.d/heartbeat/pgsqlms.orig /usr/lib/ocf/resource.d/heartbeat/pgsqlms.fixed<br>1314c1314<br><     # check master-max=1<br>---<br>>     # check promoted-max=1<br>1316,1317c1316,1317<br><         defined $ENV{'OCF_RESKEY_CRM_meta_master_max'}<br><             and $ENV{'OCF_RESKEY_CRM_meta_master_max'} eq '1'<br>---<br>>         defined $ENV{'OCF_RESKEY_CRM_meta_promoted_max'}<br>>             and $ENV{'OCF_RESKEY_CRM_meta_promoted_max'} eq '1'<br>1320c1320<br><             'You must set meta parameter master-max=1 for your master resource'<br>---<br>>             'You must set meta parameter promoted-max=1 for your master resource'<br>bruno24pt@nodea:~$<br><br><br>Thanks,<br><br>Regards.<br><br><br>Additional packages informations:<br><br>bruno24pt@nodea:~$ cat /etc/debian_version<br>13.1<br><br>bruno24pt@nodea:~$ uname -a<br>Linux nodea 6.12.43+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux<br><br>bruno24pt@nodea:~$ dpkg -l|grep pacemaker<br>ii 
 crmsh                             5.0.0~rc1-1                          
all          CRM shell for the pacemaker cluster manager<br>ii  libpacemaker30:amd64              3.0.0-2                              amd64        cluster resource manager utility library<br>ii  pacemaker                         3.0.0-2                              amd64        cluster resource manager<br>ii 
 pacemaker-cli-utils               3.0.0-2                              
amd64        cluster resource manager command line utilities<br>ii  pacemaker-common                  3.0.0-2                              all          cluster resource manager common files<br>ii 
 pacemaker-resource-agents         3.0.0-2                              
all          cluster resource manager general resource agents</span></div><br></div>