You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, after feeding config to cluster, getting error:
[atlantis@kali cassandra]$ docker service logs cassandra_cluster
cassandra_cluster.1.scgjmt4g17kk@kali | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
cassandra_cluster.1.nr7entee1ahm@kali | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
cassandra_cluster.1.w1h0b6lwfd0s@kali | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
cassandra_cluster.1.qgjzujcwsokz@kali | chown: changing ownership of '/etc/cassandra/cassandra.yaml': Read-only file system
[atlantis@kali cassandra]$
Reason being Cassandra locked permission to read only and docker config can't overwrite the file.
Possible solution:
instruct Cassandra instead of looking for config in default location /etc/cassandra, it can find config under /cassandra.yaml which is default docker config loading behavior
The text was updated successfully, but these errors were encountered:
Intent is to use
docker config create
to create a docker configuration and provide it to Cassandra cluster running in Docker Swarm. Steps as follows:However, after feeding config to cluster, getting error:
Reason being Cassandra locked permission to read only and docker config can't overwrite the file.
Possible solution:
instruct Cassandra instead of looking for config in default location
/etc/cassandra
, it can find config under/cassandra.yaml
which is default docker config loading behaviorThe text was updated successfully, but these errors were encountered: