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
Unable to initialize redis driver #966
Comments
Can you add more detail about your redis setup ? redis version ? redis url you use in gnocchi.conf ? Also the version show a modified version of Gnocchi, did you check with an unmodified version 4.3.2. |
I installed it via yum and make in CentOS 7 environment. And redis setting also specified db. Also gnocchi is used the code in the stable/4.3 branch. And the code used is pure code that only clones and does not have an elasticsearch driver. |
If I set the redis store setting instead of using the redis centinel setting, it is no problem. Is my centinel setting wrong? |
Likely. The erro seems to indicate it can't find the database '0' which is the default one used by the Redis client. Did you check with |
There are databases from 0 to 15 in redis db. If database 0 was not found and an error occurred, would not have version 4.2 or if sentinel setting. |
Oh.. I found the cause...
|
Nice catch @GibeomOh |
Hi, I am currently using an elasticsearch driver based on version 4.2.
I got an error while installing redis to compare performance with other drivers while upgrading to version 4.3 and upgrading the es driver.
There is no problem in version 4.2, but only in 4.3.
Please check the above problem.
Which version of Gnocchi are you using
gnocchi-4.3.2.dev1
How to reproduce your problem
After installing gnocchi 4.3 version, run gnocchi upgrade or start the process.
What is the result that you get
I received an error from gnocchi.
What is result that you expected
The error should not occur in the same way as in 4.2.
The text was updated successfully, but these errors were encountered: