<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/cli/src/cli-xml-output.c, branch v3.7.16</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>cli/xml: Fix wrong XML format in volume get command</title>
<updated>2016-07-29T19:36:55+00:00</updated>
<author>
<name>Aravinda VK</name>
<email>avishwan@redhat.com</email>
</author>
<published>2016-07-15T13:19:32+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=aa2c33c8104e4870b66f7c5ed52ca7f3daff30a2'/>
<id>aa2c33c8104e4870b66f7c5ed52ca7f3daff30a2</id>
<content type='text'>
Without this Patch,
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volGetopts&gt;
    &lt;count&gt;258&lt;/count&gt;
    &lt;Option&gt;cluster.lookup-unhashed&lt;/Option&gt;
    &lt;Value&gt;on&lt;/Value&gt;
    &lt;Option&gt;cluster.lookup-optimize&lt;/Option&gt;
    &lt;Value&gt;off&lt;/Value&gt;
    &lt;Option&gt;cluster.min-free-disk&lt;/Option&gt;
    &lt;Value&gt;10%&lt;/Value&gt;
    &lt;Option&gt;cluster.min-free-inodes&lt;/Option&gt;
    &lt;Value&gt;5%&lt;/Value&gt;...

With this patch,
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volGetopts&gt;
    &lt;count&gt;258&lt;/count&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.lookup-unhashed&lt;/Option&gt;
        &lt;Value&gt;on&lt;/Value&gt;
    &lt;/Opt&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.lookup-optimize&lt;/Option&gt;
        &lt;Value&gt;off&lt;/Value&gt;
    &lt;/Opt&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.min-free-disk&lt;/Option&gt;
        &lt;Value&gt;10%&lt;/Value&gt;
    &lt;/Opt&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.min-free-inodes&lt;/Option&gt;
        &lt;Value&gt;5%&lt;/Value&gt;
    &lt;/Opt&gt;...

BUG: 1357766
Change-Id: I6c5a040f659f2244ddcd47c57882b4f300cbe52f
Signed-off-by: Aravinda VK &lt;avishwan@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14931
(cherry picked from commit bc0b106f0ae8ecd336c7689917e46bc2685603c8)
Reviewed-on: http://review.gluster.org/14949
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.org&gt;
Smoke: Gluster Build System &lt;jenkins@build.gluster.org&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this Patch,
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volGetopts&gt;
    &lt;count&gt;258&lt;/count&gt;
    &lt;Option&gt;cluster.lookup-unhashed&lt;/Option&gt;
    &lt;Value&gt;on&lt;/Value&gt;
    &lt;Option&gt;cluster.lookup-optimize&lt;/Option&gt;
    &lt;Value&gt;off&lt;/Value&gt;
    &lt;Option&gt;cluster.min-free-disk&lt;/Option&gt;
    &lt;Value&gt;10%&lt;/Value&gt;
    &lt;Option&gt;cluster.min-free-inodes&lt;/Option&gt;
    &lt;Value&gt;5%&lt;/Value&gt;...

With this patch,
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volGetopts&gt;
    &lt;count&gt;258&lt;/count&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.lookup-unhashed&lt;/Option&gt;
        &lt;Value&gt;on&lt;/Value&gt;
    &lt;/Opt&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.lookup-optimize&lt;/Option&gt;
        &lt;Value&gt;off&lt;/Value&gt;
    &lt;/Opt&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.min-free-disk&lt;/Option&gt;
        &lt;Value&gt;10%&lt;/Value&gt;
    &lt;/Opt&gt;
    &lt;Opt&gt;
        &lt;Option&gt;cluster.min-free-inodes&lt;/Option&gt;
        &lt;Value&gt;5%&lt;/Value&gt;
    &lt;/Opt&gt;...

BUG: 1357766
Change-Id: I6c5a040f659f2244ddcd47c57882b4f300cbe52f
Signed-off-by: Aravinda VK &lt;avishwan@redhat.com&gt;
Reviewed-on: http://review.gluster.org/14931
(cherry picked from commit bc0b106f0ae8ecd336c7689917e46bc2685603c8)
Reviewed-on: http://review.gluster.org/14949
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.org&gt;
Smoke: Gluster Build System &lt;jenkins@build.gluster.org&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Vijay Bellur &lt;vbellur@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Cli/tier: separating services from cold bricks in xml</title>
<updated>2016-03-22T09:05:57+00:00</updated>
<author>
<name>hari</name>
<email>hgowtham@redhat.com</email>
</author>
<published>2015-12-28T10:34:50+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=35c401430a964f62d7e13db5d2294e43b2bba36a'/>
<id>35c401430a964f62d7e13db5d2294e43b2bba36a</id>
<content type='text'>
        back-port of : http://review.gluster.org/#/c/13101/

