Bug 714744 - iscsiadm command line help lists discovery2 mode instead of discoverydb
Summary: iscsiadm command line help lists discovery2 mode instead of discoverydb
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: iscsi-initiator-utils
Version: 5.6
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Mike Christie
QA Contact: Gris Ge
URL:
Whiteboard:
Depends On:
Blocks: 715434
TreeView+ depends on / blocked
 
Reported: 2011-06-20 15:21 UTC by Vadym Chepkov
Modified: 2012-02-21 06:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 715434 (view as bug list)
Environment:
Last Closed: 2012-02-21 06:36:40 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0263 0 normal SHIPPED_LIVE iscsi-initiator-utils bug fix and enhancement update 2012-02-20 15:06:35 UTC

Description Vadym Chepkov 2011-06-20 15:21:07 UTC
iscsiadm from iscsi-initiator-utils-6.2.0.872-6.el5 shows discovery2 mode in the help output:


# /sbin/iscsiadm       
iscsiadm -m discovery2 [ -hV ] [ -d debug_level ] [-P printlevel] [ -t type -p ip:port -I ifaceN ... [ -Dl ] ] | [ [ -p ip:port -t type] [ -o operation ] [ -n name ] [ -v value ] [ -lD ] ] 
iscsiadm -m discovery [ -hV ] [ -d debug_level ] [-P printlevel] [ -t type -p ip:port -I ifaceN ... [ -l ] ] | [ [ -p ip:port ] [ -l | -D ] ] 
iiscsiadm -m node [ -hV ] [ -d debug_level ] [ -P printlevel ] [ -L all,manual,automatic ] [ -U all,manual,automatic ] [ -S ] [ [ -T targetname -p ip:port -I ifaceN ] [ -l | -u | -R | -s] ] [ [ -o  operation  ] [ -n name ] [ -v value ] ]
iscsiadm -m session [ -hV ] [ -d debug_level ] [ -P  printlevel] [ -r sessionid | sysfsdir [ -R | -u | -s ] [ -o operation ] [ -n name ] [ -v value ] ]
iscsiadm -m iface [ -hV ] [ -d debug_level ] [ -P printlevel ] [ -I ifacename ] [ [ -o  operation  ] [ -n name ] [ -v value ] ]
iscsiadm -m fw [ -l ]
iscsiadm -m host [ -P printlevel ] [ -H hostno ]
iscsiadm -k priority



But it doesn't accept this mode as a valid one.
Manual for iscsiadm shows discoverydb mode instead and this is in fact what is accepted.

Comment 1 Mike Christie 2011-06-20 15:31:42 UTC
Thanks. Sending fix upstream now. This will be in rhel 5.8.

Comment 5 Gris Ge 2012-01-12 03:31:51 UTC
iscsi-initiator-utils-6.2.0.872-13.el5 show correct output of help contents.

VERIFY

Comment 6 errata-xmlrpc 2012-02-21 06:36:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0263.html


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