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

Storage: Delete potentially left snapshot temporary volume #14920

Merged
merged 5 commits into from
Feb 4, 2025

Conversation

MusicDin
Copy link
Member

@MusicDin MusicDin commented Feb 4, 2025

Pure Storage does not allow mounting snapshots directly. Instead, we create a temporary volume with the snapshot's volume name. If the LXD was abruptly closed when temporary volume is being used, it may remain in the Pure Storage until the pool is removed.

To prevent such situation, when snapshot is removed also remove the potentially existing temporary snapshot volume.

Addresses comment: #14599 (comment)

tomponline
tomponline previously approved these changes Feb 4, 2025
@MusicDin MusicDin marked this pull request as ready for review February 4, 2025 16:53
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ta

@tomponline tomponline merged commit c071f4a into canonical:main Feb 4, 2025
28 checks passed
@MusicDin MusicDin deleted the fix/pure branch February 5, 2025 07:55
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.

2 participants