Bug 364661 - Most ccs_tool commands always exit with EXIT_FAILURE
Summary: Most ccs_tool commands always exit with EXIT_FAILURE
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Cluster Suite
Classification: Retired
Component: ccs
Version: 4
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ryan O'Hara
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 249781
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-02 20:58 UTC by Ryan O'Hara
Modified: 2009-10-12 14:42 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-12 14:42:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Ryan O'Hara 2007-11-02 20:58:40 UTC
+++ This bug was initially created as a clone of Bug #249781 +++

Description of problem:

ccs_tool exits with EXIT_FAILURE even when it completes an operation properly.

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. execute "ccs_tool addnode ...", "ccs_tool addfence ..." or other ccs_tool
commands 
2. check return status with "echo $?"
3.
  
Actual results:

The exit status is always 1

Expected results:

The exit status should be 0 when it successfully completes the operation.

Additional info:

-- Additional comment from rohara on 2007-08-30 12:32 EST --
Changed ccs_tool to return EXIT_SUCCESS for most commands. Several of the
commands for ccs_tool would always return EXIT_FAILURE.

Comment 1 Ryan O'Hara 2007-11-02 21:09:31 UTC
Fixed in RHEL4.


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