Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=2acb7fe7…
Commit: 2acb7fe7fb97ba27b31f50442dd886be0e929e1b
Parent: 3048ba31835713334b251012ae935e858f62095b
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Fri May 24 16:17:12 2013 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Jun 28 11:09:53 2013 +0200
fencing: Validation if password/password_script or identity file is used was not processed
Resolves: rhbz#959490
---
fence/agents/lib/fencing.py.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py
index cb8ec26..ad5f4db 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -698,9 +698,9 @@ def check_input(device_opt, opt):
if 0 == device_opt.count("identity_file"):
if 0 == (options.has_key("-p") or options.has_key("-S")):
fail_usage("Failed: You have to enter password or password script")
- else:
- if 0 == (options.has_key("-p") or options.has_key("-S") or options.has_key("-k")):
- fail_usage("Failed: You have to enter password, password script or identity file")
+ else:
+ if 0 == (options.has_key("-p") or options.has_key("-S") or options.has_key("-k")):
+ fail_usage("Failed: You have to enter password, password script or identity file")
if 0 == options.has_key("-x") and 1 == options.has_key("-k"):
fail_usage("Failed: You have to use identity file together with ssh connection (-x)")
Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=4cc35800…
Commit: 4cc3580075dc0e7211837ffd98350224b882bde5
Parent: e6fcc75af95f56c107786d60e310ce0e0442e940
Author: Jan Pokorný <jpokorny(a)redhat.com>
AuthorDate: Thu Feb 28 22:37:08 2013 +0100
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Fri Jun 28 11:05:30 2013 +0200
lib: remove static metadata from fence.rng.head
Possible as:
- rps10: droped in aa905c0bf7a717648b44069e4a192f7afe0cda61
(4 years back)
- brocade, mcdata, sanbox2, bladecenter, bullpap, ipmilan:
generate metadata natively
- vixel, egenera, xcat: ditto
Signed-off-by: Jan Pokorný <jpokorny(a)redhat.com>
Resolves: rhbz#917675
---
fence/agents/lib/fence.rng.head | 129 ---------------------------------------
1 files changed, 0 insertions(+), 129 deletions(-)
diff --git a/fence/agents/lib/fence.rng.head b/fence/agents/lib/fence.rng.head
index 632bb53..22f4452 100644
--- a/fence/agents/lib/fence.rng.head
+++ b/fence/agents/lib/fence.rng.head
@@ -3,134 +3,5 @@
<optional>
<choice>
<!-- begin specific fence devices -->
- <!-- begin non-generated device definitions -->
- <!-- RPS10 -->
- <group rha:name="fence_rps10" rha:description="RPS10 Serial Switch" >
- <attribute name="device" rha:description="The device the switch
- is connected to on the controlling host."
- rha:sample="/dev/ttys2"/>
- <attribute name="port" rha:description="The switch outlet
- number." rha:sample="2"/>
- </group>
- <!--FIXME: Determine if the following group should exclude
- the auth and lanplus attributes. Those attributes apply only to
- the impilan fence device.-->
- <!-- Brocade, McData, SANBox2, Bladecenter,bullpap, ipmilan -->
- <!-- FIXME split apart and add rha:name hints for
- configuration utilities -->
- <group>
- <attribute name="ipaddr" rha:description="IP address or the name
- of the device." rha:sample="rack007"/>
- <optional>
- <attribute name="login" rha:description="The login name used to
- access the device. " rha:sample="admin"/>
- </optional>
- <optional>
- <attribute name="passwd" rha:description="The password used to
- authenticate the connection to the
- device." rha:sample="pa$$word"/>
- </optional>
- <optional>
- <attribute name="passwd_script" rha:description="The script that
- supplies a password for access to the fence device. Using
- this supersedes the Password parameter." rha:sample=""/>
- </optional>
- <optional>
- <attribute name="auth" rha:description="For IPMI LAN
- only. Authentication Type: none, password,
- md2, or md5" rha:sample=""/>
- </optional>
- <optional>
- <attribute name="lanplus" rha:description="For IPMI LAN only.
- Set value to either True or 1; leave out for false."
- rha:sample="True"/>
- </optional>
- </group>
- <!-- Vixel -->
- <group rha:name="fence_vixel">
- <optional>
- <attribute name="ipaddr" rha:description="IP address or the
- name of the device." rha:sample="10.1.0.1"/>
- </optional>
- <optional>
- <attribute name="passwd" rha:description="The password used to
- authenticate the connection to the
- device." rha:sample="pa$$word"/>
- </optional>
- <optional>
- <attribute name="passwd_script" rha:description="The script
- that supplies a password for access to the
- fence device. Using this supersedes the Password
- parameter." rha:sample=""/>
- </optional>
- </group>
- <!-- Egenera -->
- <!-- FIXME: Note that in the schema web page each is listed as a
- parameter. Likewise for Conga. In addition, Conga shows Ipan
- and pserver parameters. Also, in Conga, the esh parameter is
- an optional ESH path. Presumably those should be attributes in
- the schema. We need more invormation on this. -->
- <group rha:name="fence_egenera">
- <optional>
- <attribute name="cserver" rha:description="The hostname (and
- optionally the username in the form of username@hostname)
- assigned to the device. Refer to the fence_egenera(8) man
- page for more information." rha:sample=""/>
- </optional>
- <optional>
- <attribute name="pserver" rha:description="The pserver to operate on. fence_egenera(8)" />
- </optional>
- <optional>
- <attribute name="lpan" rha:description="The lpan to operate on. fence_egenera(8)" />
- </optional>
- <optional>
- <attribute name="action" rha:description="The action to perform (reboot, off, on, or status). fence_egenera(8)" />
- </optional>
- <optional>
- <attribute name="esh" rha:description="Path to the esh command on the cserver. fence_egenera(8)" />
- </optional>
- <optional>
- <attribute name="user" rha:description="See fence_egenera(8)" />
- </optional>
- <optional>
- <attribute name="delay" rha:description="Wait this many seconds before fencing is started. fence_egenera(8)" />
- </optional>
- </group>
- <!-- FIXME: It appears that xCat is no longer supported. Found no
- fence agents for x Cat in RHEL 5.3. -->
- <!-- xCAT -->
- <group rha:name="fence_xcat">
- <attribute name="rpowerpath" rha:description="" rha:sample=""/>
- </group>
- <group rha:name="fence_na" rha:description="Node Assassin">
- <optional>
- <attribute name="option"/> <!-- deprecated; for compatibility. use "action" -->
- </optional>
- <!-- I don't think I need this yet.
- <optional>
- <attribute name="auth" rha:description="Node Assassin Auth type (password or none)" />
- </optional>
- -->
- <optional>
- <attribute name="ipaddr" rha:description="Node Assassin IP or name to talk to" />
- </optional>
- <optional>
- <attribute name="passwd" rha:description="Password needed to access the Node Assassin(s)" />
- </optional>
- <optional>
- <attribute name="passwd_script" rha:description="Script to retrieve password (not implemented)" />
- </optional>
- <optional>
- <attribute name="login" rha:description="Login name used to log into the Node Assassin(s)" />
- </optional>
- <optional>
- <attribute name="action" rha:description="Operation to perform. Valid operations: on, off, reboot, status, list, release, boot or shutdown" />
- </optional>
- <optional>
- <attribute name="quiet" rha:description="Supress output" />
- </optional>
- </group>
-
- <!-- end non-generated device definitions -->
<!-- begin auto-generated device definitions -->
Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=6fbdb796…
Commit: 6fbdb7961c36a8f0ca9e4a535795f5872f71a029
Parent: 068f61c638b2ef88badfd1a5d89b92cc77c4df14
Author: Marek 'marx' Grac <mgrac(a)redhat.com>
AuthorDate: Mon May 27 15:19:59 2013 +0200
Committer: Marek 'marx' Grac <mgrac(a)redhat.com>
CommitterDate: Wed Jun 26 13:48:40 2013 +0200
fence_scsi: Add 'unfence' to manual page
Resolves: rhbz#887349
---
fence/agents/scsi/fence_scsi.8 | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fence/agents/scsi/fence_scsi.8 b/fence/agents/scsi/fence_scsi.8
index 0d70930..da2e451 100644
--- a/fence/agents/scsi/fence_scsi.8
+++ b/fence/agents/scsi/fence_scsi.8
@@ -21,7 +21,8 @@ registrants only" reservation on the device(s). The result is that
only registered nodes may write to the device(s). When a node failure
occurs, the fence_scsi agent will remove the key belonging to the
failed node from the device(s). The failed node will no longer be able
-to write to the device(s). A manual reboot is required.
+to write to the device(s). A manual reboot is required. In the cluster
+environment unfence action should be configured also.
Keys are either be specified manually (see -k option) or generated
automatically (see -n option). Automatic key generation requires that