fix: The cold bricks tag included the processes also.
The patch has removed the processes from being mentioned
inside the cold brick tag and are mentioned below by
closing the cold brick tag after the brick count.

Previous output:
        &lt;coldBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;192.168.1.102&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/b3&lt;/path&gt;
            &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49157&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49157&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;1160&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;NFS Server&lt;/hostname&gt;
            &lt;path&gt;localhost&lt;/path&gt;
            &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
            &lt;status&gt;0&lt;/status&gt;
            &lt;port&gt;N/A&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;N/A&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;-1&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBricks&gt;

Expected output:
        &lt;coldBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;192.168.1.102&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/b3&lt;/path&gt;
            &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49157&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49157&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;1160&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBricks&gt;
        &lt;node&gt;
          &lt;hostname&gt;NFS Server&lt;/hostname&gt;
          &lt;path&gt;localhost&lt;/path&gt;
          &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
          &lt;status&gt;0&lt;/status&gt;
          &lt;port&gt;N/A&lt;/port&gt;
          &lt;ports&gt;
            &lt;tcp&gt;N/A&lt;/tcp&gt;
            &lt;rdma&gt;N/A&lt;/rdma&gt;
          &lt;/ports&gt;
          &lt;pid&gt;-1&lt;/pid&gt;
        &lt;/node&gt;

&gt;Change-Id: Ieccd017d7b2edb16786323f1a76402f020bdfb0d
&gt;BUG: 1294497
&gt;Signed-off-by: hari &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/13101
&gt;Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Tested-by: hari gowtham &lt;hari.gowtham005@gmail.com&gt;
&gt;NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;

Change-Id: Ia207b4f8140c7a449ca3e3e2c90e5f69dac88d57
BUG: 1318505
Signed-off-by: hari &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13757
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Tested-by: hari gowtham &lt;hari.gowtham005@gmail.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        back-port of : http://review.gluster.org/#/c/13101/

fix: The cold bricks tag included the processes also.
The patch has removed the processes from being mentioned
inside the cold brick tag and are mentioned below by
closing the cold brick tag after the brick count.

Previous output:
        &lt;coldBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;192.168.1.102&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/b3&lt;/path&gt;
            &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49157&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49157&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;1160&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;NFS Server&lt;/hostname&gt;
            &lt;path&gt;localhost&lt;/path&gt;
            &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
            &lt;status&gt;0&lt;/status&gt;
            &lt;port&gt;N/A&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;N/A&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;-1&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBricks&gt;

Expected output:
        &lt;coldBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;192.168.1.102&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/b3&lt;/path&gt;
            &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49157&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49157&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;1160&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBricks&gt;
        &lt;node&gt;
          &lt;hostname&gt;NFS Server&lt;/hostname&gt;
          &lt;path&gt;localhost&lt;/path&gt;
          &lt;peerid&gt;8c088528-e1aee3b2b40f&lt;/peerid&gt;
          &lt;status&gt;0&lt;/status&gt;
          &lt;port&gt;N/A&lt;/port&gt;
          &lt;ports&gt;
            &lt;tcp&gt;N/A&lt;/tcp&gt;
            &lt;rdma&gt;N/A&lt;/rdma&gt;
          &lt;/ports&gt;
          &lt;pid&gt;-1&lt;/pid&gt;
        &lt;/node&gt;

&gt;Change-Id: Ieccd017d7b2edb16786323f1a76402f020bdfb0d
&gt;BUG: 1294497
&gt;Signed-off-by: hari &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/13101
&gt;Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Tested-by: hari gowtham &lt;hari.gowtham005@gmail.com&gt;
&gt;NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;

Change-Id: Ia207b4f8140c7a449ca3e3e2c90e5f69dac88d57
BUG: 1318505
Signed-off-by: hari &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13757
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Tested-by: hari gowtham &lt;hari.gowtham005@gmail.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: Add arbiter details to volinfo xml output</title>
<updated>2016-01-22T05:28:08+00:00</updated>
<author>
<name>Ravishankar N</name>
<email>ravishankar@redhat.com</email>
</author>
<published>2016-01-18T06:49:35+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=aabbb0a1c1f65b34d05ce5e2a49ecc5c1c5e738f'/>
<id>aabbb0a1c1f65b34d05ce5e2a49ecc5c1c5e738f</id>
<content type='text'>
Backport of  http://review.gluster.org/13229

