Re: [Linux-ha-dev] PATCH: race in iSCSILogicalUnit

2012-10-23 Thread Florian Haas
On 10/08/2012 01:58 PM, Philipp Marek wrote: Hi Florian, Dejan told me that you're the maintainer for the iSCSI pieces, so I'm sending you this patch. Sorry about the late reply; lately I've been watching the GitHub pull requests more religiously than the list. Please apply, thank you

[Linux-ha-dev] RA developer's guide 1.0.3

2012-07-26 Thread Florian Haas
Hi everyone, Tal Yalon has pointed out an error in the RA developer's guide about the required and unique attributes in RA metadata (they belong on parameter elements, not content as the guide erroneously stated). I've spun and pushed a minor update. Enjoy release 1.0.3.

[Linux-ha-dev] sbd spinoff from cluster-glue

2012-06-01 Thread Florian Haas
Dejan, Lars, is it confirmed from your end that sbd is moving out of cluster-glue? If so, it would be nice if we could get an cluster-glue release with sbd removed, and a release of standalone sbd, so packagers can fix the relevant distro packages up properly. Cheers, Florian -- Need help with

[Linux-ha-dev] [PATCH 0 of 2] Autotoolize build

2012-05-29 Thread Florian Haas
Lars, I did this as an exercise of sorts to understand how this compiles and what its dependencies are. Considering the code base is quite small it may seem like a pointless stunt to jump through all the autofoo hoops, but it makes life that much easier for distro packagers. Feel free to apply

[Linux-ha-dev] [PATCH 1 of 2] build: autotoolize

2012-05-29 Thread Florian Haas
# HG changeset patch # User Florian Haas flor...@hastexo.com # Date 1338230941 -7200 # Branch autotools # Node ID 9888c2e4353b08599e6977e5e61dd6d34ce6151e # Parent c4de704b6cea21c69b3c767d1c47bed727f94d82 build: autotoolize diff -r c4de704b6cea -r 9888c2e4353b COPYING --- /dev/null Thu Jan 01

Re: [Linux-ha-dev] [PATCH 0 of 2] Autotoolize build

2012-05-29 Thread Florian Haas
On Tue, May 29, 2012 at 2:27 PM, Florian Haas flor...@hastexo.com wrote: Lars, I did this as an exercise of sorts to understand how this compiles and what its dependencies are. Considering the code base is quite small it may seem like a pointless stunt to jump through all the autofoo hoops

Re: [Linux-ha-dev] [PATCH 0 of 2] Autotoolize build

2012-05-29 Thread Florian Haas
On Tue, May 29, 2012 at 4:32 PM, Lars Marowsky-Bree l...@suse.com wrote: On 2012-05-29T14:31:20, Florian Haas flor...@hastexo.com wrote: Forgot to mention this in the original cover message, for those who haven't been following the discussion: this is for sbd which is just spinning off from

Re: [Linux-ha-dev] [PATCH 0 of 2] Autotoolize build

2012-05-29 Thread Florian Haas
On Tue, May 29, 2012 at 6:26 PM, Lars Marowsky-Bree l...@suse.com wrote: On 2012-05-29T17:56:59, Florian Haas flor...@hastexo.com wrote: In case you're wondering why I didn't use PKG_CHECK_MODULES for the PE libraries: their pkg-config file is currently broken; Andrew has a pull request

Re: [Linux-ha-dev] [PATCH 0 of 2] Autotoolize build

2012-05-29 Thread Florian Haas
On Tue, May 29, 2012 at 6:38 PM, Lars Marowsky-Bree l...@suse.com wrote: On 2012-05-29T18:34:15, Florian Haas flor...@hastexo.com wrote: Yeah, it seems you just broke the build by including cluster/stack.h and not bothering to add an AC_CHECK_HEADERS to configure.ac. Where does that come from

Re: [Linux-ha-dev] [Linux-HA] Bug in iSCSILogicalUnit

2012-05-21 Thread Florian Haas
Hi Vadym, moving the discussion to the -dev list, which is the more appropriate forum for this. Please reply to -dev; more comments inline. On Sun, May 20, 2012 at 9:52 PM, Vadym Chepkov vchep...@gmail.com wrote: Hi, The monitor operation of  iSCSILogicalUnit  is not specific enough in the

Re: [Linux-ha-dev] [PATCH v2] resource-agents: add Linux proxy arp resource agent

2012-04-04 Thread Florian Haas
On Wed, Apr 4, 2012 at 1:52 AM, Christian Franke nob...@nowhere.ws wrote: Hello Florian, Your question is fully justified - I sincerely apologize for ignoring that comprehensive documentation. I rewrote the patch trying to adhere to the requirements given in the documentation. Wow, that is

Re: [Linux-ha-dev] [PATCH] resource-agents: add GNU/Linux proxy arp resource agent

2012-04-03 Thread Florian Haas
On Tue, Apr 3, 2012 at 1:07 PM, Christian Franke nob...@nowhere.ws wrote: This patch adds an OCF resource agent which maintains proxy arp entries in a GNU/Linux arp table. This is especially useful when a high-availability routing setup is built and it is required to perform proxy arp.

