Bug 1555191 - [RFE]: gluster-block: cli command to generate the configuration
Summary: [RFE]: gluster-block: cli command to generate the configuration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gluster-block
Version: cns-3.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: CNS 3.10
Assignee: Prasanna Kumar Kalever
QA Contact: Sweta Anandpara
URL:
Whiteboard:
Depends On: 1566105 1566106 1566107
Blocks: 1568860
TreeView+ depends on / blocked
 
Reported: 2018-03-14 06:21 UTC by Prasanna Kumar Kalever
Modified: 2018-09-12 09:26 UTC (History)
11 users (show)

Fixed In Version: gluster-block-0.2.1-19.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-12 09:25:26 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:55 UTC

Description Prasanna Kumar Kalever 2018-03-14 06:21:09 UTC
Description of problem:

Add a capability in gluster-block to support regeneration of configuration

[0] ॐ 11:48:23@~ $ gluster-block help
gluster-block (e5d3252)
usage:
  gluster-block <command> <volname[/blockname]> [<args>] [--json*]

commands:
[...]
  regenconfig <volname[,volume2,volume3,...]> enable <host>
        regenerate block configuration for volume[s] in list, enabling host.
[...]
supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty


[0] ॐ 11:50:06@~ $ gluster-block regenconfig test,test enable 10.215.99.133
{                            
  "storage_objects":[        
    {
      "attributes":{
        "cmd_time_out":0,
        "dev_size":1073741824
      },
      "config":"glfs\/test.99.133\/block-store\/694c4028-039a-4e28-929e-50a2c0988e95",
      "name":"block",
      "plugin":"user",
      "size":1073741824,
      "wwn":"694c4028-039a-4e28-929e-50a2c0988e95"
    },
...
}

Comment 2 Prasanna Kumar Kalever 2018-03-14 06:32:22 UTC
upstream issue tracker: https://github.com/gluster/gluster-block/issues/52

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