Bug 439252 - fence_apc doesn't know about -T test option
Summary: fence_apc doesn't know about -T test option
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cman
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-27 18:11 UTC by Thorsten Scherf
Modified: 2009-04-16 22:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-06 14:53:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Thorsten Scherf 2008-03-27 18:11:15 UTC
Description of problem:
fence_apc man page states there is a test option -T for the agent:

-T     Test only.  Answer NO to the confirmation prompt instead of YES.

when I call the agent it prints out wrong option usage.

Version-Release number of selected component (if applicable):
fence_apc 2.0.73 (cman-2.0.73-1.el5_1.5)

How reproducible:
fence_apc -v -a ip -l login -p password -n port -T

Steps to Reproduce:
1.
2.
3.
  
Actual results:
wrong usage

Expected results:
test call

Additional info:

Comment 1 Jim Parsons 2008-04-14 19:31:35 UTC
Hmmm...is this a feature you desire? Or should I edit the man page?

Comment 2 Thorsten Scherf 2008-04-14 22:13:04 UTC
well, it would be nice to have. and since the man page already have an entry for
this....


Comment 3 Marek Grac 2009-03-06 14:53:45 UTC
'-T' option was agent dependant on APC it worked as you wrote but on some other it was just an alias to test outlet status. In current release -T works same as '-o status'. You are right that manual pages should be in sync with binaries, I'm going to create a new bug for this problem.


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