Re: [Linux-ha-dev] some iSCSITarget meta data issues

2012-02-26 Thread Florian Haas
On 02/27/12 07:38, Rasto Levrinc wrote: I am talking about long shortdescs. E.g. shortdesc lang=enSpecifies the iSCSI target implementation (iet, tgt or lio)./shortdesc is way too long and it abbreviates to something like Specifies the iSCSI... in the GUI. You may not care about this, but

Re: [Linux-ha-dev] [RfC] [Patch] Filesystem

2012-02-21 Thread Florian Haas
On Mon, Feb 20, 2012 at 9:40 PM, Lars Ellenberg lars.ellenb...@linbit.com wrote: What do you say? +1 Florian -- Need help with High Availability? http://www.hastexo.com/now ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org

Re: [Linux-ha-dev] [PATCH] Medium: Use the resource timeout as an override to the default dbus timeout for upstart RA

2012-02-20 Thread Florian Haas
On Mon, Feb 20, 2012 at 11:57 AM, Andrew Beekhof and...@beekhof.net wrote: It does, but the exit status is always '0', which makes 'service' binary unusable for monitoring the status of the service without parsing the command output. 10 head 20 desk 30 add 40 goto 10 I believe you went

Re: [Linux-ha-dev] Additional changes made via DHCPD review process

2011-12-09 Thread Florian Haas
On Fri, Dec 9, 2011 at 6:30 AM, Dejan Muhamedagic de...@suse.de wrote: Hi, On Tue, Dec 06, 2011 at 01:39:04PM -0400, Chris Bowlby wrote: Hi All,   Ok, I'll look into csync, and will concede the point on the RA syncing the out of chrooted configuration file. I still need to find a means to

Re: [Linux-ha-dev] pgsql and streaming replcation

2011-12-05 Thread Florian Haas
On Sun, Dec 4, 2011 at 11:11 PM, Serge Dubrouski serge...@gmail.com wrote: Florian, Dejan how would you like to merge a patch when we are ready? The patch will be rather big one and AFAIK you have some policy on the amount of changes for one patch. If it's a big addition of functionality, then

Re: [Linux-ha-dev] [Linux-HA] Generic Python framework for OCF Resource Agents released

2011-12-03 Thread Florian Haas
Hi Volker, welcome. First off I would like to say that what you present is pretty impressive and could turn out to be something extraordinarily helpful. I agree that being able to easily create robust resource agents in Python would be a huge plus. I also agree with the pain points you mentioned

Re: [Linux-ha-dev] [Linux-HA] new RA: varnish

2011-12-02 Thread Florian Haas
On Wed, Nov 23, 2011 at 10:40 AM, Léon Keijser keij...@stone-it.com wrote: Hi, I've created a new RA to manage Varnish instances. I've forked resource-agents and added it here: https://github.com/lkeijser/resource-agents We haven't seen much review from others here on the list, but Léon has

Re: [Linux-ha-dev] [PATCH 0/2] LVM: Fix activation for clustered VGs

2011-11-30 Thread Florian Haas
On Fri, Nov 25, 2011 at 6:38 PM, Florian Haas flor...@hastexo.com wrote: Lars (both), Dejan, Nils, could you take a quick peek at whether the following (untested) patches look like they're making sense? The more important one is obviously the second one. Nils, could you apply those patches

Re: [Linux-ha-dev] [PATCH 2/2] Medium: LVM: force dmevent monitoring for clones

2011-11-28 Thread Florian Haas
On Sat, Nov 26, 2011 at 11:58 AM, Lars Marowsky-Bree l...@suse.com wrote: On 2011-11-25T18:38:06, Florian Haas flor...@hastexo.com wrote: Starting a clustered volume with monitoring disabled is not allowed: http://www.redhat.com/archives/lvm-devel/2010-March/msg00289.html Which would

[Linux-ha-dev] [PATCH 1/2] Low: LVM: add local convenience variables in LVM_start

2011-11-25 Thread Florian Haas
--- heartbeat/LVM | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/heartbeat/LVM b/heartbeat/LVM index 683d4d5..d8ad3ca 100755 --- a/heartbeat/LVM +++ b/heartbeat/LVM @@ -201,6 +201,8 @@ LVM_monitor() { # Enable LVM volume # LVM_start() { + local

[Linux-ha-dev] [PATCH 0/2] LVM: Fix activation for clustered VGs

2011-11-25 Thread Florian Haas
Lars (both), Dejan, Nils, could you take a quick peek at whether the following (untested) patches look like they're making sense? The more important one is obviously the second one. Nils, could you apply those patches on the system where you ran into the issue? If it's more convenient, you can

[Linux-ha-dev] [PATCH 2/2] Medium: LVM: force dmevent monitoring for clones

2011-11-25 Thread Florian Haas
Starting a clustered volume with monitoring disabled is not allowed: http://www.redhat.com/archives/lvm-devel/2010-March/msg00289.html Which would be fine, as activation/monitoring = 1 ships as the default in lvm.conf. However, at least some versions of LVM seem to ignore this, throwing an error

Re: [Linux-ha-dev] Review request: fixes to IPaddr2

2011-11-22 Thread Florian Haas
On 11/21/11 16:51, Dejan Muhamedagic wrote: Hi Florian, On Fri, Nov 11, 2011 at 10:28:00AM +0100, Florian Haas wrote: Dejan/Lars, I noticed I've had a bunch of minor changes to IPaddr2 sitting in a branch since July, and never got around to asking for a review or merging them. I've just

Re: [Linux-ha-dev] [GIT PULL] Moving the OCF RA dev guide to the resource-agents repo

2011-11-18 Thread Florian Haas
On 11/16/11 10:37, Florian Haas wrote: Hi everyone, this is something I've been meaning to do for a long time, and I've finally had the time to do so. Now that the ClusterLabs repo on Github has been established as the central source of OCF resource agents, there is really no reason why

[Linux-ha-dev] Updated OCF RA dev guide (was Re: [GIT PULL] Moving the OCF RA dev guide to the resource-agents repo)

2011-11-18 Thread Florian Haas
On 11/18/11 10:50, Florian Haas wrote: Done. Merged and pushed. I'll now add a few updates and then rebuild the content hosted at http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html. I guess I should be able to upload the new stuff some time between now and Monday morning. An updated

Re: [Linux-ha-dev] [GIT PULL] Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-17 Thread Florian Haas
On 11/16/11 10:28, Florian Haas wrote: Hi everybody, barring any last-minute vetoes, I intend to pull the following changes since commit 020c8f7b08e232aef05e277b09632171a7561744: Heard no vetoes. Merged and pushed. https://github.com/ClusterLabs/resource-agents/commit

[Linux-ha-dev] [GIT PULL] Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-16 Thread Florian Haas
at: git://github.com/fghaas/resource-agents asterisk Thanks a lot to Dejan, Lars and Russell for their extensive and valuable feedback. Cheers, Florian Andreas Kurz (2): Medium: asterisk: remove -x option from pgrep Low: asterisk: refine sipsak exit code interpretation Florian

[Linux-ha-dev] [GIT PULL] Moving the OCF RA dev guide to the resource-agents repo

2011-11-16 Thread Florian Haas
/resource-agents dev-guide Dejan Muhamedagic (1): RA dev guide: edit ocft description Florian Haas (68): doc: move man page generation to doc/man Add RA developer's guide RA dev guide: explain API RA dev guide: add info about expected behavior for actions RA dev guide

Re: [Linux-ha-dev] ocf_run: sanitize output before logging?

2011-11-15 Thread Florian Haas
On 2011-11-15 16:21, Dejan Muhamedagic wrote: Hi, On Mon, Nov 14, 2011 at 09:53:12PM +0100, Florian Haas wrote: Dejan, Lars, and other shell gurus in attendance, maybe I'm totally off my rocker, and one of you guys can set me straight. But to me this part of the ocf_run function seems

Re: [Linux-ha-dev] [PATCH] prevent Slave promotion in mysql RA

2011-11-14 Thread Florian Haas
Hello Ikeda-san! On 2011-11-11 09:22, Junko IKEDA wrote: Hi, I am running MySQL replication setting with 2 nodes Master/Slave configuration. If Slave status(secs_behind) is lager than Master's parameter(max_slave_lag), Slave data is outdated, right? Yes. check_slave() in mysql RA would

Re: [Linux-ha-dev] [PATCH] prevent Slave promotion in mysql RA

2011-11-14 Thread Florian Haas
On 2011-11-14 20:44, Marek Marczykowski wrote: On 14.11.2011 09:55, Raoul Bhatia [IPAX] wrote: On 2011-11-11 09:22, Junko IKEDA wrote: Hi, I am running MySQL replication setting with 2 nodes Master/Slave configuration. If Slave status(secs_behind) is lager than Master's

[Linux-ha-dev] ocf_run: sanitize output before logging?

2011-11-14 Thread Florian Haas
Dejan, Lars, and other shell gurus in attendance, maybe I'm totally off my rocker, and one of you guys can set me straight. But to me this part of the ocf_run function seems a bit fishy: output=`$@ 21` rc=$? output=`echo $output` Am I gravely mistaken, or would any funny

Re: [Linux-ha-dev] [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Florian Haas
Just FYI, I noticed I erroneously put the asterisk changes in the master branch on my github repo; I've now moved them to a separate asterisk branch. The direct links to commits, which I posted earlier, should still work as the SHA IDs are unchanged. They just point to commits in a different

[Linux-ha-dev] Review request: fixes to IPaddr2

2011-11-11 Thread Florian Haas
Dejan/Lars, I noticed I've had a bunch of minor changes to IPaddr2 sitting in a branch since July, and never got around to asking for a review or merging them. I've just rebased them to the current state of master. If one of you could take a look, I'd much appreciate that. Thanks!

Re: [Linux-ha-dev] Patches for VirtualDomain RA

2011-11-11 Thread Florian Haas
On 2011-07-29 10:22, Michael Schwartzkopff wrote: Hi, I hope I found the correct list. Playing with the VirtualDomain RA I found two problems. Please find the description and patches below. Sorry for not tending to this for a while, and thanks to Dejan for the reminder. 1) During stop

Re: [Linux-ha-dev] Patches for VirtualDomain RA

2011-11-11 Thread Florian Haas
On 2011-11-11 11:42, Michael Schwartzkopff wrote: 2) The next problem is that a graceful shutdown sometimes does not work when the machine just booted. This patch makes the RA send a shutdown command every 10 seconds while shutting down the machine. This catches the boot problem. @@ -234,6

