Skip to content
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

Cryptic error when have no access to blobs directory #726

Open
odiszapc opened this issue Mar 12, 2017 · 0 comments
Open

Cryptic error when have no access to blobs directory #726

odiszapc opened this issue Mar 12, 2017 · 0 comments

Comments

@odiszapc
Copy link

odiszapc commented Mar 12, 2017

I have blobs defined as follows:

{
        "backend_id": 2,
        "type": "blob",
        "group": 2,
        "history": "/srv/node/sdi1/history",
        "data": "/srv/node/sdi1/data/blob",
        "sync": "-1",
        "blob_flags": "129",
        "blob_size": "8G",
        "records_in_blob": "10000000",
        "iterate_thread_num": 8,
        "defrag_percentage": 5
},

There were no access granted by mistake to /srv/node for user under which elliptics runs. Elliptics says about that fact in it's own cryptic manner:

2017-03-12 09:32:56.616854 0000000000000000/10197/10193 ERROR: blob: no data file present. Exiting. backend_id': 1

I think it would be userful for Elliptics to check access right. Of course it's a minor issue, but I have spent 20min to understand what's happening.

@odiszapc odiszapc changed the title Cryptic error when no access to blobs directory Cryptic error when have no access to blobs directory Mar 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant