redhat-openstack/astapor — pull request #195 by cwolferh (2014-04-28 01:18:15+00:00)
Title: Ipmilan short term carry

(this can be merged after https://github.com/redhat-openstack/astapor/pull/194)

Testing on vm's, verified the expected ipmilan command is executed when using quickstack::pacemaker::common params fence_ipmilan_address = '111.111.111.111', fence_ipmilan_hostlist = '' (a blank hostlist means use the value from /crm_node -n). Also includes the new lanplus="" argument:

Debug: Exec[Creating stonith::ipmilan 111.111.111.111](provider=posix): Executing '/usr/sbin/pcs stonith create stonith-ipmilan-111.111.111.111 fence_ipmilan pcmk_host_list="$(/usr/sbin/crm_node -n)" ipaddr=111.111.111.111 lanplus="" op monitor interval=60s'
Debug: Executing '/usr/sbin/pcs stonith create stonith-ipmilan-111.111.111.111 fence_ipmilan pcmk_host_list="$(/usr/sbin/crm_node -n)" ipaddr=111.111.111.111 lanplus="" op monitor interval=60s'

# pcs stonith show stonith-ipmilan-111.111.111.111
Resource: stonith-ipmilan-111.111.111.111 (class=stonith type=fence_ipmilan)
Attributes: pcmk_host_list=192.168.200.10 ipaddr=111.111.111.111 lanplus=
Operations: monitor interval=60s (stonith-ipmilan-111.111.111.111-monitor-interval-60s)

Verified the above takes place before the mysql shared mount (the pcs resource, fs-varlibmysql) is created.

Verifed cluster also comes up cleanly when using fencing_type = disabled or fencing_type = fence_xvm.

Also note, I could not create override one manifest (ipmilan.pp) from puppet-pacemaker without having to copy the whole module into quickstack. So for now, just using a local version quickstack::pacemaker::stonith::ipmilan until these changes make into puppet-pacemaker.