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 scale the cassandra cluster up when Medusa is enabled. #1037
Comments
Hi @chandapukiran, I'm able to reproduce the issue but with slightly different steps. |
More details on the issue: When a restore is triggered, the statefulset definition will add some env variables to instruct the medusa-restore init container to perform the restore, along with a restore id and the backup that needs to be restored. Definition of Done
|
@adejanovski , is the fix going to be back-ported to medusa 0.13.4 ? we are using k8ssandra-operator with medusa 0.13.4 |
@chandapukiran, I have a fix here. Would you be able to test it and confirm that it fixes the issue? |
@adejanovski i have built a new image with your fix and tested it and now it is working as expected. I have tested following steps.
|
@adejanovski could you confirm if the above test I have mentioned was sufficient to validate the fix you have provided? |
Hi @chandapukiran, what needs to be tested is the following:
It's only after a restore that this bug triggers in my experience. |
Hi @adejanovski , And the new pod is coming up but i see that there is a rolling restart of the pods. Is it expected ? |
@chandapukiran, I've seen that as well and created a ticket to track this. |
Thank you @adejanovski , so is this fix going to be included in all the Medusa versions or only the newer versions? |
@adejanovski could you please confirm if the fix going to be backported? |
What happened?
When tried to increase the cluster size from 3 to 4, the newly deployed pod is in CrashLoopBackupOff state when Medusa is enabled.
Did you expect to see something different?
The new pod should be up and running
How to reproduce it (as minimally and precisely as possible):
Environment
k8ssandra-operator:v1.5.2
Insert image tag or Git SHA here
cass-operator:v1.14.0
Kubernetes version information:
kubectl version
Kubernetes cluster kind:
insert how you created your cluster: kops
Manifests:
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: