[DRBD-user] Pacemaker linbit:drbd resource agent error: Failed actions:..not configured

Jorge Tudela Jorge.Tudela at EMEA.NEC.COM
Thu Jun 25 14:42:19 CEST 2015

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hello all,

Im configuring a PostgreSQL clsuter, of two nodes, all running Ubuntu 14.04 LTS.

Here it is the packages list of the different cluster packages Im using:

ii  corosync                            2.3.3-1ubuntu1                amd64        Standards-based cluster framework (daemon and modules)
ii  crmsh                               1.2.5+hg1034-1ubuntu4         all          CRM shell for the pacemaker cluster manager
ii  drbd8-utils                         2:8.4.4-1ubuntu1              amd64        RAID 1 over TCP/IP for Linux (user utilities)
ii  libcorosync-common4                 2.3.3-1ubuntu1                amd64        Standards-based cluster framework, common library
ii  pacemaker                           1.1.10+git20130802-1ubuntu2.3 amd64        HA cluster resource manager
ii  pacemaker-cli-utils                 1.1.10+git20130802-1ubuntu2.3 amd64        Command line interface utilities for Pacemaker


When configuring the drbd_resource:

sudo crm configure primitive p_drbd_postgre ocf:linbit:drbd params drbd_resource="postgresql" op monitor interval="15s"

I get the following error:

Failed actions:
    p_drbd_postgre_monitor_0 (node=trebles, call=170, rc=5, status=complete, last-rc-change=Thu Jun 25 07:51:32 2015
, queued=3ms, exec=0ms
): not installed
    p_drbd_postgre_monitor_0 (node=trebles-postgresql, call=204, rc=6, status=complete, last-rc-change=Thu Jun 25 07:51:32 2015
, queued=120ms, exec=0ms
): not configured

If I use the heartbeat agent: ocf:heartbeat:drbd instead, I get no errors. But that's not what I need, as this legacy agent is not managing DRBD well,
Im getting DRBD split-brains every now and then...

I have found a previous message where an user got the same error, but I have had no luck:
http://lists.linbit.com/pipermail/drbd-user/2014-March/020703.html

Here it is my DRBD postgresql.res conf file:

cat /etc/drbd.d/postgresql.res
resource postgresql {
                    protocol C;

                    startup {
                            wfc-timeout 15;
                            degr-wfc-timeout 60;
                    }
                    on trebles {
                            device /dev/drbd0;
                            disk /dev/system-vg/postgre;
                            address 10.0.1.106:7788;
                            meta-disk internal;
                    }
                    on trebles-postgresql {
                            device /dev/drbd0;
                            disk /dev/system-vg/postgre;
                            address 10.0.1.110:7788;
                            meta-disk internal;
                    }
            }

Error on corosync log:

Jun 25 14:26:18 [1053] trebles-postgresql        cib:     info: cib_process_request:    Completed cib_query operation for section 'all': OK (rc=0, origin=local/cibadmin/2, version=0.362.1)
Jun 25 14:26:18 [1053] trebles-postgresql        cib:     info: retrieveCib:    Reading cluster configuration from: /var/lib/pacemaker/cib/cib.8GFYG9 (digest: /var/lib/pacemaker/cib/cib.UQe8uq)
Jun 25 14:26:18 [1053] trebles-postgresql        cib:     info: crm_client_destroy:     Destroying 0 events
drbd(p_drbd_postgre)[1794]:     2015/06/25_14:26:18 ERROR: meta parameter misconfigured, expected clone-max -le 2, but found unset.
Jun 25 14:26:18 [1053] trebles-postgresql        cib:     info: cib_process_request:    Completed cib_modify operation for section status: OK (rc=0, origin=trebles/crmd/19, version=0.362.2)
Jun 25 14:26:18 [1058] trebles-postgresql       crmd:     info: services_os_action_execute:     Managed drbd_meta-data_0 process 1818 exite

I think I have configured DRBD ok.

I don't have a clue of what can be happening, so any help is more than welcome.

Thanks

Jorge.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20150625/476a0665/attachment.htm>


More information about the drbd-user mailing list