The followig are added:
1. "&lt;arbiterCount&gt;1&lt;/arbiterCount&gt;" and
"&lt;coldarbiterCount&gt;1&lt;/coldarbiterCount&gt;"

2. "&lt;isArbiter&gt;0&lt;/isArbiter&gt;" on the brick info, like so:
&lt;brick
uuid="cafa8612-d7d4-4007-beea-72ae7477f3bb"&gt;127.0.0.2:/home/ravi/bricks/brick1
&lt;name&gt;127.0.0.2:/home/ravi/bricks/brick1&lt;/name&gt;
&lt;hostUuid&gt;cafa8612-d7d4-4007-beea-72ae7477f3bb&lt;/hostUuid&gt;
&lt;isArbiter&gt;0&lt;/isArbiter&gt;
&lt;/brick&gt;

Also fix a bug in gluster vol info where the abiter brick was shown the
wrong brick of the cold tier after performing a tier-attach.

Change-Id: Id978325d02b04f1a08856427827320e169169810
BUG: 1300174
Signed-off-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13263
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anuradha Talur &lt;atalur@redhat.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backport of  http://review.gluster.org/13229

The followig are added:
1. "&lt;arbiterCount&gt;1&lt;/arbiterCount&gt;" and
"&lt;coldarbiterCount&gt;1&lt;/coldarbiterCount&gt;"

2. "&lt;isArbiter&gt;0&lt;/isArbiter&gt;" on the brick info, like so:
&lt;brick
uuid="cafa8612-d7d4-4007-beea-72ae7477f3bb"&gt;127.0.0.2:/home/ravi/bricks/brick1
&lt;name&gt;127.0.0.2:/home/ravi/bricks/brick1&lt;/name&gt;
&lt;hostUuid&gt;cafa8612-d7d4-4007-beea-72ae7477f3bb&lt;/hostUuid&gt;
&lt;isArbiter&gt;0&lt;/isArbiter&gt;
&lt;/brick&gt;

Also fix a bug in gluster vol info where the abiter brick was shown the
wrong brick of the cold tier after performing a tier-attach.

Change-Id: Id978325d02b04f1a08856427827320e169169810
BUG: 1300174
Signed-off-by: Ravishankar N &lt;ravishankar@redhat.com&gt;
Reviewed-on: http://review.gluster.org/13263
Smoke: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anuradha Talur &lt;atalur@redhat.com&gt;
NetBSD-regression: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
CentOS-regression: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Pranith Kumar Karampuri &lt;pkarampu@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cli/xml: display correct xml output of tier volume</title>
<updated>2015-12-23T00:29:14+00:00</updated>
<author>
<name>Gaurav Kumar Garg</name>
<email>garg.gaurav52@gmail.com</email>
</author>
<published>2015-12-16T12:34:55+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=86fa1507a15eb9e1e4a8e1e83785b5a46eee9aa4'/>
<id>86fa1507a15eb9e1e4a8e1e83785b5a46eee9aa4</id>
<content type='text'>
This patch is backport of: http://review.gluster.org/#/c/12982/

Currently When hot tier type is distributed-replicate and cold tier
type is disperse volume then #gluster volume info --xml command is
not giving its correct output. In case of HOT tier case its displaying
wrong volume type.

With this fix it will show correct xml output for tier volume
irrespective of all the type of the volume's.

  &gt;&gt; Change-Id: If1de8d52d1e0ef3d0523163abed37b2b571715e8
  &gt;&gt; BUG: 1293309
  &gt;&gt; Signed-off-by: Gaurav Kumar Garg &lt;ggarg@redhat.com&gt;
  &gt;&gt; Reviewed-on: http://review.gluster.org/12982
  &gt;&gt; Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
  &gt;&gt; Reviewed-by: mohammed rafi  kc &lt;rkavunga@redhat.com&gt;
  &gt;&gt; Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
  &gt;&gt; Reviewed-by: Kotresh HR &lt;khiremat@redhat.com&gt;
  &gt;&gt; Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;

Change-Id: If1de8d52d1e0ef3d0523163abed37b2b571715e8
BUG: 1293309
Signed-off-by: Gaurav Kumar Garg &lt;ggarg@redhat.com&gt;
(cherry picked from commit b0e126d0edf10946701c2fd4f0f1cf8c7b07eda1)
Reviewed-on: http://review.gluster.org/13042
Reviewed-by: hari gowtham &lt;hari.gowtham005@gmail.com&gt;
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is backport of: http://review.gluster.org/#/c/12982/

