<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>