Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Cassandra E2E tests fail on a multi-node cluster because we use hostpath volumes #351

Closed
wallrj opened this issue May 8, 2018 · 1 comment
Labels

Comments

@wallrj
Copy link
Member

wallrj commented May 8, 2018

In the E2E tests, we configure Cassandra nodes with hostpath volumes.
These work on minikube because it only creates a single node.

On a multi-node cluster such as created by kubeadm-dind-cluster, Cassandra Pods may get moved between nodes and in this case new (empty) hostpath volumes are created on each node and data appears to be lost.

Instead we could use persistent local storage PVs which will ensure that pods are only scheduled to nodes with the PV.

#330 has some example code for creating persistent local volumes for E2E tests.

/kind bug

@wallrj
Copy link
Member Author

wallrj commented May 15, 2018

Related to #359

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants