Bug 623266 - Metadata (man pages) generation does not take different sorts of action into account
Summary: Metadata (man pages) generation does not take different sorts of action into ...
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: fence-agents   
(Show other bugs)
Version: 6.0
Hardware: All Linux
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: Cluster QE
Keywords: RHELNAK
Depends On:
Blocks: 671090
TreeView+ depends on / blocked
Reported: 2010-08-11 18:23 UTC by Jan Pokorný [poki]
Modified: 2016-04-26 15:06 UTC (History)
5 users (show)

Fixed In Version: fence-agents-3.0.12-12.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 671090 (view as bug list)
Last Closed: 2011-05-19 14:21:29 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0745 normal SHIPPED_LIVE fence-agents bug fix and enhancement update 2011-05-19 09:37:09 UTC

Description Jan Pokorný [poki] 2010-08-11 18:23:37 UTC
Description of problem:
Specifically, metadata function in fencing.py (agents/lib/fence.py.py) outputs a static block of actions without being aware of current fence.

Version-Release number of selected component (if applicable):
Tested both on current git version and updated RHEL 6.0 beta:
# rpm -q fence-agents

How reproducible:

Steps to Reproduce (this is only an example how to demonstrate it; there can be more similar cases):

1. # man fence_sanbox2
       -o, --action=<action>
              Fencing Action (Default Value: disable)

       on     Power on machine.

       off    Power off machine.

       reboot Reboot machine.

       status This returns the status of the plug/virtual machine.

       list   List available plugs with aliases/virtual machines if there is support for more then one device. Returns N/A otherwise.

              Check if fencing device is running. List available plugs/virtual machines or get status of machine (if it does not support more).

               The operational behavior of this is not known.

2. # fence_sanbox2 -o on
Failed: Unrecognised action 'on'
Please use '-h' for usage

Actual results:
Bad information about possible actions provided by man page.

Expected results:
The information is correct.

Additional info:
Note that -h flag informs correctly:
   -o, --action=<action>          Action: status, enable or disable

Comment 2 RHEL Product and Program Management 2010-08-11 18:58:40 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 3 David Teigland 2010-08-12 19:32:08 UTC
We should standardize action values, I suggest on/off, and make all agents, docs, man pages, rng use and refer to on/off.

(Any agents that currently accept enable/disable need to continue accepting those values in addition to on/off.)

Comment 8 errata-xmlrpc 2011-05-19 14:21:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.