-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
[bitnami/cassandra] Installing Cassandra to Kubernetes via Helm chart seems not authenticating #29607
Comments
Hi! Could you confirm that you do not have leftover PVCs from previous installations? |
Yes, this is in a fresh installation. |
Hi @grecinto, I'm sorry but I haven't been able to reproduce this error. Here are the exact steps I used and the output I got:
Could you please share both the logs the Cassandra pod and the error obtained when executing cqlsh? |
Hi @migruiz4, Thanks for looking at it! :) ** I followed your instructions to install to K8s the C* bitnami via Helm chart, step by step. Below is from the point the CLI pod is created. (I made sure the env has CASSANDRA_PASSWORD variable set to "password") I got the same bad credentials error, here is the cmdline where I got the error:
Here is logs from the K8s Cassandra Container:
|
Hi @grecinto, I'm sorry but since I can not reproduce the issue there is not much I can do to help. I still suspect that the issue may be related to previously existing data, which could cause the password not to match what is set in the values. I would appreciate it if you could share the full sequence of commands for your fresh installation, where we can troubleshoot the following:
|
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Name and Version
Bitnami/cassandra
What architecture are you using?
amd64
What steps will reproduce the bug?
Running this cmd: helm install my-release oci://registry-1.docker.io/bitnamicharts/cassandra --set dbUser.password=password
will install cassandra in Kubernetes with 1 node and another one(dependency).
Following instructions to login(using cqlsh) via the generated notes of helm chart, I am unable to login.
The password "password" and using the default username "cassandra" is not being taken in, I'm getting authentication failure due to wrong username and/or password as the msg.
I tried to connect using cqlsh using three different possible ways to get thru the running cassandra node in K8. Again, following the instructions generated in Helm as how I can get in. Plus, logging in to the K8 node running Cassandra, using its local cqlsh.
All fails with same authentication bad credential err msg.
Are you using any custom parameters or values?
yep, the --set dbUser.password= is done so I can give it some experimental pwd.
What is the expected behavior?
Be able to login using cqlsh providing the username(-u) and password(-p).
What do you see instead?
Authentication failed due to bad credentials(wrong username and/or password).
Additional information
No response
The text was updated successfully, but these errors were encountered: