I've never done a bugzilla report, maybe you can point me in the right direction.
In the mean time I'll continue to test with my modified version of crm_master that doesn't spin. I've managed to get the master side of the process configuration up, but am having trouble getting the slave side up. I did notice that when I select Stop from the GUI to completely stop the master, it demotes it first then stop it? The demote is what I use to reconfigure a master going down to become the slave after the new master comes up. Is there a way in demote to determine its been triggered by a Stop request vs a Demote? Doug On Tue, 2007-04-03 at 12:28 +0200, Andrew Beekhof wrote: > Hi Doug, > > I just tried to reproduce this (loaded your cib and ran crm_master the > same way you did) but it worked fine. > > Can you open a bug in bugzilla and include the result of "cibadmin -Q" please? > > On 4/2/07, Doug Knight <[EMAIL PROTECTED]> wrote: > > > > Andrew, Alan, Lars, et al, > > Any updates on the spinning crm_master? I and an associate of mine here are > > looking into compiler flags and settings to see if we can find anything > > there. If there is more info you need, just let me know. > > > > Doug > > > > > > > > On Fri, 2007-03-30 at 11:15 -0400, Doug Knight wrote: > > > > I've done some more looking at the cib_attrs.c module find_attr_details > > function, and it seems that the call to find_xml_children filtering by node > > eventually finds a match (match_found = 1 in xml.c/find_xml_children) > > terminating the recursive search. Later in the module, the call to > > find_xml_children filtering by name gets a match but continues to search. I > > never see the "search by set:" in the debug log, nor the printf I've placed > > in my version right after the call to find_xml_children. In fact, it seems > > that somehow find_xml_children loops within itself, though I must really be > > missing something there. > > > > Doug > > > > On Fri, 2007-03-30 at 08:20 -0400, Doug Knight wrote: > > > > Andrew, FYI, the one I ran has some debug statements in it that I put in > > there. Let me know if you want cleaner output... > > > > Doug > > On Fri, 2007-03-30 at 07:44 -0400, Doug Knight wrote: > > > > Hi Andrew, > > I'll get to this today. I've been digging through some of the source, > > putting in some additional logging, etc, just to see where the problem > > occurs. > > > > Thanks, > > Doug > > > > On Fri, 2007-03-30 at 10:32 +0200, Andrew Beekhof wrote: > > On 3/29/07, Doug Knight <[EMAIL PROTECTED]> wrote: > > > > > > Results: Using the dev version or crm_master I still spin at the top of > > the > > > CPU stack. What's next? > > > > probably time to log a bug... > > > > can you include the logs of the crm_master command when you add > > -VVVVVVVV > > (an insance amount of logging) to your normal command line > > > > and your current CIB please > > > > > > > > Doug > > > > > > > > > On Thu, 2007-03-29 at 10:06 -0400, Doug Knight wrote: > > > > > > OK, ConfigureMe make is complete. As when I built the baseline 2.0.8, I > > had > > > two compile errors, and had to make some minor source code mods (see > > > attached error message and file diffs). Not sure if this is related or > > not. > > > I've done a make install in the crm/admin directory to replace the > > > crm_master used by the system. I'll test that out in a bit. > > > > > > Doug > > > > > > On Thu, 2007-03-29 at 15:38 +0200, Andrew Beekhof wrote: > > > On 3/29/07, Doug Knight <[EMAIL PROTECTED]> wrote: > > > > > > > > I went ahead and installed via RPM automake, autoconf, and libtool, even > > > > though they were not needed for the 2.0.8 baseline build (I believe > > > libtool > > > > at least may have been installed previously). ConfigureMe bootstrap ran > > > > fine. From the output I gather it includes the equivalent of the > > > ConfigureMe > > > > configure run, and now I just need to do the make? > > > > > > right > > > > > > > > > > > Doug > > > > > > > > On Thu, 2007-03-29 at 09:23 -0400, Doug Knight wrote: > > > > > > > > OK, Tried that, no luck. It still complains about libtool, autoconf, and > > > > automake. When I copy over the same basic files from the 2.0.8 > > directory, > > > > bootstrap still does not work, but ConfigureMe configure does (at least > > to > > > > the point where it starts looking for the Makefile.in files). > > > > > > > > Doug > > > > > > > > On Thu, 2007-03-29 at 09:50 +0200, Andrew Beekhof wrote: > > > > pretty sure you need: > > > > ./ConfigureMe bootstrap > > > > > > > > On 3/28/07, Doug Knight <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Alan and Lars, > > > > > After much effort, I have had no success in building from the > > mercurial > > > > > version. Here's what I tried, and since this is the first time I've > > > tried > > > > to > > > > > build a dev version, maybe you can see where I'm going wrong: > > > > > > > > > > Downloaded tar from hg.linux-ha.org/dev > > > > > Unpacked it in a subdirectory to my root account, HA > > > > > Attempted a quick ConfigureMe configure, got errors that it couldn't > > > find > > > > > libtool, automake, autoconf > > > > > Did a side-by-side comparison to the HA 2.0.8 I built successfully and > > > am > > > > > running with, found no libltdl.tar or libltdl directory under the dev > > > > > version. Copied these from my original stable release tar into the > > > > directory > > > > > structure for the dev version. > > > > > Ran ConfigureMe configure, which then complained about all the > > > Makefile.in > > > > > files missing. Copied those over as well from the side-by-side. Also > > > > pulled > > > > > include/ha_config.h.in and linux-ha/config.h.in since it complained > > > about > > > > > those missing too. > > > > > ConfigureMe configure runs to completion > > > > > ConfigureMe make exits with the following: > > > > > > > > > > In file included from base64.c:18: > > > > > ../../include/heartbeat.h:38:23: error: hb_config.h: > > No > > > > > such file or directory > > > > > ../../include/heartbeat.h:98:1: error: "HB_RC_DIR" redefined > > > > > In file included from > > ../../include/lha_internal.h:37, > > > > > from base64.c:17: > > > > > ../../linux-ha/config.h:504:1: error: this is the location of the > > > previous > > > > > definition > > > > > In file included from base64.c:18: > > > > > ../../include/heartbeat.h:102:1: error: "HALIB" > > > redefined > > > > > <command line>:1:1: error: this is the location of the previous > > > definition > > > > > gmake[2]: *** [base64.lo] Error 1 > > > > > gmake[2]: Leaving directory > > > > > `/root/HA/Heartbeat-Dev-829e377e00bd/lib/clplumbing' > > > > > gmake[1]: *** [all-recursive] Error 1 > > > > > gmake[1]: Leaving directory > > > > > `/root/HA/Heartbeat-Dev-829e377e00bd/lib' > > > > > gmake: *** [all-recursive] Error 1 > > > > > > > > > > > > > > > Any ideas? > > > > > > > > > > Doug > > > > > > > > > > > > > > > > > > > > On Sun, 2007-03-25 at 16:06 -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. > > > > > > > > > > Lars asked a good question as well... > > > > > > > > > > Could you kindly reproduce this with the current Mercurial tip > > version? > > > > > > > > > > Thanks1 > > > > > > > > > > > > > > > > > > > > > > _______________________________________________________ > > > > > Linux-HA-Dev: [email protected] > > > > > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > > > > Home Page: http://linux-ha.org/ > > > > > > > > > > > > > > _______________________________________________________ > > > > Linux-HA-Dev: [email protected] > > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > > > Home Page: http://linux-ha.org/ > > > > > > > > > > > > _______________________________________________________ > > > > Linux-HA-Dev: [email protected] > > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > > > Home Page: http://linux-ha.org/ > > > > > > > > > > > > _______________________________________________________ > > > > Linux-HA-Dev: [email protected] > > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > > > Home Page: http://linux-ha.org/ > > > > > > > > > > > _______________________________________________________ > > > Linux-HA-Dev: [email protected] > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > > Home Page: http://linux-ha.org/ > > > > > > > > > _______________________________________________________ > > > Linux-HA-Dev: [email protected] > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > > Home Page: http://linux-ha.org/ > > > > > > > > > _______________________________________________________ > > > Linux-HA-Dev: [email protected] > > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > > Home Page: http://linux-ha.org/ > > > > > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > > > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ >
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
