Skip to content

New rexray install image to support driver reinstallation and version update#29

Open
kaustavb12 wants to merge 2 commits intoBretFisher:mainfrom
kaustavb12:rexray-todo
Open

New rexray install image to support driver reinstallation and version update#29
kaustavb12 wants to merge 2 commits intoBretFisher:mainfrom
kaustavb12:rexray-todo

Conversation

@kaustavb12
Copy link
Copy Markdown
Contributor

Implemented the rexray related TODO points mentioned in the stack file:

# 2. TODO: would prefer on-failure restart_policy, but need to run this in script to look
# for if plugin exists first before reinstalling

Changed restart_policy to on-failure. New script detects if plugin already installed and reinstalls if given version is different from installed version or does nothing if version matches. This behavior can be tweaked using script options.

# 3. TODO: would prefer this picks a driver version, and support driver updates

Specific driver version given for script to install. Can rerun script providing different version to update driver as required. Can also configure script options to reinstall using the 'latest' tag each time it runs.

Using rexray-plugin-installer project that I created. Below are the links:

GitHub:
https://github.com/kaustavb12/rexray-plugin-installer
Docker Hub:
https://hub.docker.com/r/kaustavb12/rexray-plugin-installer

@BretFisher
Copy link
Copy Markdown
Owner

Thanks for the tool and script @kaustavb12. I'm going to leave this PR here rather than merge for teaching reasons, rather than merging. Since this is a learning repo, I'm hesitant to add too much magic and would rather people see the "manual" way to do it, and then see this PR for an alternative approach.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants