Skip to content
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

Add support to configure path to snapshotter agent #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jameshou
Copy link

@jameshou jameshou commented Nov 8, 2017

Add ability to configure the path to the snapshotter agent.

We've installed snapshotter in a virtualenv and not at the global system level. As such, cassandra-snapshotter-agent is not globally accessible. And as a result, when we run a backup, the remote command fails because it's unable to find the path to cassandra-snapshotter-agent.

This PR allows us to configure the path to the cassandra-snapshotter-agent when we execute the remote command.

Here is an example of how we can use this new parameter.
cassandra-snapshotter --s3-bucket-name=foo_backup_bucket ... --snapshotter-agent-path '... pyenv activate snapshotter-venv cassandra-snapshotter-agent'

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

Successfully merging this pull request may close these issues.

1 participant