Currently When hot tier type is distributed-replicate and cold tier
type is disperse volume then #gluster volume info --xml command is
not giving its correct output. In case of HOT tier case its displaying
wrong volume type.

With this fix it will show correct xml output for tier volume
irrespective of all the type of the volume's.

  &gt;&gt; Change-Id: If1de8d52d1e0ef3d0523163abed37b2b571715e8
  &gt;&gt; BUG: 1293309
  &gt;&gt; Signed-off-by: Gaurav Kumar Garg &lt;ggarg@redhat.com&gt;
  &gt;&gt; Reviewed-on: http://review.gluster.org/12982
  &gt;&gt; Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
  &gt;&gt; Reviewed-by: mohammed rafi  kc &lt;rkavunga@redhat.com&gt;
  &gt;&gt; Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
  &gt;&gt; Reviewed-by: Kotresh HR &lt;khiremat@redhat.com&gt;
  &gt;&gt; Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;

Change-Id: If1de8d52d1e0ef3d0523163abed37b2b571715e8
BUG: 1293309
Signed-off-by: Gaurav Kumar Garg &lt;ggarg@redhat.com&gt;
(cherry picked from commit b0e126d0edf10946701c2fd4f0f1cf8c7b07eda1)
Reviewed-on: http://review.gluster.org/13042
Reviewed-by: hari gowtham &lt;hari.gowtham005@gmail.com&gt;
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>quota: show used_space,(file,dir) count even when quota limit is not set</title>
<updated>2015-12-10T14:14:53+00:00</updated>
<author>
<name>Manikandan Selvaganesh</name>
<email>mselvaga@redhat.com</email>
</author>
<published>2015-11-24T18:34:39+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=e0b2bcf34b57f75a244ef88341b0f3d5990c768b'/>
<id>e0b2bcf34b57f75a244ef88341b0f3d5990c768b</id>
<content type='text'>
Problem:
As of now quota 'list/list-objects' will list the usage only if limit is
set for every directory else it will fail with ENOATTR(If inode/inode-quota
is already configured for the first time).

Feature:
With the patch we are enhancing this command to list the usage even
if quota limit is not set but still the user has to configure
inode/inode-quota for the first time.

Example:
Consider we have /client/dir and /client1(absolute path from mount point):
Quota limit is set only on /client. when we try listing /client/dir or /client1,
it shows "Limit not set".

Fix:
The patch fixes this by showing "used space" in case of list command and
shows "file_count" &amp; "dir_count" in case of list-objects command. This works
fine with xml output as well.

Backport of http://review.gluster.org/#/c/12741/

Cherry-picked from commit 608c646cc00e2c1c0b9c87e9fd7cb9e1eb271db2
&gt; Change-Id: I68b08ec77a583b3c7f39fe4d6b15d3d77adb095a
&gt; BUG: 1284752
&gt; Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;

Change-Id: I68b08ec77a583b3c7f39fe4d6b15d3d77adb095a
BUG: 1289063
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12893
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
As of now quota 'list/list-objects' will list the usage only if limit is
set for every directory else it will fail with ENOATTR(If inode/inode-quota
is already configured for the first time).

Feature:
With the patch we are enhancing this command to list the usage even
if quota limit is not set but still the user has to configure
inode/inode-quota for the first time.

Example:
Consider we have /client/dir and /client1(absolute path from mount point):
Quota limit is set only on /client. when we try listing /client/dir or /client1,
it shows "Limit not set".

Fix:
The patch fixes this by showing "used space" in case of list command and
shows "file_count" &amp; "dir_count" in case of list-objects command. This works
fine with xml output as well.

Backport of http://review.gluster.org/#/c/12741/

Cherry-picked from commit 608c646cc00e2c1c0b9c87e9fd7cb9e1eb271db2
&gt; Change-Id: I68b08ec77a583b3c7f39fe4d6b15d3d77adb095a
&gt; BUG: 1284752
&gt; Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;

Change-Id: I68b08ec77a583b3c7f39fe4d6b15d3d77adb095a
BUG: 1289063
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12893
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gluster v status --xml for a replicated hot tier volume</title>
<updated>2015-10-10T18:32:09+00:00</updated>
<author>
<name>hari gowtham</name>
<email>hgowtham@redhat.com</email>
</author>
<published>2015-10-05T10:47:02+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=e3e25e81e53fb8c5fdea315a52bca73e3176ef05'/>
<id>e3e25e81e53fb8c5fdea315a52bca73e3176ef05</id>
<content type='text'>
        back port of : http://review.gluster.org/#/c/12302/

&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volStatus&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;volName&gt;tiervol&lt;/volName&gt;
        &lt;nodeCount&gt;11&lt;/nodeCount&gt;
        &lt;hotBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b5_2&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49164&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49164&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8684&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b5_1&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49163&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49163&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8687&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b4_2&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49162&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49162&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8699&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b4_1&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49161&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49161&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8708&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/hotBricks&gt;
        &lt;coldBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b1_1&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49155&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49155&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8716&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b1_2&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49156&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49156&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8724&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;NFS Server&lt;/hostname&gt;
            &lt;path&gt;localhost&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;2049&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;2049&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8678&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBricks&gt;
        &lt;tasks&gt;
          &lt;task&gt;
            &lt;type&gt;Tier migration&lt;/type&gt;
            &lt;id&gt;975bfcfa-077c-4edb-beba-409c2013f637&lt;/id&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;statusStr&gt;in progress&lt;/statusStr&gt;
          &lt;/task&gt;
        &lt;/tasks&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volStatus&gt;
&lt;/cliOutput&gt;
&gt;Change-Id: I69252a36b6e6b2f3cbe5db06e9a716f504a1dba4
&gt;BUG: 1268810
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12302
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Reviewed-by: Anand Nekkunti &lt;anekkunt@redhat.com&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;

Change-Id: Id354d0969dc7665f082c4d95a423e087878cdb68
BUG: 1269125
Signed-off-by: Hari Gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12322
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        back port of : http://review.gluster.org/#/c/12302/

&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volStatus&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;volName&gt;tiervol&lt;/volName&gt;
        &lt;nodeCount&gt;11&lt;/nodeCount&gt;
        &lt;hotBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b5_2&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49164&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49164&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8684&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b5_1&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49163&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49163&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8687&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b4_2&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49162&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49162&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8699&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b4_1&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49161&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49161&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8708&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/hotBricks&gt;
        &lt;coldBricks&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b1_1&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49155&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49155&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8716&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/b1_2&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49156&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49156&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8724&lt;/pid&gt;
          &lt;/node&gt;
          &lt;node&gt;
            &lt;hostname&gt;NFS Server&lt;/hostname&gt;
            &lt;path&gt;localhost&lt;/path&gt;
            &lt;peerid&gt;149ac603-8078-41c5-8f71-7373f2a3016f&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;2049&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;2049&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;8678&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBricks&gt;
        &lt;tasks&gt;
          &lt;task&gt;
            &lt;type&gt;Tier migration&lt;/type&gt;
            &lt;id&gt;975bfcfa-077c-4edb-beba-409c2013f637&lt;/id&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;statusStr&gt;in progress&lt;/statusStr&gt;
          &lt;/task&gt;
        &lt;/tasks&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volStatus&gt;
&lt;/cliOutput&gt;
&gt;Change-Id: I69252a36b6e6b2f3cbe5db06e9a716f504a1dba4
&gt;BUG: 1268810
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12302
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Reviewed-by: Anand Nekkunti &lt;anekkunt@redhat.com&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;

Change-Id: Id354d0969dc7665f082c4d95a423e087878cdb68
BUG: 1269125
Signed-off-by: Hari Gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12322
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tier/cli: number of bricks remains the same in v info --xml</title>
<updated>2015-10-09T06:24:19+00:00</updated>
<author>
<name>hari gowtham</name>
<email>hgowtham@redhat.com</email>
</author>
<published>2015-10-05T11:43:44+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=9e0c2c9d5e9b4f5df644911e29be4a611e0d2d42'/>
<id>9e0c2c9d5e9b4f5df644911e29be4a611e0d2d42</id>
<content type='text'>
        back port of : http://review.gluster.org/#/c/12303/1

The number of bricks count remains one for the cold type.

Actual result:
&lt;numberOfBricks&gt;1 x 2 = 2&lt;/numberOfBricks&gt;

Expected result:
&lt;numberOfBricks&gt;3 x 2 = 6&lt;/numberOfBricks&gt;

&gt;Change-Id: I31480a7808b248ef9ea805cb64f7663d44647ddf
&gt;BUG: 1268822
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12303
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;

