Deployment FAQ
Installation
Section titled Installation-
Error: release openreplay failed, and has been uninstalled due to atomic being set
a. This might be because of failed helm installation. To debug, follow the below steps:
openreplay -s # If you see any failed pods, check the log. it should shed some light. openreplay -l <pod name> # If there is no pods in running/error/crashloop status, then check the status of pod using following command kubectl describe po -n app -n db <pod name>
Signup is not working
Section titled Signup is not working-
Health check shows SSL check failed:
a. If you’ve a self-signed certificate, you can use the following command to fix it:
openreplay -e # Add following line to skip the SSL health check chalice: env: ... ... # append the following line under env section SKIP_H_SSL: true
save and quit the config file using
:wq
My installation suddenly stopped working
Section titled My installation suddenly stopped workingThere might be multiple reasons for that. Here’s how you can debug the situation:
-
Check the status of Installation, using
openreplay -s
a. Check the disk usage section. If it’s more than 80%, the services won’t run.
Upgrade failed without any particular error
Section titled Upgrade failed without any particular errorI see “helm or another operation (install/upgrade/rollback) is in progress”
Section titled I see “helm or another operation (install/upgrade/rollback) is in progress”This usually means that you retried the installation/upgrade operation multiple times. Run the below command to resolve the situation:
helm rollback -n app openreplay
I see no errors, just “installation failed”
Section titled I see no errors, just “installation failed”# Check for failed pods
kubectl get pods -n app --field-selector="status.phase!=Succeeded,status.phase!=Running" -o custom-columns="POD:metadata.name"
# Check for the err logs
openreplay -l `pod name from above`
Self-Hosted Errors
Section titled Self-Hosted Errorsopenreplay -s
orkubectl get po
throws errorerror: You must be logged in to the server (Unauthorized)
k3s might have regenerated the client certificate for logging onto the cluster, but kubectl hadn’t picked this up.
Copy the new config with cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
and you’re good to go.
Have questions?
Section titled Have questions?If you have any questions about this process, feel free to reach out to us on our Slack channel.