Re: [Cluster-devel] [PATCH 12/18] ocfs2: use generic posix ACL infrastructure

2013-12-03 Thread Christoph Hellwig
On Tue, Dec 03, 2013 at 12:00:07AM +0100, Jan Kara wrote: Hum, this changes the cluster locking. Previously ocfs2_acl_get() used from ocfs2_acl_chmod() grabbed cluster wide inode lock. Now getting of ACL isn't protected by the inode lock. That being said the cluster locking around setattr

[Cluster-devel] [PATCH 1/2] fence_ipmilan: port to fencing library

2013-12-03 Thread Ondrej Mular
Port of fence_ipmilan to fencing library. --- fence/agents/ipmilan/fence_ipmilan.py | 207 ++ 1 file changed, 207 insertions(+) create mode 100644 fence/agents/ipmilan/fence_ipmilan.py diff --git a/fence/agents/ipmilan/fence_ipmilan.py

[Cluster-devel] [PATCH 2/2] fence_amt: new fence agent for Intel AMT

2013-12-03 Thread Ondrej Mular
New fence agent for Intel AMT. --- fence/agents/amt/fence_amt.py | 161 ++ 1 file changed, 161 insertions(+) create mode 100755 fence/agents/amt/fence_amt.py diff --git a/fence/agents/amt/fence_amt.py b/fence/agents/amt/fence_amt.py new file mode 100755

[Cluster-devel] [PATCH 1/6] rgmanager: ra2rng.xsl: extend infrastructure for XML

2013-12-03 Thread Jan Pokorný
+ tag-self named template (originally for self-closed) renamed just to tag as now it's able to recursively dump also the nested forrest as passed with fill-with parameter, i.e., the resulting output tag is not necessarily self-closed + tag-end named template doesn't take attrs parameter

[Cluster-devel] [PATCH 6/6] gmanager: ra2rng.xsl: script-file: try to prevent cluster's services

2013-12-03 Thread Jan Pokorný
Note that, AFAIK, file parameter to script can be arbitrary string with a logical limitation to be something (builtins, aliases, etc. not excluded) that will run when pasted verbatim to the bash prompt (with no quotes added) followed by the desired action and when fired it will eventually proceed

[Cluster-devel] [PATCH 2/6] rgmanager: ra2rng.xsl: make common params reuse XML pretty-print

2013-12-03 Thread Jan Pokorný
Signed-off-by: Jan Pokorný jpoko...@redhat.com --- rgmanager/src/resources/ra2rng.xsl | 91 +++--- 1 file changed, 25 insertions(+), 66 deletions(-) diff --git a/rgmanager/src/resources/ra2rng.xsl b/rgmanager/src/resources/ra2rng.xsl index 046371e..27105a0 100644

[Cluster-devel] [PATCH 6/6] rgmanager: ra2rng.xsl: script-file: try to prevent cluster's services

2013-12-03 Thread Jan Pokorný
Note that, AFAIK, file parameter to script can be arbitrary string with a logical limitation to be something (builtins, aliases, etc. not excluded) that will run when pasted verbatim to the bash prompt (with no quotes added) followed by the desired action and when fired it will eventually proceed

[Cluster-devel] [PATCH 3/6] rgmanager: ra2rng.xsl: common params: prevent misleading combination

2013-12-03 Thread Jan Pokorný
...both @__max_restarts and @__restart_expire_time have nonzero values, otherwise, otherwise if either of the parameter is present, it has to have zero value. Every other occurrence of these two interconnected parameters for particular resource is a configuration defect, as it could lead to false

[Cluster-devel] [PATCH 5/6] rgmanager: ra2rng.xsl: infra for param value datatyping/restriction

2013-12-03 Thread Jan Pokorný
Signed-off-by: Jan Pokorný jpoko...@redhat.com --- rgmanager/src/resources/ra2rng.xsl | 11 +++ 1 file changed, 11 insertions(+) diff --git a/rgmanager/src/resources/ra2rng.xsl b/rgmanager/src/resources/ra2rng.xsl index 6c66ee3..b4944e7 100644 --- a/rgmanager/src/resources/ra2rng.xsl

[Cluster-devel] [PATCH 4/6] rgmanager: ra2rng.xsl: control flow branches common business merge

2013-12-03 Thread Jan Pokorný
... two branches of non-/optional RA-specific parameter under single branch parametrized by the depth of indentation and conditionally decorated with the respective additional tag. Signed-off-by: Jan Pokorný jpoko...@redhat.com --- rgmanager/src/resources/ra2rng.xsl | 84

[Cluster-devel] [resource-agents][PATCH 0/6] rgmanager: ra2rng.xsl: build up param datatyping infra

2013-12-03 Thread Jan Pokorný
This changeset initiates the work on more tight check of cluster schema primarily by the means of RA parameters datatyping incl. other restrictions/facets as allowed by XML Schema Datatypes and, in turn, by Relax NG schemas. Last step demonstrates how easy is now to add such additional

Re: [Cluster-devel] [PATCH 6/6] gmanager: ra2rng.xsl: script-file: try to prevent cluster's services

2013-12-03 Thread Jan Pokorný
Please scratch this one, was correcting a typo in the subject and this is all I got :-/ rgmanager one is correct... -- Jan