[Bugs] [Bug 1399995] New: Dump volume specific options in get-state output in a more parseable manner

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 30 08:48:00 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1399995

            Bug ID: 1399995
           Summary: Dump volume specific options in get-state output in a
                    more parseable manner
           Product: GlusterFS
           Version: mainline
         Component: glusterd
          Assignee: bugs at gluster.org
          Reporter: sbairagy at redhat.com
                CC: bugs at gluster.org



Description of problem:

Currently the get-state cli outputs the volume options in the following format:

Volume1.rebalance.skipped: 0                                                    
Volume1.rebalance.lookedup: 0                                                   
Volume1.rebalance.files: 0                                                      
Volume1.rebalance.data: 0Bytes                                                  
[Volume1.options]                                                               
features.barrier: on                                                            
transport.address-family: inet                                                  
performance.readdir-ahead: on                                                   
nfs.disable: on                                                                 

Volume2.name: tv2                                                         
Volume2.id: 35854708-bb72-45a5-bdbd-77c51e5ebfb9                                
Volume2.type: Distribute

This above format is a valid ini file format syntactically, but is not very
easily parseable. The following format should be more easily parseable:

Volume1.rebalance.skipped: 0
Volume1.rebalance.lookedup: 0
Volume1.rebalance.files: 0
Volume1.rebalance.data: 0Bytes
Volume1.options.features.barrier: on
Volume1.options.transport.address-family: inet
Volume1.options.performance.readdir-ahead: on
Volume1.options.nfs.disable: on

Volume2.name: tv2
Volume2.id: 35854708-bb72-45a5-bdbd-77c51e5ebfb9
Volume2.type: Distribute


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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list