[Linux-ha-dev] Current CVS Head is broken

2006-06-08 Thread Huang Zhen
Please confirm that the code can be built when you commit it. Compiling status.c: [ERROR] gcc -DHAVE_CONFIG_H -I. -I../../../../linux-ha/lib/crm/pengine -I../../../linux-ha -I../../../include -I../../../include -I../../../../linux-ha/include -I.

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Huang Zhen
Lars Marowsky-Bree wrote: The GUI just know the pieces of XML which CRM can accepted as parameters. The GUI never know the CIB. The CRM/CIB does. The GUI interprets the CIB for displaying the cluster status, and modifies it for influencing it. That some of these operations use the pengine li

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: lib by andrew from

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T10:52:08, linux-ha-cvs@lists.linux-ha.org wrote: > Modified Files: > xml.c > > > Log Message: > Fix a memory leak in do_id_check > - normally i hate goto's but they seemed the best way :( Actually, gotos are quite a good way of handling error-out clauses like this with a c

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Andrew Beekhof
On Jun 8, 2006, at 4:13 PM, Lars Marowsky-Bree wrote:On 2006-06-08T14:14:35, Andrew Beekhof <[EMAIL PROTECTED]> wrote: Andrew, I think this was also made too easy to slip in by DTDvalidation not always having been available, much less being thedefault. So really the CRM should have seg-faulted when

Re: Bug#369815: [Linux-ha-dev] Re: Bug#369815: ships binary in /etc

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T08:47:41, Alan Robertson <[EMAIL PROTECTED]> wrote: > >There may be files in there which aren't owned by our package though, or > >modified. > Huh? > > I just meant make individual symlinks for a individual binaries. NOT a > symlink for the entire directory. Ahhh. Ok. I thought y

Re: Bug#369815: [Linux-ha-dev] Re: Bug#369815: ships binary in /etc

2006-06-08 Thread Alan Robertson
Lars Marowsky-Bree wrote: On 2006-06-08T08:21:38, Alan Robertson <[EMAIL PROTECTED]> wrote: Please fix it everywhere, if you don't mind. Thanks Horms!! Of course, special attention needs to be paid to upgrading to (and possibly, back off from) a version with that change. I'm pretty s

Re: Bug#369815: [Linux-ha-dev] Re: Bug#369815: ships binary in /etc

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T08:21:38, Alan Robertson <[EMAIL PROTECTED]> wrote: > >>Please fix it everywhere, if you don't mind. > >> > >>Thanks Horms!! > >Of course, special attention needs to be paid to upgrading to (and > >possibly, back off from) a version with that change. > > I'm pretty sure that RPM

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-06-08 Thread Andrew Beekhof
On Jun 8, 2006, at 4:25 PM, Lars Marowsky-Bree wrote:On 2006-06-08T15:58:44, Andrew Beekhof <[EMAIL PROTECTED]> wrote: That may be a silly observation, but if you're only shifting codearound, why does this affect the testcases? not silly at all dear chap...it changes the oder actions are created in

Re: Bug#369815: [Linux-ha-dev] Re: Bug#369815: ships binary in /etc

2006-06-08 Thread Alan Robertson
Lars Marowsky-Bree wrote: On 2006-06-08T07:15:01, Alan Robertson <[EMAIL PROTECTED]> wrote: Unfortunately heartbeat (for fairly broken reasons IMHO) really needs those files there. Could we symlink 'em somewhere? Yes, I think that is a good solution (short of rearanging the resource paths com

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T15:58:44, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > >That may be a silly observation, but if you're only shifting code > >around, why does this affect the testcases? > > not silly at all dear chap... > > it changes the oder actions are created in, thus the IDs they get and > th

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T04:44:09, Huang Zhen <[EMAIL PROTECTED]> wrote: > Ok, let me clarify it. The GUI is *not* a CIB editor. Is. It edits subsets of the CIB. > Yes, it generates some pieces of XML. But these pieces of XML are > parameters which are used to be sent to CRM. In another word, because > ca

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T14:14:35, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > >Andrew, I think this was also made too easy to slip in by DTD > >validation not always having been available, much less being the > >default. > So really the CRM should have seg-faulted whenever an empty group > came along and th

Re: [Linux-ha-dev] heartbeat WARNING message (Rexmit)

2006-06-08 Thread Alan Robertson
Bron Gondwana wrote: (another delayed message from my outbound queue) On Fri, Jun 02, 2006 at 05:06:49PM +0800, Emerson Oatis wrote: hi list, we are able to install hearbeat on our two proxy server (heartbeat version 2.0.5) from tarball and running for almost a week now. today one of the serv

Re: [Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-06-08 Thread Andrew Beekhof
On Jun 8, 2006, at 3:58 PM, Lars Marowsky-Bree wrote:On 2006-06-08T07:39:15, linux-ha-cvs@lists.linux-ha.org wrote: linux-ha CVS committalAuthor  : andrewHost    : Project : linux-haModule  : crmDir     : linux-ha/crm/pengine/testcasesModified Files: 797.dot 797.exp bad3.dot bad3.exp bad4.dot bad4.

Re: Bug#369815: [Linux-ha-dev] Re: Bug#369815: ships binary in /etc

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T07:15:01, Alan Robertson <[EMAIL PROTECTED]> wrote: > >>>Unfortunately heartbeat (for fairly broken reasons IMHO) really > >>>needs those files there. > >>Could we symlink 'em somewhere? > >Yes, I think that is a good solution (short of rearanging the > >resource paths completely). I

[Linux-ha-dev] Re: [Linux-ha-cvs] Linux-HA CVS: crm by andrew from

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T07:39:15, linux-ha-cvs@lists.linux-ha.org wrote: > linux-ha CVS committal > > Author : andrew > Host: > Project : linux-ha > Module : crm > > Dir : linux-ha/crm/pengine/testcases > > > Modified Files: > 797.dot 797.exp bad3.dot bad3.exp bad4.dot bad4.exp bad6.dot

Re: [Linux-ha-dev] heartbeat WARNING message (Rexmit)

2006-06-08 Thread Alan Robertson
My apologies for replying to this in this form (breaking threading, etc.), but I didn't get this email. Another recent message made me aware of it. Emerson Oatis emerson.oatis at gmail.com wrote: Fri Jun 2 03:06:49 MDT 2006 hi list, we are able to install hearbeat on our two proxy server

Re: Bug#369815: [Linux-ha-dev] Re: Bug#369815: ships binary in /etc

2006-06-08 Thread Alan Robertson
Horms wrote: On Tue, Jun 06, 2006 at 11:01:25PM -0600, Alan Robertson wrote: Horms wrote: On Thu, Jun 01, 2006 at 03:24:48PM +0200, Marc 'HE' Brockschmidt wrote: Package: heartbeat Severity: serious Heya, Let's see what the FHS says: "No binaries should be located under /etc." [3.4] Now, wh

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Andrew Beekhof
On Jun 8, 2006, at 1:18 PM, Lars Marowsky-Bree wrote:On 2006-06-08T09:12:37, Huang Zhen <[EMAIL PROTECTED]> wrote: The problem is that we have a GUI that was not written based on the requirements of the system it was supposed to configure.  If it was, for example, there would never have been an opt

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Andrew Beekhof
On Jun 8, 2006, at 1:44 PM, Huang Zhen wrote:--- Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote: 3. Configure the cluster. GUI is not a xml editor or generator.Because the CRM provides very powerful features that user canconfigure the resource at run-time.  This is, alas, quite wrong. The GUI _is_ a

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Huang Zhen
> > That clones are a pain to configure, and that the GUI simply doesn't > allow several things which could be configured to be editted is probably > simply a deficiency which will get fixed. > The attributes of primivate/group/clone/master can be edited in GUI for several days. I have tested t

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Huang Zhen
--- Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote: > > > 3. Configure the cluster. GUI is not a xml editor or generator. > > Because the CRM provides very powerful features that user can > > configure the resource at run-time. > > This is, alas, quite wrong. The GUI _is_ an XML editor, alas ju

Re: [Linux-ha-dev] GUI vs DTD

2006-06-08 Thread Lars Marowsky-Bree
On 2006-06-08T09:12:37, Huang Zhen <[EMAIL PROTECTED]> wrote: > >The problem is that we have a GUI that was not written based on the > >requirements of the system it was supposed to configure. If it was, for > >example, there would never have been an option to create an empty group > >for Alan

Re: [Linux-ha-dev] heartbeat WARNING message (Rexmit)

2006-06-08 Thread Bron Gondwana
(another delayed message from my outbound queue) On Fri, Jun 02, 2006 at 05:06:49PM +0800, Emerson Oatis wrote: > hi list, > > we are able to install hearbeat on our two proxy server (heartbeat version > 2.0.5) from tarball and running for almost a week now. > > today one of the server (squid 2)