Test the updating aspect of openvstorage. This process can be fully automated.
We can use the power of snapshots to fully control this flow.
Create a virtual environment which has alot of space dedidacted to it (not in size of the volumes but in reserved space)
Install and configure openvstorage to your liking (a normal hc setup should suffice)
Start with a base snapshot
Inject a script that will periodically check for updates
1: When updates are found: shutdown and snapshot the environment with the current revision of openvstorage in its name (has to be done from another source than the environment)
2: Power on environment
3: Queue update -> if success: goto 4, else goto 5
4: Repeat step 1. This will ensure we have a snapshot and this snapshot will be overwritten when a new update would be executed. This is all the script has to do
5: Repeat step 1 but add a failure mark to it so the state can be investigated.
Possible technical issues
Cannot be based on the current integration tests
Has to be scheduled from a different node than the cluster nodes
Test description
Test the updating aspect of openvstorage. This process can be fully automated.
We can use the power of snapshots to fully control this flow.
Possible technical issues
Suggestions on implementations