Re: [Linux-ha-dev] [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-10 Thread Florian Haas
On 2011-11-09 12:02, Martin Gerhard Loschwitz wrote: Hello everybody, I wrote an asterisk OCF resource agent which I am hereby putting up for discussion. Any feedback is welcome. It's available from https://github.com/fghaas/resource-agents/blob/master/heartbeat/asterisk Let's move this

Re: [Linux-ha-dev] Stonith turns node names to lowercase

2011-10-18 Thread Florian Haas
On 2011-10-18 12:12, Alberic de Pertat wrote: Hi, I am currently in the process of writing a fencing agent for VMware vCenter. After some tests, I noticed that the stonith command is turning the nodename to lowercase. The problem is that almost every VM in my inventory is uppercase with

Re: [Linux-ha-dev] [Linux-HA] [ha-wg] CFP: HA Mini-Conference in Prague on Oct 25th

2011-10-07 Thread Florian Haas
Hi everyone, I can finally respond to this and do want to take the opportunity to apologize for my silence-for-obvious-reasons over the past month. On 2011-10-07 00:05, Andrew Beekhof wrote: On Thu, Oct 6, 2011 at 1:53 AM, Lars Marowsky-Bree l...@suse.com wrote: On 2011-10-03T11:10:13, Andrew

Re: [Linux-ha-dev] Postfix status

2011-09-08 Thread Florian Haas
On 09/08/11 10:34, Raoul Bhatia [IPAX] wrote: On 09/08/2011 04:49 AM, renayama19661...@ybb.ne.jp wrote: do not apply a patch even if you apply this patch, there is not the big problem. I am lacking in my explanation, and I'm sorry. ok. i just updated my pull request.

Re: [Linux-ha-dev] pacemaker - migrate RA, based on the state of other RA, w/o clone?

2011-07-14 Thread Florian Haas
On 2011-07-14 08:46, RNZ wrote: No, I want and I need - multi-master scheme (more then two nodes)... There is nothing in Pacemaker's master/slave scheme that restricts you to a single master. The ocf:linbit:drbd resource agent, for example, is configurable in dual-Master mode. Once the resource

Re: [Linux-ha-dev] pacemaker - migrate RA, based on the state of other RA, w/o clone?

2011-07-14 Thread Florian Haas
On 2011-07-14 12:55, RNZ wrote: On Thu, Jul 14, 2011 at 2:02 PM, Florian Haas florian.h...@linbit.com mailto:florian.h...@linbit.com wrote: On 2011-07-14 08:46, RNZ wrote: No, I want and I need - multi-master scheme (more then two nodes)... There is nothing in Pacemaker's

Re: [Linux-ha-dev] regressions in resource-agents 3.9.1

2011-06-22 Thread Florian Haas
On 2011-06-22 11:48, Dejan Muhamedagic wrote: Hello all, Unfortunately, it turned out that there were two regressions in the 3.9.1 release: - iscsi on platforms which run open-iscsi 2.0-872 (see http://developerbugs.linux-foundation.org/show_bug.cgi?id=2562) - pgsql probes with

Re: [Linux-ha-dev] Uniquness OCF Parameters

2011-06-16 Thread Florian Haas
On 2011-06-16 09:03, Lars Ellenberg wrote: With the current unique=true/false, you cannot express that. Thanks. You learn something every day. :) Depending on what we chose the meaning to be, parameters marked unique=true would be required to either be all _independently_ unique, or be

Re: [Linux-ha-dev] Uniquness OCF Parameters

2011-06-16 Thread Florian Haas
On 2011-06-16 10:51, Lars Ellenberg wrote: On Thu, Jun 16, 2011 at 09:48:20AM +0200, Florian Haas wrote: On 2011-06-16 09:03, Lars Ellenberg wrote: With the current unique=true/false, you cannot express that. Thanks. You learn something every day. :) Sorry that I left off the As you

Re: [Linux-ha-dev] Patch for pgsql

2011-06-15 Thread Florian Haas
On 2011-06-15 14:26, Serge Dubrouski wrote: I screwed up with git so here is the patch attached. Nice, thanks. Is the pgsql ocft test case OK as it is in the repo? Cheers, Florian signature.asc Description: OpenPGP digital signature ___

Re: [Linux-ha-dev] Patch for pgsql

2011-06-15 Thread Florian Haas
On 2011-06-15 14:26, Serge Dubrouski wrote: I screwed up with git so here is the patch attached. Merged. I took the liberty to split this into two patches, and drop the spelling fix because the original spelling is actually correct. :)

Re: [Linux-ha-dev] Uniquness OCF Parameters

2011-06-14 Thread Florian Haas
On 2011-06-14 13:08, Dejan Muhamedagic wrote: Hi Alan, On Mon, Jun 13, 2011 at 10:32:02AM -0600, Alan Robertson wrote: On 06/13/2011 04:12 AM, Simon Talbot wrote: A couple of observations (I am sure there are more) on the uniqueness flag for OCF script parameters: Would it be wise for

Re: [Linux-ha-dev] [ha-wg-technical] resource agents 3.9.1rc1 release

2011-06-08 Thread Florian Haas
On 06/08/2011 02:50 AM, Fabio M. Di Nitto wrote: Hi, On 6/8/2011 10:16 AM, Keisuke MORI wrote: Hi, Thank you for all your efforts for the new release. 2011/6/7 Fabio M. Di Nitto fdini...@redhat.com: Several changes have been made to the build system and the spec file to accommodate

Re: [Linux-ha-dev] [ha-wg-technical] resource agents 3.9.1rc1 release

2011-06-08 Thread Florian Haas
On 06/08/2011 03:06 AM, Dejan Muhamedagic wrote: Hi, On Wed, Jun 08, 2011 at 10:50:17AM +0200, Fabio M. Di Nitto wrote: Hi, On 6/8/2011 10:16 AM, Keisuke MORI wrote: Hi, Thank you for all your efforts for the new release. 2011/6/7 Fabio M. Di Nitto fdini...@redhat.com: Several

[Linux-ha-dev] Postfix status (was Re: state of heartbeat resource agents)

2011-06-03 Thread Florian Haas
Hi All, We found a problem in the resource agent of postfix. *Please* don't reply to an old thread if you mean to start a new one, hijacking threads just confuses everyone. The resource agent of postfix carries out /usr/sbin/postfix in status parameter, but this is not available in old

Re: [Linux-ha-dev] changelog for resource agents 3.9.x

2011-06-01 Thread Florian Haas
On 2011-06-01 15:33, Raoul Bhatia [IPAX] wrote: hello dejan! On 06/01/2011 02:19 PM, Dejan Muhamedagic wrote: Is it this pull request: https://github.com/ClusterLabs/resource-agents/pull/6 yes What about Florian's comment? have been addressed. Also, I cannot merge anything from

Re: [Linux-ha-dev] [PATCH] Low: fio: add missing log level

2011-06-01 Thread Florian Haas
On 2011-06-01 16:26, r.bha...@ipax.at wrote: From: Raoul Bhatia r.bha...@ipax.at --- heartbeat/fio |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Merged, thanks. Cheers, Florian signature.asc Description: OpenPGP digital signature

[Linux-ha-dev] lxc RA merged

2011-05-30 Thread Florian Haas
Hello, after much useful testing from Christoph Mitasch and a number of necessary changes highlighted by ocf-tester, I've now merged and pushed the lxc resource agent that was originally contributed by Darren Thompson. The resource agent is here:

[Linux-ha-dev] mysql RA fixes merged

2011-05-30 Thread Florian Haas
Hello, I've merged and pushed a number of fixes to master/slave replication in the mysql RA, contributed by Marek Marczykowski. I've deliberately left out Raoul Bhatia's retab patch out though, those janitor patches usually make debugging harder if we do run into issues. We can always merge that

Re: [Linux-ha-dev] state of heartbeat resource agents

2011-05-24 Thread Florian Haas
On 2011-05-24 13:38, Raoul Bhatia [IPAX] wrote: postfix: fghaas reviewed my code. i tried to catch him on irc on how to progress with his comments. I tried to catch you that same day; you weren't there. How about falling back to the mailing list, or using github's line note interface to

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8

2011-05-11 Thread Florian Haas
Darren, On 2011-05-05 15:07, Florian Haas wrote: On 2011-05-05 14:26, Darren Thompson wrote: Can you confirm that the current version is working for you and passes ocf-tester on your system? What is an ocf-tester??? http://www.linux-ha.org/doc/dev-guides

Re: [Linux-ha-dev] New OCF RA: symlink

2011-05-09 Thread Florian Haas
On 2011-05-04 15:19, Florian Haas wrote: On 2011-04-20 14:37, Florian Haas wrote: Dominik doesn't have a github repo yet, so I added this to a separate branch in mine. The current revision is here: https://github.com/fghaas/resource-agents/blob/symlink/heartbeat/symlink Please comment

Re: [Linux-ha-dev] Filesystem ocf file

2011-05-06 Thread Florian Haas
On 2011-05-06 09:58, Darren Thompson wrote: Florian Ok then... I agree it does seem to be poorly designed and It's far from intuitive... But If it's actually correct who am I to argue... Correct in the sense of in line with the rules, not in the sense that it's actually smart. But yeah,

[Linux-ha-dev] ACLs and privilege escalation (was Re: New OCF RA: symlink)

2011-05-05 Thread Florian Haas
Rather than going into ACLs in more detail, I wanted to highlight that however we limit access to the CIB, the resource agents still _execute_ as root, so we will always have what would normally be considered a privilege escalation issue. Now, we could agree on security guidelines for RAs, and

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 6

2011-05-05 Thread Florian Haas
Darren, can you please subscribe to the list as a normal subscriber rather than to just the digest, so we can keep this discussion in one thread? On 2011-05-05 04:47, Darren Thompson wrote: Florian/Team There was an error in the GIT-Hub version that was causing my re-base attempts to fail,

Re: [Linux-ha-dev] [ha-wg] Cluster Stack - Ubuntu Developer Summit

2011-05-05 Thread Florian Haas
On 2011-04-26 19:33, Andres Rodriguez wrote: UDS' are open-to-public events, and I believe it would be great if upstream could participate and maybe even further the discussion about the Cluster Stack. For more information about UDS, please visit [1]. The specific date/time for the Cluster

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8

2011-05-05 Thread Florian Haas
On 2011-05-05 14:26, Darren Thompson wrote: Can you confirm that the current version is working for you and passes ocf-tester on your system? What is an ocf-tester??? http://www.linux-ha.org/doc/dev-guides/_testing_installing_and_packaging_resource_agents.html I have been testing this the

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 2

2011-05-04 Thread Florian Haas
On 05/04/2011 08:44 AM, Darren Thompson wrote: Florian I have tried to re-base on your version but it just will not run for me. I keep getting Failed to parse the metadata of LXC syntax error line 1, column 1 I've no idea where this error is as it all looks fine... I'll attach my

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 2

2011-05-04 Thread Florian Haas
On 05/04/2011 09:09 AM, Florian Haas wrote: On 05/04/2011 08:44 AM, Darren Thompson wrote: Florian I have tried to re-base on your version but it just will not run for me. I keep getting Failed to parse the metadata of LXC syntax error line 1, column 1 I've no idea where this error

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 3

2011-05-04 Thread Florian Haas
On 05/04/2011 10:52 AM, Darren Thompson wrote: Florian/Team I have now updated my re-based ocf file to include the experimental support for upstart and systemd using containers. I can confirm that this is still working correctly for containers running 'sysv init' and in theory should now

Re: [Linux-ha-dev] New OCF RA: symlink

2011-05-04 Thread Florian Haas
Coming back to this one, as the discussion seems to have died down. On 2011-04-20 19:00, Lars Ellenberg wrote: Oh, well, thinking about non-roots that may have cibadmin karma, they now can configure a resource that will remove /etc/passwd. I'm not sure if I like that. How about a staged

Re: [Linux-ha-dev] New OCF RA: symlink

2011-05-04 Thread Florian Haas
On 2011-04-22 14:25, Alan Robertson wrote: Drbdlinks was never converted to an OCF RA, that I recall. It handles cases of needing to restart the logging system when you changed symlnks around - mainly for chroot services. I've used it for many years. You can find the source for it here:

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 89, Issue 32

2011-05-03 Thread Florian Haas
Hello Darren, Please get the current version from https://github.com/fghaas/resource-agents/blob/lxc/heartbeat/lxc, and also review the commit history at https://github.com/fghaas/resource-agents/commits/lxc/heartbeat/lxc. When you send more updates, please do make sure they track the latest

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-04-28 Thread Florian Haas
On 2011-04-28 10:21, Darren Thompson wrote: Florina/TEAM Thanks for your input and the link to the guidelines I have updated my original ocf file in line with the guidlines, it even gave me a few tips on how to do things better so was well worth the time spent. Please find the updated

Re: [Linux-ha-dev] [Openais] An OCF agent for LXC (Linux Containers)

2011-04-27 Thread Florian Haas
On 2011-04-27 00:29, Darren Thompson wrote: Florian All good points. Unfortunately I'm not a programmer, so have no idea how to setup a 'git repo' and currently have no facility to host it even if I knew how. That's the point of github; they provide all that infrastructure for you. It

Re: [Linux-ha-dev] Crowd-sourceing request to review RAs for missing input sanitation/missing quotes/missing escapes etc. [Was: New OCF RA: symlink]

2011-04-22 Thread Florian Haas
On 2011-04-22 10:57, Lars Ellenberg wrote: On Thu, Apr 21, 2011 at 03:19:10PM +0200, Florian Haas wrote: On 2011-04-20 19:00, Lars Ellenberg wrote: On Wed, Apr 20, 2011 at 06:49:48PM +0200, Lars Ellenberg wrote: [a lot] I know I'm paranoid. Am I too paranoid? Patches welcome

Re: [Linux-ha-dev] New OCF RA: symlink

2011-04-21 Thread Florian Haas
On 2011-04-20 19:00, Lars Ellenberg wrote: On Wed, Apr 20, 2011 at 06:49:48PM +0200, Lars Ellenberg wrote: [a lot] I know I'm paranoid. Am I too paranoid? Patches welcome. Cheers, Florian signature.asc Description: OpenPGP digital signature

Re: [Linux-ha-dev] New OCF RA: symlink

2011-04-20 Thread Florian Haas
On 2011-04-20 11:41, Dominik Klein wrote: Hi I wrote a new RA that can manage a symlink. Configuration: primitive mylink ocf:heartbeat:symlink \ params link=/tmp/link target=/tmp/target \ op monitor interval=15 timeout=15 This will basically ln -s /tmp/target /tmp/link

Re: [Linux-ha-dev] [GIT PULL] ldirectord

2011-04-19 Thread Florian Haas
On 2011-04-19 02:09, Simon Horman wrote: Hi Florian, please consider pulling git://github.com/horms/resource-agents.git master to get the following bug fix for ldirectord by Takeuchi-san. Sohgo Takeuchi (1): fix a bug that IPv6 does not work fine. ldirectord/ldirectord.in |

Re: [Linux-ha-dev] Linux-HA Wiki

2011-04-15 Thread Florian Haas
On 2011-04-14 10:41, Ulf wrote: Hi Florian, I've seen that you are editing some of the http://www.linux-ha.org/wiki/ pages. In http://linux-ha.org/doc/man-pages/re-ra-sfex.html is a link to http://www.linux-ha.org/wiki/sfex_(resource_agent) , which doesn't exist. It would be very

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-14 Thread Florian Haas
On 2011-04-14 17:23, Raoul Bhatia [IPAX] wrote: On 04/14/2011 04:15 PM, Raoul Bhatia [IPAX] wrote: On 04/13/2011 02:46 PM, Florian Haas wrote: 2. shouldn't line 251 be removed. it reads: On M/S setup --skip-slave-start is needed (or in config file). but --skip-slave-start is enforced on line

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-14 Thread Florian Haas
On 2011-04-14 18:07, Raoul Bhatia [IPAX] wrote: On 04/13/2011 01:18 PM, Florian Haas wrote: On 2011-04-13 12:54, Marek Marczykowski wrote: On 04/13/11 09:17, Florian Haas wrote: Marek, have you considered setting up a personal fork of the ClusterLabs/resource-agents repo where you could keep

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-13 Thread Florian Haas
On 2011-03-29 18:52, Raoul Bhatia [IPAX] wrote: On 03/18/2011 08:46 PM, Marek Marczykowski wrote: ... I don't know if this is enough, but my version saves MASTER_LOG_FILE and MASTER_LOG_POS. See http://marmarek.w.staszic.waw.pl/patches/ha-mysql-ra/ especially:

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-13 Thread Florian Haas
On 2011-04-13 12:54, Marek Marczykowski wrote: On 04/13/11 09:17, Florian Haas wrote: Marek, have you considered setting up a personal fork of the ClusterLabs/resource-agents repo where you could keep track of your progress and which upstream could pull from? Good idea :) Pushed here

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-13 Thread Florian Haas
On 2011-04-13 13:56, Raoul Bhatia [IPAX] wrote: hi, i'll take a look in the next days. as i'm running on debian squeeze with glue 1.0.6-1 and cluster-agents 1:1.0.3-3.1, i will have to revert cs 322b7fc587ea722a25e099f7a62cfafa01851394 where OCF_FUNCTIONS_DIR changed. i currently

[Linux-ha-dev] Resource agent implementing SPC-3 Persistent Reservations (contribution from Evgeny Nifontov)

2011-04-12 Thread Florian Haas
Hi everyone, Evgeny Nifontov has started to implement sg_persist, a resource agent managing SPC-3 Persistent Reservations (PRs) using the sg_persist binary. He's put up a personal repo on Github and the initial commit is here:

Re: [Linux-ha-dev] [GIT PULL] ldirectord

2011-04-11 Thread Florian Haas
On 2011-04-10 01:26, Simon Horman wrote: Hi Lars, Please consider pylling git://github.com/horms/resource-agents.git master to get the following changes. Ferenc Wagner (1): ldirectord: remove duplicate assignment of virtual_id Ivan Havlicek (1): ldirectord: Ignore forking

Re: [Linux-ha-dev] Announcement: Linux Foundation HA working group mailing lists

2011-03-03 Thread Florian Haas
On 2011-03-03 10:37, Lars Marowsky-Bree wrote: Hi everyone, please excuse the long Cc list. Behind the scenes, some of the projects that make up the cluster stack on Linux have been working together to converge and integrate the various projects. We have been meeting on and off for the

Re: [Linux-ha-dev] new resource agents repository

2011-03-02 Thread Florian Haas
On 2011-03-01 17:59, Holger Teutsch wrote: Hi, I'm sure you are aware that commits in the old repository after 1.0.4 are not brought forward to the new one ? As far as I can see Andrew's hg-to-git magic did take care of that. If there are any commits missing as of now, please let us know which

Re: [Linux-ha-dev] Do symlinks via autotools instead of only via the spec files. corrected condition.

2011-03-01 Thread Florian Haas
On 2011-03-01 15:49, Dejan Muhamedagic wrote: Hi, Many thanks for the patch. Are all three you sent the same? They aren't; the erroneous automake if has been corrected in the last one. Florian signature.asc Description: OpenPGP digital signature

Re: [Linux-ha-dev] Patch: Doc: ra2refentry.xml: Add preservation of empty lines to longdesc of parameters as well

