Add initial support for dependent volumes#3025
Merged
Conversation
11c6206 to
5ffe75c
Compare
Member
|
@presztak can you do a quick rebase? |
5ffe75c to
e548471
Compare
Contributor
Author
|
@stgraber Done. |
6ed91c8 to
3b3105c
Compare
Signed-off-by: Piotr Resztak <[email protected]>
1. Prevent attaching a dependent volume to more than one instance. 2. Disallow attaching dependent volumes that already have snapshots. 3. Automatically create blank snapshots on dependent volumes when attached to an instance Signed-off-by: Piotr Resztak <[email protected]>
…lumes Signed-off-by: Piotr Resztak <[email protected]>
…tance snapshots Signed-off-by: Piotr Resztak <[email protected]>
…from a snapshot Signed-off-by: Piotr Resztak <[email protected]>
…porting/importing volumes Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
…pack if needed Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
Signed-off-by: Piotr Resztak <[email protected]>
3b3105c to
73c7447
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new
dependentconfiguration key for disk devices and custom volumes.Volumes marked as dependent are tied to the lifecycle of the instance they are attached to. Snapshot operations performed on the instance are automatically propagated to the dependent volume.
Specifically:
Additionally, exporting an instance automatically includes its dependent volumes.