Change-Id: Ie533bddcc5c7a518c1d6d942e73258f3610cca33
BUG: 1269344
Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12307
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        back port of : http://review.gluster.org/#/c/12303/1

The number of bricks count remains one for the cold type.

Actual result:
&lt;numberOfBricks&gt;1 x 2 = 2&lt;/numberOfBricks&gt;

Expected result:
&lt;numberOfBricks&gt;3 x 2 = 6&lt;/numberOfBricks&gt;

&gt;Change-Id: I31480a7808b248ef9ea805cb64f7663d44647ddf
&gt;BUG: 1268822
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12303
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;

Change-Id: Ie533bddcc5c7a518c1d6d942e73258f3610cca33
BUG: 1269344
Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12307
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Atin Mukherjee &lt;amukherj@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>quota : xml output modified to give exact available space in bytes</title>
<updated>2015-10-05T07:15:50+00:00</updated>
<author>
<name>Manikandan Selvaganesh</name>
<email>mselvaga@redhat.com</email>
</author>
<published>2015-09-09T07:33:37+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=df06d94fae1e4a5e93f00c26d4b377bd8d1bd352'/>
<id>df06d94fae1e4a5e93f00c26d4b377bd8d1bd352</id>
<content type='text'>
Currrently, 'gluster v quota &lt;VOLNAME&gt; list' command rounds off the
available space and shows it to the user. Now, 'gluster v quota
&lt;VOLNAME&gt; list --xml' command is modified to show the exact available
space in bytes.

Backport of http://review.gluster.org/#/c/12137/

&gt; Change-Id: I3772e036a2537c1df12f22cf32dfe4ac7940988f
&gt; BUG: 1261404
&gt; Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;

Change-Id: I3772e036a2537c1df12f22cf32dfe4ac7940988f
BUG: 1267817
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12267
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currrently, 'gluster v quota &lt;VOLNAME&gt; list' command rounds off the
available space and shows it to the user. Now, 'gluster v quota
&lt;VOLNAME&gt; list --xml' command is modified to show the exact available
space in bytes.

Backport of http://review.gluster.org/#/c/12137/

&gt; Change-Id: I3772e036a2537c1df12f22cf32dfe4ac7940988f
&gt; BUG: 1261404
&gt; Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;

Change-Id: I3772e036a2537c1df12f22cf32dfe4ac7940988f
BUG: 1267817
Signed-off-by: Manikandan Selvaganesh &lt;mselvaga@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12267
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Kaushal M &lt;kaushal@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tier/cli: tier related information in volume info xml</title>
<updated>2015-09-29T15:44:58+00:00</updated>
<author>
<name>hari gowtham</name>
<email>hgowtham@redhat.com</email>
</author>
<published>2015-09-10T14:45:35+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=bb61acbda8e92b84e8f0b827bdc369a838dd978c'/>
<id>bb61acbda8e92b84e8f0b827bdc369a838dd978c</id>
<content type='text'>
        back port of : http://review.gluster.org/#/c/12158/

gluster v info didnt differentiate the hot bricks and cold bricks
and other few values

&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volInfo&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;name&gt;rmbr&lt;/name&gt;
        &lt;id&gt;72d223fc-96ba-4f4a-ac6e-0d0bc16ef127&lt;/id&gt;
        &lt;status&gt;1&lt;/status&gt;
        &lt;statusStr&gt;Started&lt;/statusStr&gt;
        &lt;brickCount&gt;3&lt;/brickCount&gt;
        &lt;distCount&gt;1&lt;/distCount&gt;
        &lt;stripeCount&gt;1&lt;/stripeCount&gt;
        &lt;replicaCount&gt;1&lt;/replicaCount&gt;
        &lt;disperseCount&gt;0&lt;/disperseCount&gt;
        &lt;redundancyCount&gt;0&lt;/redundancyCount&gt;
        &lt;type&gt;5&lt;/type&gt;
        &lt;typeStr&gt;Tier&lt;/typeStr&gt;
        &lt;transport&gt;0&lt;/transport&gt;
        &lt;xlators/&gt;
        &lt;bricks&gt;
          &lt;hotBricks&gt;
            &lt;hotBrickType&gt;Distribute&lt;/hotBrickType&gt;
            &lt;numberOfBricks&gt;1&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/hb1&lt;name&gt;v1:/hb1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
          &lt;/hotBricks&gt;
          &lt;coldBricks&gt;
            &lt;coldBrickType&gt;Distribute&lt;/coldBrickType&gt;
            &lt;numberOfBricks&gt;2&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/br1&lt;name&gt;v1:/br1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;brick uuid="81"&gt;v1:/br2&lt;name&gt;v1:/br2&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;count&gt;0&lt;/count&gt;
          &lt;/coldBricks&gt;
        &lt;/bricks&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volInfo&gt;
&lt;/cliOutput&gt;

&gt;Change-Id: I6e52541bb6d8a6a17e17bfcb42434beaac13db56
&gt;BUG: 1261837
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12158
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Signed-off-by: Hari Gowtham &lt;hgowtham@redhat.com&gt;

Change-Id: I6e504138973bcd3fa5ba93f1ccc812f1baacf6d9
BUG: 1258338
Reviewed-on: http://review.gluster.org/12251
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        back port of : http://review.gluster.org/#/c/12158/

gluster v info didnt differentiate the hot bricks and cold bricks
and other few values

&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volInfo&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;name&gt;rmbr&lt;/name&gt;
        &lt;id&gt;72d223fc-96ba-4f4a-ac6e-0d0bc16ef127&lt;/id&gt;
        &lt;status&gt;1&lt;/status&gt;
        &lt;statusStr&gt;Started&lt;/statusStr&gt;
        &lt;brickCount&gt;3&lt;/brickCount&gt;
        &lt;distCount&gt;1&lt;/distCount&gt;
        &lt;stripeCount&gt;1&lt;/stripeCount&gt;
        &lt;replicaCount&gt;1&lt;/replicaCount&gt;
        &lt;disperseCount&gt;0&lt;/disperseCount&gt;
        &lt;redundancyCount&gt;0&lt;/redundancyCount&gt;
        &lt;type&gt;5&lt;/type&gt;
        &lt;typeStr&gt;Tier&lt;/typeStr&gt;
        &lt;transport&gt;0&lt;/transport&gt;
        &lt;xlators/&gt;
        &lt;bricks&gt;
          &lt;hotBricks&gt;
            &lt;hotBrickType&gt;Distribute&lt;/hotBrickType&gt;
            &lt;numberOfBricks&gt;1&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/hb1&lt;name&gt;v1:/hb1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
          &lt;/hotBricks&gt;
          &lt;coldBricks&gt;
            &lt;coldBrickType&gt;Distribute&lt;/coldBrickType&gt;
            &lt;numberOfBricks&gt;2&lt;/numberOfBricks&gt;
            &lt;brick uuid="81"&gt;v1:/br1&lt;name&gt;v1:/br1&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;brick uuid="81"&gt;v1:/br2&lt;name&gt;v1:/br2&lt;/name&gt;&lt;hostUuid&gt;81&lt;/hostUuid&gt;&lt;/brick&gt;
            &lt;count&gt;0&lt;/count&gt;
          &lt;/coldBricks&gt;
        &lt;/bricks&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volInfo&gt;
&lt;/cliOutput&gt;

&gt;Change-Id: I6e52541bb6d8a6a17e17bfcb42434beaac13db56
&gt;BUG: 1261837
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12158
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Signed-off-by: Hari Gowtham &lt;hgowtham@redhat.com&gt;

Change-Id: I6e504138973bcd3fa5ba93f1ccc812f1baacf6d9
BUG: 1258338
Reviewed-on: http://review.gluster.org/12251
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Tier/cli: tier related information in volume status command</title>
<updated>2015-09-22T15:11:56+00:00</updated>
<author>
<name>hari gowtham</name>
<email>hgowtham@redhat.com</email>
</author>
<published>2015-09-15T05:37:03+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=c94f5bdf309f024c30cc4796b528edb1e1b4a48b'/>
<id>c94f5bdf309f024c30cc4796b528edb1e1b4a48b</id>
<content type='text'>
        back port of : http://review.gluster.org/#/c/12176/


&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volStatus&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;volName&gt;v1&lt;/volName&gt;
        &lt;nodeCount&gt;5&lt;/nodeCount&gt;
        &lt;hotBrick&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/hbr1&lt;/path&gt;
            &lt;peerid&gt;137e2a4f-2bde-4a97-b3f3-470a2e092155&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49154&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49154&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;6535&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/hotBrick&gt;
        &lt;coldBrick&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/cb1&lt;/path&gt;
            &lt;peerid&gt;137e2a4f-2bde-4a97-b3f3-470a2e092155&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49152&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49152&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;6530&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBrick&gt;
        &lt;coldBrick&gt;
          &lt;node&gt;
            &lt;hostname&gt;NFS Server&lt;/hostname&gt;
            &lt;path&gt;10.70.42.203&lt;/path&gt;
            &lt;peerid&gt;137e2a4f-2bde-4a97-b3f3-470a2e092155&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;2049&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;2049&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;6519&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBrick&gt;
        &lt;tasks&gt;
          &lt;task&gt;
            &lt;type&gt;Rebalance&lt;/type&gt;
            &lt;id&gt;8da729f2-f1b2-4f55-9945-472130be93f7&lt;/id&gt;
            &lt;status&gt;4&lt;/status&gt;
            &lt;statusStr&gt;failed&lt;/statusStr&gt;
          &lt;/task&gt;
        &lt;/tasks&gt;
      &lt;/volume&gt;
        &lt;tasks/&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volStatus&gt;
&lt;/cliOutput&gt;

&gt;Change-Id: Idfdbce47d03ee2cdbf407c57159fd37a2900ad2c
&gt;BUG: 1263100
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12176
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;

Change-Id: Idfdbce47d03ee2cdbf407c57159fd37a2900ad2c
BUG: 1258347 
Signed-off-by: Hari Gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12200
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
        back port of : http://review.gluster.org/#/c/12176/


&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;cliOutput&gt;
  &lt;opRet&gt;0&lt;/opRet&gt;
  &lt;opErrno&gt;0&lt;/opErrno&gt;
  &lt;opErrstr/&gt;
  &lt;volStatus&gt;
    &lt;volumes&gt;
      &lt;volume&gt;
        &lt;volName&gt;v1&lt;/volName&gt;
        &lt;nodeCount&gt;5&lt;/nodeCount&gt;
        &lt;hotBrick&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/hbr1&lt;/path&gt;
            &lt;peerid&gt;137e2a4f-2bde-4a97-b3f3-470a2e092155&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49154&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49154&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;6535&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/hotBrick&gt;
        &lt;coldBrick&gt;
          &lt;node&gt;
            &lt;hostname&gt;10.70.42.203&lt;/hostname&gt;
            &lt;path&gt;/data/gluster/tier/cb1&lt;/path&gt;
            &lt;peerid&gt;137e2a4f-2bde-4a97-b3f3-470a2e092155&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;49152&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;49152&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;6530&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBrick&gt;
        &lt;coldBrick&gt;
          &lt;node&gt;
            &lt;hostname&gt;NFS Server&lt;/hostname&gt;
            &lt;path&gt;10.70.42.203&lt;/path&gt;
            &lt;peerid&gt;137e2a4f-2bde-4a97-b3f3-470a2e092155&lt;/peerid&gt;
            &lt;status&gt;1&lt;/status&gt;
            &lt;port&gt;2049&lt;/port&gt;
            &lt;ports&gt;
              &lt;tcp&gt;2049&lt;/tcp&gt;
              &lt;rdma&gt;N/A&lt;/rdma&gt;
            &lt;/ports&gt;
            &lt;pid&gt;6519&lt;/pid&gt;
          &lt;/node&gt;
        &lt;/coldBrick&gt;
        &lt;tasks&gt;
          &lt;task&gt;
            &lt;type&gt;Rebalance&lt;/type&gt;
            &lt;id&gt;8da729f2-f1b2-4f55-9945-472130be93f7&lt;/id&gt;
            &lt;status&gt;4&lt;/status&gt;
            &lt;statusStr&gt;failed&lt;/statusStr&gt;
          &lt;/task&gt;
        &lt;/tasks&gt;
      &lt;/volume&gt;
        &lt;tasks/&gt;
      &lt;/volume&gt;
    &lt;/volumes&gt;
  &lt;/volStatus&gt;
&lt;/cliOutput&gt;

&gt;Change-Id: Idfdbce47d03ee2cdbf407c57159fd37a2900ad2c
&gt;BUG: 1263100
&gt;Signed-off-by: hari gowtham &lt;hgowtham@redhat.com&gt;
&gt;Reviewed-on: http://review.gluster.org/12176
&gt;Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
&gt;Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
&gt;Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;

Change-Id: Idfdbce47d03ee2cdbf407c57159fd37a2900ad2c
BUG: 1258347 
Signed-off-by: Hari Gowtham &lt;hgowtham@redhat.com&gt;
Reviewed-on: http://review.gluster.org/12200
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Tested-by: NetBSD Build System &lt;jenkins@build.gluster.org&gt;
Reviewed-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
Tested-by: Dan Lambright &lt;dlambrig@redhat.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
