On Friday 22 February 2008, Dejan Muhamedagic wrote: > Hi, > > On Fri, Feb 22, 2008 at 05:10:50AM -0600, Michael Brennen wrote: > > Hello all, > > > > heartbeat 2.1.3, compiled from source, crm mode > > > > I am testing a four node lvs/real server cluster. > > > > lvc3 / lvc4: lvs > > lvc1 / lvc2: real servers > > > > The real servers must mount an iscsi volume, so I've included an iscsi > > ocf configuration in the two node clone that runs on the real servers. > > When I first build the cluster from a totally clean base it comes up > > okay. When I fail over the lvs primary for the first time, the iscsi > > device tries to attach to lvc4, which it is forbidden to do by the > > location rules, and it errors out. After that it will not start or clean > > up at all. I noted the following error in the logs, and I've snipped > > some of the log errors around it (below). > > > > Feb 22 04:06:38 lvc3 crmd: [24322]: WARN: log_data_element: > > do_lrm_invoke: Bad command <primitive id="rip_iscsi:0"/> > > > > The cib.xml file is attached, run with -Ql. I assume this is a bug, or > > perhaps a configuration error, but I'm not sure where to look. I will > > supply more information as needed. Thanks, > > Try to clean the configuration a bit with ciblint. It reports > numerous errors. Otherwise, it looks like the cluster got > seriously confused by this CIB. Please generate a report using > hb_report and create a bugzilla if the error persists.
Thanks for the tip; this is a large beast to master. :) ciblint is complaining about the "ne" in the following: <rsc_location id="location_iscsi106" rsc="iscsi_fs"> <rule id="prefered_location_iscsi106" score="-INFINITY" boolean_op="and"> <expression attribute="#uname" id="location_iscsi_01" operation="ne" value="lvc1.fishnet.us"/> <expression attribute="#uname" id="location_iscsi_02" operation="ne" value="lvc2.fishnet.us"/> </rule> </rsc_location> ERROR: <expression operation="ne"...>: [ne] is not a legal value for attribute operation Is that correct? The above is derived from this page: http://www.linux-ha.org/DRBD/HowTov2 <rsc_location id="drbd0-placement-1" rsc="ms-drbd0"> <rule id="drbd0-rule-1" score="-INFINITY"> <expression id="exp-01" value="xen-1" attribute="#uname" operation="ne"/> <expression id="exp-02" value="xen-2" attribute="#uname" operation="ne"/> </rule> </rsc_location> Thank you again, -- -- Michael
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
