Skip to content

Conversation

@MusicDin
Copy link
Member

Fixes left-over volumes on the PureStorage array when volume creation fails.

The unmapVolume must be added to outerReverter when we are the first to associate (connect) the volume with the PureStorage host. The comment above is correct, just the condition was wrong.

Fixes #15210

@MusicDin
Copy link
Member Author

Tests are still running, will mark it as ready once all tests pass.

@roosterfish
Copy link
Contributor

Checked the corresponding section in PowerFlex, looks to be not affected.

@MusicDin
Copy link
Member Author

Thanks for confirmation. I've checked it as well and only PureStorage is affected.

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.

thanks!

@tomponline tomponline marked this pull request as ready for review March 19, 2025 13:05
@tomponline tomponline merged commit a62f1f9 into canonical:main Mar 19, 2025
27 checks passed
@MusicDin MusicDin deleted the fix/pure-left-volumes branch March 19, 2025 13:07
tomponline added a commit to canonical/lxd-pkg-snap that referenced this pull request Mar 19, 2025
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.

PureStorage volume not removed if mount fails

3 participants