<div dir="ltr">Hi,<br><br>i&#39;m trying to create a volume using glusterd2 however curl does not return anything and in verbose mode i get the above mentioned error,  the only gluster service on the hosts is &quot;glusterd2.service&quot;<div><br><div>/var/log/glusterd2/glusterd2.log:</div><div>time=&quot;2018-08-13 18:05:15.395479&quot; level=info msg=&quot;runtime error: index out of range&quot;</div><div><br><div>JSON FILE:</div><div><div><font face="monospace, monospace">{</font></div><div><font face="monospace, monospace">        &quot;name&quot;: &quot;test01&quot;,</font></div><div><font face="monospace, monospace">        &quot;subvols&quot;: [</font></div><div><font face="monospace, monospace">            {</font></div><div><font face="monospace, monospace">                &quot;type&quot;: &quot;replicate&quot;,</font></div><div><font face="monospace, monospace">                &quot;bricks&quot;: [</font></div><div><font face="monospace, monospace">                    {&quot;peerid&quot;: &quot;2f468973-8de9-4dbf-90c2-7236e229697d&quot;, &quot;path&quot;: &quot;/srv/gfs/test01/brk01&quot;},                                                    </font></div><div><font face="monospace, monospace">                    {&quot;peerid&quot;: &quot;ad228d0e-e7b9-4d02-a863-94c74bd3d843&quot;, &quot;path&quot;: &quot;/srv/gfs/test01/brk01&quot;},                                                    </font></div><div><font face="monospace, monospace">                    {&quot;peerid&quot;: &quot;de7ea1d7-5566-40f4-bc34-0d68bfd48193&quot;, &quot;path&quot;: &quot;/srv/gfs/test01/brk01&quot;}                                                     </font></div><div><font face="monospace, monospace">                ],</font></div><div><font face="monospace, monospace">                &quot;replica&quot;: 3</font></div><div><font face="monospace, monospace">            }</font></div><div><font face="monospace, monospace">        ],</font></div><div><font face="monospace, monospace">        &quot;force&quot;: false</font></div><div><font face="monospace, monospace">}</font></div></div><div><br></div><div>COMMAND:<br><font face="monospace, monospace">curl -v -X POST <a href="http://localhost:24007/v1/volumes">http://localhost:24007/v1/volumes</a> --data @test01.json -H &#39;Content-Type: application/json&#39;</font><br></div><div># i have also tried with fqd from localhost</div><div><br></div><div>ERROR:</div><div><font face="monospace, monospace">* About to connect() to localhost port 24007 (#0)<br></font></div><div><font face="monospace, monospace">*   Trying ::1...</font></div><div><font face="monospace, monospace">* Connected to localhost (::1) port 24007 (#0)</font></div><div><font face="monospace, monospace">&gt; POST /v1/volumes HTTP/1.1</font></div><div><font face="monospace, monospace">&gt; User-Agent: curl/7.29.0</font></div><div><font face="monospace, monospace">&gt; Host: localhost:24007</font></div><div><font face="monospace, monospace">&gt; Accept: */*</font></div><div><font face="monospace, monospace">&gt; Content-Type: application/json</font></div><div><font face="monospace, monospace">&gt; Content-Length: 525</font></div><div><font face="monospace, monospace">&gt;</font></div><div><font face="monospace, monospace">* upload completely sent off: 525 out of 525 bytes</font></div><div><font face="monospace, monospace">&lt; HTTP/1.1 500 Internal Server Error</font></div><div><font face="monospace, monospace">&lt; X-Gluster-Cluster-Id: 04385f96-4b7e-4afa-9366-8d1a3b30f36e</font></div><div><font face="monospace, monospace">&lt; X-Gluster-Peer-Id: ad228d0e-e7b9-4d02-a863-94c74bd3d843</font></div><div><font face="monospace, monospace">&lt; X-Request-Id: fea765a5-1014-48f7-919c-3431278d14ab</font></div><div><font face="monospace, monospace">&lt; Date: Mon, 13 Aug 2018 15:57:24 GMT</font></div><div><font face="monospace, monospace">&lt; Content-Length: 0</font></div><div><font face="monospace, monospace">&lt; Content-Type: text/plain; charset=utf-8</font></div><div><font face="monospace, monospace">&lt;</font></div><div><font face="monospace, monospace">* Connection #0 to host localhost left intact</font></div><div><br></div><div>VERSIONS:<br>glusterd2.x86_64                                                                 4.1.0-1.el7<br>glusterfs-server.x86_64                                                          4.1.2-1.el7<br><br>PEERS:<br><div><font face="monospace, monospace">+--------------------------------------+------------------------------------------+---------------------+--------------------------+--------+               </font></div><div><font face="monospace, monospace">|                  ID                  |                   NAME                   |  CLIENT ADDRESSES   |      PEER ADDRESSES      | ONLINE |               </font></div><div><font face="monospace, monospace">+--------------------------------------+------------------------------------------+---------------------+--------------------------+--------+               </font></div><div><font face="monospace, monospace">| 2f468973-8de9-4dbf-90c2-7236e229697d | gluster-1009                             | <a href="http://127.0.0.1:24007">127.0.0.1:24007</a>     | gluster-1009:24008       | yes    |               </font></div><div><font face="monospace, monospace">|                                      |                                          | <a href="http://10.10.10.19:24007">10.10.10.19:24007</a>   | <a href="http://10.10.10.19:24008">10.10.10.19:24008</a>        |        |               </font></div><div><font face="monospace, monospace">| ad228d0e-e7b9-4d02-a863-94c74bd3d843 | gluster-1005                             | <a href="http://127.0.0.1:24007">127.0.0.1:24007</a>     | <a href="http://10.10.10.18:24008">10.10.10.18:24008</a>        | yes    |               </font></div><div><font face="monospace, monospace">|                                      |                                          | <a href="http://10.10.10.18:24007">10.10.10.18:24007</a>   |                          |        |               </font></div><div><font face="monospace, monospace">| de7ea1d7-5566-40f4-bc34-0d68bfd48193 | gluster-1008                             | <a href="http://127.0.0.1:24007">127.0.0.1:24007</a>     | gluster-1008:24008       | yes    |               </font></div><div><font face="monospace, monospace">|                                      |                                          | <a href="http://10.10.10.23:24007">10.10.10.23:24007</a>   | <a href="http://10.10.10.23:24008">10.10.10.23:24008</a>        |        |               </font></div><div><font face="monospace, monospace">+--------------------------------------+------------------------------------------+---------------------+--------------------------+--------+               </font></div><br><br></div></div></div></div>