Open BlackoutWNCT opened 6 years ago
Adding gluster developers @lxbsz @pkalever .
Does this only fail with gluster? Did you use the gluster block tools to set things up?
On the iscsi target logs are there any errors in journalctl or /var/log/tcmu-runner.log? Could you set
log_level = 4
in /etc/tcmu/tcmu.conf and attach the /var/log/tcmu-runner.log?
@BlackoutWNCT Are you using the community version of glusterfs & gluster-block ? If so the tcmu-runner will crash I think, because there has one bug in glusterfs API.
If not, please attach the logs as Mike mentioned.
I've tested the TargetCLI without tcmu-runner or gluster-block and the exposed object was fine, however I've not tested with just tcmu-runner. I did create the LUN using gluster-block.
I'm currently using the gluster packages contained within the CentOS repos. (I've tested on both 3.12 and 4.0 from centos-release-gluster312.noarch
and centos-release-gluster40.x86_64
repos.)
gluster-block I've tried from both the centos-release-gluster40.x86_64
repo, and by cloning the current master git.
I've done the same for the tcmu-runner packages.
Requested logs are here: https://paste.ubuntu.com/p/tKV3tDQ4rV/
@BlackoutWNCT Actually we meant the logs when you are doing the format or read/write. Did you get any errors in /var/log/tcmu-runner.log or journalctl ?
From your logs provided I couldn't see any problem.
Right of course. Apologies, attached is a new paste dump of various logs for the format.
So, I'm not sure if this is user error, or which component of this solution is currently causing these issues, but I'm having trouble formatting the exposed objects. The below paste is a section of journalctl on the initiator which was attempting to format and mount the LUN. There is also a paste of the
targetcli ls
at the bottom.https://paste.ubuntu.com/p/TPpTZmgwJP/
These errors occured using the following packages:
Target:
centos-release-gluster40.x86_64
repo)Initiator:
Fedora 25
iSCSIadm
Windows Server 2016
I've also tried this same setup using gluster 3.12 and compiling both the gluster-block and tcmu-runner packages from git. I get the same result.
If there is instead a specific set of package versions I should be using, please let me know.
I'm not 100% this is a gluser-block issue, and so I'll also be raising an issue on the tcmu-runner git.
If any additional info is needed, please let me know.