Ensure compliance with storage access groups when mounting disabled storage pools - #13990
Open
sureshanaparti wants to merge 1 commit into
Open
Conversation
…torage pools - connect to only storage pools with empty tags when access group is empty
Contributor
Author
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 4.22 #13990 +/- ##
============================================
- Coverage 17.79% 17.78% -0.01%
+ Complexity 15995 15989 -6
============================================
Files 5928 5928
Lines 534306 534328 +22
Branches 65383 65386 +3
============================================
- Hits 95069 95033 -36
- Misses 428467 428525 +58
Partials 10770 10770
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 18998 |
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.
Description
The PR addresses the following issue:
During host connect process, management server chooses which storage pool to connect to, using storage pool scope (CLUSTER or ZONE) and storage access group (tags). In the scenario where configuration
mount.disabled.storage.poolis ON, the behaviour is different/buggy.The above edge case with the below changes are handled when the config
mount.disabled.storage.poolis ON:Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Scenarios:
mount.disabled.storage.pool is OFF:
mount.disabled.storage.pool is ON and storage access group of host is "group1":
mount.disabled.storage.poolwas OFF. Additionally, the host would connect to all storage pools in Disabled state with the below filters:mount.disabled.storage.pool is ON and storage access group of host is empty:
mount.disabled.storage.poolwas OFF. Additionally, the host would connect to all storage pools in Disabled state with the below filters:How did you try to break this feature and the system with this change?