<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gluster-block.git, branch master</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/'/>
<entry>
<title>fix spec file</title>
<updated>2018-03-06T10:12:26+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2018-03-06T09:55:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=8b106204f52b283cdbe7a128c14f851dd54a150c'/>
<id>8b106204f52b283cdbe7a128c14f851dd54a150c</id>
<content type='text'>
also other minor compiler errors

Change-Id: I17625008d91740f3ba9efc6e574ec3dcd0b6c85f
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also other minor compiler errors

Change-Id: I17625008d91740f3ba9efc6e574ec3dcd0b6c85f
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>info: show failed nodes</title>
<updated>2018-03-05T09:43:30+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2018-03-05T07:01:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=305e1c5ffead749fd6ea555b52e46d9e64c9bd55'/>
<id>305e1c5ffead749fd6ea555b52e46d9e64c9bd55</id>
<content type='text'>
$ cat /mnt/block-meta/block
VOLUME: sample
GBID: 9d278e06-b2d1-4050-bd92-c8e8b40a5654
HA: 3
ENTRYCREATE: INPROGRESS
SIZE: 9663676416
ENTRYCREATE: SUCCESS
192.168.0.104: CONFIGSUCCESS
192.168.0.105: CONFIGFAIL
192.168.0.106: CLEANUPFAIL

$ gluster-block info sample/block
NAME: block
VOLUME: sample
GBID: 9d278e06-b2d1-4050-bd92-c8e8b40a5654
SIZE: 9.0 GiB
HA: 3
PASSWORD:
EXPORTED ON: 192.168.0.104
ENCOUNTERED FAILURES ON: 192.168.0.105 192.168.0.106

$ gluster-block info sample/block --json-pretty
{
  "NAME":"block",
  "VOLUME":"sample",
  "GBID":"9d278e06-b2d1-4050-bd92-c8e8b40a5654",
  "SIZE":"9.0 GiB",
  "HA":3,
  "PASSWORD":"",
  "EXPORTED ON":[
    "192.168.0.104"
  ],
  "ENCOUNTERED FAILURES ON":[
    "192.168.0.105",
    "192.168.0.106"
  ]
}

Change-Id: I3d47e75f64719b9eeab661006bf4ccaa629a8408
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$ cat /mnt/block-meta/block
VOLUME: sample
GBID: 9d278e06-b2d1-4050-bd92-c8e8b40a5654
HA: 3
ENTRYCREATE: INPROGRESS
SIZE: 9663676416
ENTRYCREATE: SUCCESS
192.168.0.104: CONFIGSUCCESS
192.168.0.105: CONFIGFAIL
192.168.0.106: CLEANUPFAIL

$ gluster-block info sample/block
NAME: block
VOLUME: sample
GBID: 9d278e06-b2d1-4050-bd92-c8e8b40a5654
SIZE: 9.0 GiB
HA: 3
PASSWORD:
EXPORTED ON: 192.168.0.104
ENCOUNTERED FAILURES ON: 192.168.0.105 192.168.0.106

$ gluster-block info sample/block --json-pretty
{
  "NAME":"block",
  "VOLUME":"sample",
  "GBID":"9d278e06-b2d1-4050-bd92-c8e8b40a5654",
  "SIZE":"9.0 GiB",
  "HA":3,
  "PASSWORD":"",
  "EXPORTED ON":[
    "192.168.0.104"
  ],
  "ENCOUNTERED FAILURES ON":[
    "192.168.0.105",
    "192.168.0.106"
  ]
}

Change-Id: I3d47e75f64719b9eeab661006bf4ccaa629a8408
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>create: split "ROLLBACK ON:" to SUCCESS and FAILURE</title>
<updated>2018-03-05T09:40:27+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-08-29T10:40:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=2c44d5d25adba74f6aa3553bfa33d2909490fde1'/>
<id>2c44d5d25adba74f6aa3553bfa33d2909490fde1</id>
<content type='text'>
Ex: When 192.168.124.179 goes while create is in progress,

$ gluster-block create sample/1 ha 3 192.168.124.208,192.168.124.8,\
                                     192.168.124.179 1GiB --json-pretty;
{
  "IQN":"iqn.2016-12.org.gluster-block:451cfb72-bf63-45ce-83d9-d059c010cbdd",
  "PORTAL(S)":[
    "192.168.124.208:3260",
    "192.168.124.8:3260",
    "192.168.124.179:3260"
  ],
  "ROLLBACK FAILED ON":[
    "192.168.124.179"
  ],
  "ROLLBACK SUCCESS ON":[
    "192.168.124.8",
    "192.168.124.208"
  ],
  "RESULT":"FAIL"
}

Change-Id: Ibb947304154055f7477b80f1850184fb1965416d
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ex: When 192.168.124.179 goes while create is in progress,

$ gluster-block create sample/1 ha 3 192.168.124.208,192.168.124.8,\
                                     192.168.124.179 1GiB --json-pretty;
{
  "IQN":"iqn.2016-12.org.gluster-block:451cfb72-bf63-45ce-83d9-d059c010cbdd",
  "PORTAL(S)":[
    "192.168.124.208:3260",
    "192.168.124.8:3260",
    "192.168.124.179:3260"
  ],
  "ROLLBACK FAILED ON":[
    "192.168.124.179"
  ],
  "ROLLBACK SUCCESS ON":[
    "192.168.124.8",
    "192.168.124.208"
  ],
  "RESULT":"FAIL"
}

Change-Id: Ibb947304154055f7477b80f1850184fb1965416d
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: update README about starting Open-iSCSI service</title>
<updated>2018-03-05T09:20:52+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2018-02-27T08:50:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=66b4672a8c3c4a0f2a4e084ee7f5d19c07410af0'/>
<id>66b4672a8c3c4a0f2a4e084ee7f5d19c07410af0</id>
<content type='text'>
Change-Id: Ifc02424dd5009be8303d75fabc0292fa68b27dc7
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ifc02424dd5009be8303d75fabc0292fa68b27dc7
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>script: remote code decide b/w run|skip the cmd</title>
<updated>2018-02-19T12:50:18+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2018-02-19T11:54:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=094baea9f3ad365aab6e4532b19daec9d281eb75'/>
<id>094baea9f3ad365aab6e4532b19daec9d281eb75</id>
<content type='text'>
Change-Id: Ia20b69a9ec5c18ee2165f4c3e0e4ee244c68a3e9
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia20b69a9ec5c18ee2165f4c3e0e4ee244c68a3e9
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>delete: support [unlink-storage &lt;yes|no&gt;] option</title>
<updated>2018-02-08T07:41:56+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2017-11-29T12:14:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=7008073e1d00c1af0dc5913cdf5d94372f10088d'/>
<id>7008073e1d00c1af0dc5913cdf5d94372f10088d</id>
<content type='text'>
$ gluster-block help
gluster-block (0.3)
usage:
  gluster-block &lt;command&gt; &lt;volname[/blockname]&gt; [&lt;args&gt;] [--json*]

commands:
[...]

  delete  &lt;volname/blockname&gt; [unlink-storage &lt;yes|no&gt;] [force]
        delete block device.
[...]
supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty

Change-Id: I64bc99a8519be6f90a7e8bc5558b0d7518661995
Fixes: #19
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$ gluster-block help
gluster-block (0.3)
usage:
  gluster-block &lt;command&gt; &lt;volname[/blockname]&gt; [&lt;args&gt;] [--json*]

commands:
[...]

  delete  &lt;volname/blockname&gt; [unlink-storage &lt;yes|no&gt;] [force]
        delete block device.
[...]
supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty

Change-Id: I64bc99a8519be6f90a7e8bc5558b0d7518661995
Fixes: #19
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>create: support [storage &lt;filename&gt;] option</title>
<updated>2018-02-08T07:41:40+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2018-02-07T16:10:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=450f7e89116ed104f092dd1a709c0f057150a4f7'/>
<id>450f7e89116ed104f092dd1a709c0f057150a4f7</id>
<content type='text'>
$ gluster-block help
gluster-block (0.3)
usage:
  gluster-block &lt;command&gt; &lt;volname[/blockname]&gt; [&lt;args&gt;] [--json*]

commands:
  create  &lt;volname/blockname&gt; [ha &lt;count&gt;]
                              [auth &lt;enable|disable&gt;]
                              [prealloc &lt;full|no&gt;]
                              [storage &lt;filename&gt;]
                              &lt;host1[,host2,...]&gt; &lt;size&gt;
        create block device [defaults: ha 1, auth disable, prealloc no, size in bytes]
[...]
supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty

Fixes: #18
Change-Id: I5d9b4abb58596bd2297cffb294c6d31f752d53e9
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
$ gluster-block help
gluster-block (0.3)
usage:
  gluster-block &lt;command&gt; &lt;volname[/blockname]&gt; [&lt;args&gt;] [--json*]

commands:
  create  &lt;volname/blockname&gt; [ha &lt;count&gt;]
                              [auth &lt;enable|disable&gt;]
                              [prealloc &lt;full|no&gt;]
                              [storage &lt;filename&gt;]
                              &lt;host1[,host2,...]&gt; &lt;size&gt;
        create block device [defaults: ha 1, auth disable, prealloc no, size in bytes]
[...]
supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty

