[Pacemaker] "ERROR: Wrong stack o2cb" when trying to start o2cb service in Pacemaker cluster
Bruno MACADRE
bruno.macadre at univ-rouen.fr
Thu Jul 26 12:39:30 UTC 2012
Hi,
I don't known if you solved your problem but I just have the same
behavior on my fresh installed pacemaker.
With the 2 lines :
p_o2cb:1_monitor_0 (node=nas1, call=10, rc=5,status=complete): not installed
p_o2cb:0_monitor_0 (node=nas2, call=10, rc=5, status=complete): not
installed
After some tries, I've found a bug in the resource agent ocf:pacemaker:o2cb
When this agent start, his first action is to do a 'o2cb_monitor' to
check if o2cb is already started. If not (ie $? == $OCF_NOT_RUNNING) it
load all needed adn finally start.
The bug is that 'o2cb_monitor' return $OCF_NOT_RUNNING if something is
missing, except for the module 'ocfs2_user_stack' which he returns
$OCF_ERR_INSTALLED. So if the module 'ocfs2_user_stack' is not loaded
before starting ocf:pacemaker:o2cb resource agent it fails to start with
'not installed' error.
The workaround I've just find is to place 'ocfs2_user_stack' in my
/etc/modules on all nodes and all works fine.
I hope I helped someone and this bug was corrected in future release of
o2cb RA.
For information :
. OS : Ubuntu Server 12.04 x64
. Pacemaker : 1.1.6
. Stack : cman 3.1.7
Regards,
Bruno
--
Bruno MACADRE
-------------------------------------------------------------------
Ingénieur Systèmes et Réseau | Systems and Network Engineer
Département Informatique | Department of computer science
Responsable Réseau et Téléphonie | Telecom and Network Manager
Université de Rouen | University of Rouen
-------------------------------------------------------------------
Coordonnées / Contact :
Université de Rouen
Faculté des Sciences et Techniques - Madrillet
Avenue de l'Université - BP12
76801 St Etienne du Rouvray CEDEX
FRANCE
Tél : +33 (0)2-32-95-51-86
Fax : +33 (0)2-32-95-51-87
-------------------------------------------------------------------
More information about the Pacemaker
mailing list