gluster / gluster-block

A framework for gluster block storage
GNU General Public License v2.0
74 stars 32 forks source link

Gluster-block create fails on f24 #28

Closed prashanthpai closed 6 years ago

prashanthpai commented 7 years ago
[root@gd2-1 gluster-block]# /usr/local/sbin/gluster-block create test/block ha 1 `hostname` 1GiB
(null)
RESULT:FAIL
[root@gd2-1 gluster-block]# tcmu-runner --version
tcmu-runner 1.1.3
[root@gd2-1 gluster-block]# targetcli --version
/bin/targetcli version 2.1.fb43
[root@gd2-1 gluster-block]# cat /etc/redhat-release 
Fedora release 24 (Twenty Four)
[root@gd2-1 gluster-block]# uname -a
Linux gd2-1 4.11.4-100.fc24.x86_64 #1 SMP Wed Jun 7 20:06:39 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

[2017-06-15 05:50:59.423033] INFO: create cli request, volume=test blockname=block mpath=1 blockhosts=gd2-1 authmode=0 size=1073741824 [at block_svc_routines.c+1722 :<block_create_cli_1_svc>]
[2017-06-15 05:50:59.438466] INFO: create request, volume=test blockname=block blockhosts=gd2-1 filename=c0d3a400-83a0-40dd-8e26-8824c5e8aef2 authmode=0 passwd= size=1073741824 [at block_svc_routines.c+1947 :<block_create_1_svc>]
[2017-06-15 05:51:02.308872] INFO: command exit code, 1 [at block_svc_routines.c+2076 :<block_create_1_svc>]
[2017-06-15 05:51:02.312805] ERROR: failed in remote create for block block on host gd2-1 volume test [at block_svc_routines.c+523 :<glusterBlockCreateRemote>]
[2017-06-15 05:51:02.313230] WARNING: glusterBlockCreateRemoteAsync: return -1 failed in remote async create for block block on volume test with hosts gd2-1 [at block_svc_routines.c+1829 :<block_create_cli_1_svc>]
[2017-06-15 05:51:02.314031] WARNING: No Spare nodes to create (block): rollingback creation of target on volume test with given hosts gd2-1 [at block_svc_routines.c+1151 :<glusterBlockAuditRequest>]
[2017-06-15 05:51:02.318241] INFO: delete request, blockname=block filename=c0d3a400-83a0-40dd-8e26-8824c5e8aef2 [at block_svc_routines.c+2256 :<block_delete_1_svc>]
[2017-06-15 05:51:03.136770] INFO: command exit code, 0 [at block_svc_routines.c+2323 :<block_delete_1_svc>]
[2017-06-15 05:51:03.151319] ERROR: glusterBlockAuditRequest: return -1volume: test hosts: gd2-1 blockname block [at block_svc_routines.c+1837 :<block_create_cli_1_svc>]
prashanthpai commented 7 years ago

This should also be a dependency (contains iscsid)

dnf -y install iscsi-initiator-utils
prashanthpai commented 7 years ago

log.tar.gz

nixpanic commented 7 years ago

@prashanthpai is this still a problem with recent Fedora releases and current gluster-block from the Fedora repositories?

prashanthpai commented 7 years ago

@prashanthpai is this still a problem with recent Fedora releases and current gluster-block from the Fedora repositories?

I assume not but haven't really tried again.

pkalever commented 6 years ago

With the release of Fedora 26, Fedora 24 officially enters End Of Life (EOL) status on August 8th, 2017. Hence Closing this issue.