Bug 1467531 - [gluster-block]: Block create help does not show the new option "prealloc <full|no>"
Summary: [gluster-block]: Block create help does not show the new option "prealloc <fu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: cns-3.9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: CNS 3.10
Assignee: Prasanna Kumar Kalever
QA Contact: Sweta Anandpara
URL:
Whiteboard:
Depends On:
Blocks: 1545101 1568861
TreeView+ depends on / blocked
 
Reported: 2017-07-04 07:08 UTC by Sweta Anandpara
Modified: 2018-09-12 09:26 UTC (History)
4 users (show)

Fixed In Version: gluster-block-0.2.1-14.1.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1545101 (view as bug list)
Environment:
Last Closed: 2018-09-12 09:25:17 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2691 0 None None None 2018-09-12 09:26:31 UTC

Description Sweta Anandpara 2017-07-04 07:08:50 UTC
Description of problem:
======================
While verifying bug 1459839, noticed that gluster-block create help has no mention of newly added "prealloc <full|no>" option. 

[root@dhcp47-121 ~]# gluster-block create
Inadequate arguments for create:
gluster-block create <volname/blockname> [ha <count>] [auth enable|disable] <HOST1[,HOST2,...]> <size> [--json*]
[root@dhcp47-121 ~]# 

"gluster-block help" does list it under the create section though. It seems to have gotten missed adding the same in "gluster-block create help"

Though a minor change, I would consider this important if we are exposing the gluster-block CLI to the user. If not, we could choose to live with it .. as the api calls in CNS environment are not going to be affected with this.


Version-Release number of selected component (if applicable):
=============================================================
glusterfs-3.8.4-31, gluster-block-0.2.1-3


How reproducible:
=================
Always

Additional info:
==================

[root@dhcp47-121 ~]# gluster-block 
gluster-block (0.2.1)
usage:
  gluster-block <command> <volname[/blockname]> [<args>] [--json*]

commands:
  create  <volname/blockname> [ha <count>]
                              [auth <enable|disable>]
                              [prealloc <full|no>]
                              <host1[,host2,...]> <size>
        create block device [defaults: ha 1, auth disable, prealloc no]

  list    <volname>
        list available block devices.

  info    <volname/blockname>
        details about block device.

  delete  <volname/blockname>
        delete block device.

  modify  <volname/blockname> <auth enable|disable>
        modify block device.

  help
        show this message and exit.

  version
        show version info and exit.

supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty
unknown option: (null)
[root@dhcp47-121 ~]#

Comment 2 Sweta Anandpara 2017-07-04 08:23:19 UTC
Wrongly marked this as blocker. Removing it..

Comment 4 Prasanna Kumar Kalever 2017-07-07 11:26:31 UTC
Patch:
https://review.gluster.org/#/c/17726/

Comment 10 errata-xmlrpc 2018-09-12 09:25:17 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.

https://access.redhat.com/errata/RHEA-2018:2691


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