2011-02-23 Thread Florian Haas
On 2011-02-20 14:06, Holger Teutsch wrote: # HG changeset patch # User Holger Teutsch holger.teut...@web.de # Date 1298206988 -3600 # Node ID 91a9bede86dd9642fda4dc9fd06514142c0a7d9a # Parent 1b3222748961d4acd501707c67d891b050a44c7f Doc: ra2refentry.xml: Add preservation of empty lines to

Re: [Linux-ha-dev] Section on ocft added to RA dev guide

2011-02-23 Thread Florian Haas
On 2011-02-23 13:37, Dejan Muhamedagic wrote: On Mon, Feb 21, 2011 at 06:18:58PM +0100, Dejan Muhamedagic wrote: Hi Florian, On Wed, Feb 16, 2011 at 09:11:21AM +0100, Florian Haas wrote: Hello, I have taken John Shi's original ocft README and turned it into a section in the RA dev guide

Re: [Linux-ha-dev] resource agents 1.0.4 announcement

2011-02-17 Thread Florian Haas
On 2011-02-16 18:40, Dejan Muhamedagic wrote: Hello, The current repository of Resource Agents has been tagged to agents-1.0.4 today. This is a stable release, containing bug fixes, improvements, new agents, and new features in existing agents. The HTML man pages at http://www.linux-ha.org

[Linux-ha-dev] Section on ocft added to RA dev guide

2011-02-16 Thread Florian Haas
Hello, I have taken John Shi's original ocft README and turned it into a section in the RA dev guide. It's not on the web site yet as I've not had time to polish the contents (it shows a bit that the original author is a non-native speaker). So if anyone can make some time and send a patch, I'd

Re: [Linux-ha-dev] Formatting of agent man pages

2011-02-14 Thread Florian Haas
On 2011-02-10 17:10, Holger Teutsch wrote: On Thu, 2011-02-10 at 13:09 +0100, Florian Haas wrote: On 2011-02-10 11:49, Holger Teutsch wrote: Florian, I have a patch that preserves line breaks (in detail: it generates para elements on line breaks). [...] Heh, that patch is pretty clever. I

Re: [Linux-ha-dev] Feedback on conntrackd RA by Dominik Klein

2011-02-14 Thread Florian Haas
On 2011-02-14 11:46, Dominik Klein wrote: Thanks for inclusion. While looking through the pushed changes, I spotted two meta-data typos. See trivial patch. Also applied and pushed. Thanks! Cheers, Florian signature.asc Description: OpenPGP digital signature

Re: [Linux-ha-dev] resource agents 1.0.4-rc announcement

2011-02-14 Thread Florian Haas
On 02/14/2011 07:54 PM, Raoul Bhatia [IPAX] wrote: hi, On 14.02.2011 17:56, Dejan Muhamedagic wrote: Hello, The current repository of Resource Agents has been tagged to agents-1.0.4-rc on Friday evening. Some major additions and improvements: - conntrackd, exportfs, nginx, fio: new

Re: [Linux-ha-dev] Feedback on conntrackd RA by Dominik Klein

2011-02-11 Thread Florian Haas
On 2011-02-11 09:48, Dominik Klein wrote: Hi Florian it appears that the RA is good to be merged with just a few changes left to be done. Great! [lots of exemplary role-model patch modifications] Regards Dominik Thanks! For some reason the patch does not apply in my checkout. Can

Re: [Linux-ha-dev] Feedback on conntrackd RA by Dominik Klein

2011-02-11 Thread Florian Haas
On 02/11/2011 01:41 PM, Dominik Klein wrote: Maybe you applied the s/100/$slavescore patch someone sent a couple weeks ago. I used the last version from thread New stateful RA: conntrackd dated october 27th 3:29pm. Anyway, here's my version. Applied and pushed with two minor edits. Thanks a

Re: [Linux-ha-dev] Formatting of agent man pages

2011-02-10 Thread Florian Haas
On 2011-02-10 11:49, Holger Teutsch wrote: Florian, I have a patch that preserves line breaks (in detail: it generates para elements on line breaks). [...] Heh, that patch is pretty clever. I like it. :) Agents that do their own block fill with linefeeds in longdesc look more ugly of

Re: [Linux-ha-dev] on the new db2 agent

2011-02-10 Thread Florian Haas
On 2011-02-10 17:14, Dejan Muhamedagic wrote: Hello everybody, ... Agreed? +1 from me, FWIW. Cheers, Dejan P.S. Thanks to Florian Haas for constructive conversation :) Quite welcome, and I do want to add a thanks to Holger for his outstanding contributions. Specifically

Re: [Linux-ha-dev] New master/slave resource agent for DB2 databases in HADR (High Availability Disaster Recovery) mode

2011-02-09 Thread Florian Haas
On 2011-02-09 11:56, Dejan Muhamedagic wrote: It is plugin compatible to the old version of the agent. Great! Unfortunately, we can't replace the old db2 now, the number of changes is very large: db2 | 1076 +++- 1 file

  1   2   3   4   >