Fixes: #18
Change-Id: I5d9b4abb58596bd2297cffb294c6d31f752d53e9
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replace strcat and strcpy with their secure versions</title>
<updated>2018-02-08T07:00:49+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2018-01-29T11:32:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=d7ebb697457fc4b8562bb1475a6832f1badb15f8'/>
<id>d7ebb697457fc4b8562bb1475a6832f1badb15f8</id>
<content type='text'>
Change-Id: If98ce7b7e50901ee130bbe190a12664ec0adb8c2
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If98ce7b7e50901ee130bbe190a12664ec0adb8c2
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replace: add replace feature</title>
<updated>2018-02-07T11:19:21+00:00</updated>
<author>
<name>Prasanna Kumar Kalever</name>
<email>prasanna.kalever@redhat.com</email>
</author>
<published>2018-02-05T09:37:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=540e81676b1011dcf85fbe5cd6739a4f2143b2ab'/>
<id>540e81676b1011dcf85fbe5cd6739a4f2143b2ab</id>
<content type='text'>
1. create conf in new node
2. delete conf from old node
3. replace portals from nodes hosting other paths (HA)

$ gluster-block create sample/block ha 3 192.168.124.57,192.168.124.26,192.168.124.30 1GiB --json-pretty
{
  "IQN":"iqn.2016-12.org.gluster-block:d516bb5c-5f56-4d9c-96a7-385df19c2e2c",
  "PORTAL(S)":[
    "192.168.124.57:3260",
    "192.168.124.26:3260",
    "192.168.124.30:3260"
  ],
  "RESULT":"SUCCESS"
}

$ gluster-block help
gluster-block (0.3)
usage:
  gluster-block &lt;command&gt; &lt;volname[/blockname]&gt; [&lt;args&gt;] [--json*]

commands:
[...]
  replace &lt;volname/blockname&gt; &lt;old-node&gt; &lt;new-node&gt; [force]
        replace operations.
[...]

supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty

$ gluster-block replace sample/block 192.168.124.26 192.168.124.56 --json-pretty
{
  "NAME":"block",
  "CREATE SUCCESS":"192.168.124.56",
  "DELETE SUCCESS":"192.168.124.26",
  "REPLACE PORTAL SUCCESS ON":[
    "192.168.124.57",
    "192.168.124.30"
  ],
  "RESULT":"SUCCESS"
}

Fixes: #4
Change-Id: I0411d15c407111db0d423052d9a6bc075174bf90
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. create conf in new node
2. delete conf from old node
3. replace portals from nodes hosting other paths (HA)

$ gluster-block create sample/block ha 3 192.168.124.57,192.168.124.26,192.168.124.30 1GiB --json-pretty
{
  "IQN":"iqn.2016-12.org.gluster-block:d516bb5c-5f56-4d9c-96a7-385df19c2e2c",
  "PORTAL(S)":[
    "192.168.124.57:3260",
    "192.168.124.26:3260",
    "192.168.124.30:3260"
  ],
  "RESULT":"SUCCESS"
}

$ gluster-block help
gluster-block (0.3)
usage:
  gluster-block &lt;command&gt; &lt;volname[/blockname]&gt; [&lt;args&gt;] [--json*]

commands:
[...]
  replace &lt;volname/blockname&gt; &lt;old-node&gt; &lt;new-node&gt; [force]
        replace operations.
[...]

supported JSON formats:
  --json|--json-plain|--json-spaced|--json-pretty

$ gluster-block replace sample/block 192.168.124.26 192.168.124.56 --json-pretty
{
  "NAME":"block",
  "CREATE SUCCESS":"192.168.124.56",
  "DELETE SUCCESS":"192.168.124.26",
  "REPLACE PORTAL SUCCESS ON":[
    "192.168.124.57",
    "192.168.124.30"
  ],
  "RESULT":"SUCCESS"
}

Fixes: #4
Change-Id: I0411d15c407111db0d423052d9a6bc075174bf90
Signed-off-by: Prasanna Kumar Kalever &lt;prasanna.kalever@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gluster-block: Fix build error due to couldn't find the glfs.h</title>
<updated>2018-01-22T02:12:31+00:00</updated>
<author>
<name>Xiubo Li</name>
<email>lixiubo@cmss.chinamobile.com</email>
</author>
<published>2018-01-19T08:24:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/gluster-block.git/commit/?id=f217c0bf9cf464e21c01fa50643b778f236acedb'/>
<id>f217c0bf9cf464e21c01fa50643b778f236acedb</id>
<content type='text'>
When using the newest glusterfs.git, this project couldn't be
build successfully due to lacking the glfs.h header file.

More detail please see glusterfs's commit:
684d62276af37c260671024ce17cb281f493b289

This will still be compatible with older glusterfs's versions.

BUG: 1536908
Change-Id: Ie27a4921daa2b2f989488b167188a9b13569806a
Signed-off-by: Xiubo Li &lt;lixiubo@cmss.chinamobile.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using the newest glusterfs.git, this project couldn't be
build successfully due to lacking the glfs.h header file.

More detail please see glusterfs's commit:
684d62276af37c260671024ce17cb281f493b289

This will still be compatible with older glusterfs's versions.

BUG: 1536908
Change-Id: Ie27a4921daa2b2f989488b167188a9b13569806a
Signed-off-by: Xiubo Li &lt;lixiubo@cmss.chinamobile.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
