-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Cannot create database in a k8s deployment #1614
Comments
Do you have the full stack trace of the exception? |
There seems to be two different issues and perhaps you'd want to split them into two separate issues.
here's what's in the logs when the pods start up for the first time
Also, when I exec into the pod/container only
What also shows up in the logs and IDK if it's related or not is an error electing a leader, maybe?
To get this to deploy on a local, on-prem, cluster I did change the |
|
ArcadeDB Version:
v.24.5.1-SNAPSHOT (build 6841fe3/1716312977604/main)
OS and JDK Version:
Linux 5.15.0-105-generic - OpenJDK 64-Bit Server VM 11.0.23 (Temurin-11.0.23+9)
Expected behavior
Database created
Actual behavior
Error message: "Internal error Cannot create directory '/mnt/data0/databases/test'
Steps to reproduce
Kubernetes deployment
My cluster is k3s installed on a three node on-prem cluster. The above error occurs when I use a
Longhorn
storage class.I get different error when I use local storage classes of
local-path
oropenebs-hostpath
. In those cases the error is:"Internal error class com.arcadedb.database.LocalDatabase cannot be cast to class com.arcadedb.server.ha.ReplicatedDatabase (com.arcadedb.database.LocalDatabase and com.arcadedb.server.ha.ReplicatedDatabase are in unnamed module of loader 'app')"
The text was updated successfully, but these errors were encountered: