-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gluster-block create failure #187
Comments
@salamani Hi! Currently gluster-block doesn't work with hostnames, can you please give a try passing IP address ? like: |
|
@salamani thanks for trying this out. Can you provide below details:
Above step will help collect the debug logs. Now please attach below details:
|
I'm hitting the same issue as well. This is on fedora 26 with source install of latest master branches of glusterfs and gluster-block.
|
Please find below logs from folder: /var/log/gluster-block
|
@itisravi can you please try using some other IP address on host, like 192.168.x.x or 10.70.x.x ? [2019-03-29 09:43:06.182952] ERROR: glfs_open(sample-block) failed[No such file or directory] [at glfs-operations.c+701 :] also I see related log: So its like: HTH |
I had created the gluster volume with 127.0.0.2 IP which @pkalever found was the cause of the issue. After creating the block-test volume with 192.x.x.x IP, it worked for me:
|
@salamani From the logs you have shared above, I have noticed this: [2019-03-29 10:02:48.657425] ERROR: glfs_open(sample-block) failed[No such file or directory] [at glfs-operations.c+379 :] and [2019-03-29 10:02:48.395668] ERROR: backend creation failed for: block-test/sample-block [at block_svc_routines.c+1963 :] Which are very alike to what @itisravi 's setup has. Can you retry using the primary IP of the node for creating block volume ? HTH |
I am still facing same issue $ gluster-block create block-test/sample-block 9.12.13.234 1GiB --json-pretty gluster-blockd.log |
@salamani but you seem to be using the same IP address as before '9.12.13.234' Can you check/paste Commands to see the primary/Other IP's associated with the node ? Thanks! |
I have tried on new machine $ $ $ |
Can you try it with below command:
Thanks! |
I have observed the same issue! $ gluster-block-cli.log |
@salamani Strange! From the gfapi.log I see:
From path '/usr/local/lib/libglusterfs.so.0' It looks like you have glusterfs installations from source and .deb package (coz gluster-block look for this) ? Can you uninstall the source install binaries/libraries and just install from .dep package only ? and the error: means, gluster-block cannot access the backend block hosting volume. You could simply download this file and have a test to see if the issue is from gfapi side. Also do you see anything wrong in tcmu-runner.log/tcmu-runner-gfapi.log ? can you copy them here ? Otherwise, Frankly speaking we never tested gluster-block on ubuntu (but, was tested by users on fedora/centos and rhel), I can try reproduce this issue when I have some time this week on ubuntu, can you share the details about the setup (OS image version) and how you installed stuff and setup gluster block hosting volume etc ... Thanks! |
I built glusterfs from source and created the service to run. |
@salamani sounds good. Could you share your environment details requested above. We can try reproducing this and get back to you. Thanks! |
I have installed glusterfs 5.3 from source, tcmu-runner from source. $ cmd_history.log |
@pkalever any updates on this? |
any updates here |
@salamani Although we never supported gluster-block on ubuntu, may be its time, we should update the README guide to help others about how to install gluster-block and get it running on Ubuntu. I had seen the pain today :-( Will update this issue later with the steps I followed to install gluster-block on ubuntu 18.04.02, which might at-least help easily point as a reference. I have started from here:
Checking logs:
I have enabled DEBUG logs and noticed that the issue is from targetcli/rtslib being too old versions than what gluster-block expects, Please do this:
Note:
Also, you should compile, with an additional flag with recent changes to master to disable TIRPC on ubuntu machines:
HTH. |
Created a new issue for reference guide: #215 |
I hope there is nothing remaining to be taken care, closing this now. |
I have followed the readme and built glusterblock v0.3 from source.
Following services are running: glusterd, rpcbind & tcmu-runner
$ gluster-block create block-test/sample-block ha 1 <my_host> 1GiB -d
failed to configure on z-ub18-4 configure failed
RESULT:FAIL
Any extra configuration is need for it?
The text was updated successfully, but these errors were encountered: