[Linux-ha-dev] Ordering of OCF Start, Stop and Monitor actions
Doug Knight
dknight at wsi.com
Wed Mar 28 06:12:51 MDT 2007
Hi Alan and Lars,
I've been out for a few days. I'll get this all together once I get out
from under my email stack, and get back to you.
Thanks,
Doug
On Sun, 2007-03-25 at 16:45 -0600, Alan Robertson wrote:
> Doug Knight wrote:
> > Got it. The attached file contains the strace from the second attempt by
> > heartbeat to start the resource up as master, right up until it was
> > killed. The resource already showed failed on the gui. I zipped it up
> > using gzip.
>
> By the way, from the system call perspective, what it's doing is
> mallocing again and again and again...
>
> I presume it's in this function (from the top level)
> rc = update_attr(the_cib, cib_opts, type, dest_node, set_name,
> attr_id, attr_name, attr_value);
>
>
> And I further presume (with somewhat more risk) that it's in this
> function from the next level down:
>
> rc = the_cib->cmds->modify(the_cib, section, xml_top, NULL,
> call_options|cib_quorum_override);
>
> cib_client_modify(CIB_OP_MODIFY...)
>
> cib_native_perform_op()
>
> Which sends the request over to the CIB, where it should do this...
>
> cib_process_modify()
>
> update_xml_child(obj_root, input)
>
> However, from cib_process_modify on, all the work takes place in the
> CIB, not in the crm_master command. So, I presume that it doesn't get
> that far. [Other theories are also possible, of course ;-)]
>
> Here is my initial conclusion:
> 1) No one else has reported this problem
> 2) The code in question is common and is used for many things
> 3) Therefore it's more likely that something is amiss with your
> CIB and causing the CIB code to loop looking for the
> subtree to modify. If this theory is correct, there are
> two problems one with your CIB, and one in the code.
>
> So, could you please send the current output from cibadmin -Q to the
> list as an attachment?
>
> Could you also please run crm_verify on your CIB and see if it complains
> about anything. If it does, please fix its complaints, and try again.
>
> And, could you also please tell us how you installed the system. If you
> didn't install a package, then did you make the required user ID and
> group ID?
>
>
> Thanks!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20070328/b06fc992/attachment.htm
More information about the Linux-HA-Dev
mailing list