<div dir="ltr">Hi,<div><br></div><div>I am creating a redis bundle resource (master - slave mode). It is creating successfully, but I am noticing that &quot;notify&quot; action is not called by pacemaker_remoted.</div><div><br></div><div>Below are the steps I used to create the redis bundle resource [1].  The sosreport can be found here - [2]<br></div><div><br></div><div>I am seeing the same behaviour when I create the &quot;ovndb-servers&quot; [3] bundle resource (master/slave) as well. </div><div>In the case of ovndb-servers OCF resource, we rely on notify action to change the mode of the OVN Db server to active or backup.</div><div> </div><div>Can some one please help me on why notify action is not called ? Is there something wrong in my setup ? Or bundle resources lack the support to call notify actions ?</div><div><br></div><div><br></div><div>[1] -</div><div><br></div><div><div># pcs cluster cib tmp-cib.xml</div><div># cp tmp-cib.xml tmp-cib.xml.deltasrc</div><div># pcs -f tmp-cib.xml resource bundle create tredis-bundle \</div><div>    container docker image=<a href="http://192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest">192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest</a> masters=1 network=host \</div><div>    options=&quot;--user=root --log-driver=journald -e KOLLA_CONFIG_STRATEGY=COPY_ALWAYS&quot; replicas=3 run-command=&quot;/bin/bash /usr/local/bin/kolla_start&quot; \</div><div>    network control-port=3124 \</div><div>    storage-map id=t1 source-dir=/var/lib/kolla/config_files/redis.json target-dir=/var/lib/kolla/config_files/config.json options=ro\</div><div>    storage-map id=t2 source-dir=/var/lib/config-data/puppet-generated/redis/ target-dir=/var/lib/kolla/config_files/src options=ro\</div><div>    storage-map id=t3 source-dir=/etc/hosts target-dir=/etc/hosts options=ro\</div><div>    storage-map id=t4 source-dir=/etc/localtime target-dir=/etc/localtime options=ro\</div><div>    storage-map id=t5 source-dir=/var/lib/redis target-dir=/var/lib/redis options=rw\</div><div>    storage-map id=t6 source-dir=/var/log/redis target-dir=/var/log/redis options=rw\</div><div>    storage-map id=t7 source-dir=/var/run/redis target-dir=/var/run/redis options=rw \</div><div>    storage-map id=t8 source-dir=/usr/lib/ocf/ target-dir=/usr/lib/ocf/ options=rw \</div><div>    storage-map id=t9 source-dir=/etc/pki/ca-trust/extracted target-dir=/etc/pki/ca-trust/extracted options=ro \</div><div>    storage-map id=t10 source-dir=/etc/pki/tls/certs/ca-bundle.crt target-dir=/etc/pki/tls/certs/ca-bundle.crt options=ro \</div><div>    storage-map id=t11 source-dir=/etc/pki/tls/certs/ca-bundle.trust.crt target-dir=/etc/pki/tls/certs/ca-bundle.trust.crt options=ro \</div><div>    storage-map id=t12 source-dir=/etc/pki/tls/cert.pem target-dir=/etc/pki/tls/cert.pem options=ro</div><div>    storage-map id=t13 source-dir=/dev/log target-dir=/dev/log options=rw</div><div>    storage-map id=t14 source-dir=/etc/corosync target-dir=/etc/corosync options=rw\</div><div><br></div><div># pcs -f tmp-cib.xml resource create tredis ocf:heartbeat:redis wait_last_known_master=true meta interleave=true notify=true ordered=true \</div><div>   bundle tredis-bundle</div><div><br></div><div># pcs cluster cib-push tmp-cib.xml diff-against=tmp-cib.xml.deltasrc</div></div><div><br></div><div><div># pcs status</div><div>Cluster name: tripleo_cluster</div><div>Stack: corosync</div><div>Current DC: overcloud-controller-2 (version 1.1.16-10.el7-94ff4df) - partition with quorum</div><div>Last updated: Fri Jul 28 14:46:10 2017</div><div>Last change: Fri Jul 28 13:22:53 2017 by root via cibadmin on overcloud-controller-0</div><div><br></div><div>9 nodes configured</div><div>15 resources configured</div><div><br></div><div>Online: [ overcloud-controller-0 overcloud-controller-1 overcloud-controller-2 ]</div><div>RemoteOFFLINE: [ rabbitmq-bundle-0 rabbitmq-bundle-1 rabbitmq-bundle-2 ]</div><div>GuestOnline: [ tredis-bundle-0@overcloud-controller-0 tredis-bundle-1@overcloud-controller-1 tredis-bundle-2@overcloud-controller-2 ]</div><div><br></div><div>Full list of resources:</div><div><br></div><div> ip-192.168.24.8<span style="white-space:pre">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre">        </span>Started overcloud-controller-0</div><div> ip-10.0.0.6<span style="white-space:pre">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre">        </span>Started overcloud-controller-1</div><div> ip-172.16.2.8<span style="white-space:pre">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre">        </span>Started overcloud-controller-2</div><div> ip-172.16.2.13<span style="white-space:pre">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre">        </span>Started overcloud-controller-0</div><div> ip-172.16.1.11<span style="white-space:pre">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre">        </span>Started overcloud-controller-1</div><div> ip-172.16.3.8<span style="white-space:pre">        </span>(ocf::heartbeat:IPaddr2):<span style="white-space:pre">        </span>Started overcloud-controller-2</div><div> Docker container set: tredis-bundle [<a href="http://192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest">192.168.24.1:8787/tripleoupstream/centos-binary-redis:latest</a>]</div><div>   tredis-bundle-0<span style="white-space:pre">        </span>(ocf::heartbeat:redis):<span style="white-space:pre">        </span>Master overcloud-controller-0</div><div>   tredis-bundle-1<span style="white-space:pre">        </span>(ocf::heartbeat:redis):<span style="white-space:pre">        </span>Slave overcloud-controller-1</div><div>   tredis-bundle-2<span style="white-space:pre">        </span>(ocf::heartbeat:redis):<span style="white-space:pre">        </span>Slave overcloud-controller-2</div><div><br></div></div><div><br></div><div>contents of /var/lib/kolla/config_files/redis.json</div><div>------------------------------------------------------------</div><div>{&quot;config_files&quot;: [{&quot;dest&quot;: &quot;/etc/libqb/force-filesystem-sockets&quot;, &quot;owner&quot;: &quot;root&quot;, &quot;perm&quot;: &quot;0644&quot;, &quot;source&quot;: &quot;/dev/null&quot;}, {&quot;dest&quot;: &quot;/&quot;, &quot;merge&quot;: true, &quot;optional&quot;: true, &quot;source&quot;: &quot;/var/lib/kolla/config_files/src/*&quot;, &quot;preserve_properties&quot;: true}], &quot;command&quot;: &quot;/usr/sbin/pacemaker_remoted&quot;, &quot;permissions&quot;: [{&quot;owner&quot;: &quot;redis:redis&quot;, &quot;path&quot;: &quot;/var/run/redis&quot;, &quot;recurse&quot;: true}, {&quot;owner&quot;: &quot;redis:redis&quot;, &quot;path&quot;: &quot;/var/lib/redis&quot;, &quot;recurse&quot;: true}, {&quot;owner&quot;: &quot;redis:redis&quot;, &quot;path&quot;: &quot;/var/log/redis&quot;, &quot;recurse&quot;: true}]}<br></div><div><br></div><div>Please note the docker image for redis can be pulled as</div><div>&quot;docker pull tripleoupstream/centos-binary-redis&quot;</div><div><br></div><div><br></div><div>[2] - <a href="https://github.com/numansiddique/pcs_logs">https://github.com/numansiddique/pcs_logs</a></div><div><br></div><div>[3] - <a href="https://github.com/openvswitch/ovs/blob/master/ovn/utilities/ovndb-servers.ocf">https://github.com/openvswitch/ovs/blob/master/ovn/utilities/ovndb-servers.ocf</a></div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div>Numan</div><div><br></div></div>