[WIP] Preferred storage pool setting as a cluster setting
Description
This PR changes the (preferred.storage.pool setting scope from Account to Cluster
Fixes: #8959
Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] Enhancement (improves an existing feature and functionality)
- [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
- [ ] build/CI
- [ ] test (unit or integration test code)
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
- [ ] Major
- [ ] Minor
Bug Severity
- [ ] BLOCKER
- [ ] Critical
- [ ] Major
- [ ] Minor
- [ ] Trivial
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?
@blueorangutan package
@nvazquez 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
Attention: Patch coverage is 6.25000% with 15 lines in your changes missing coverage. Please review.
Project coverage is 16.18%. Comparing base (
81e052c) to head (bb4fc89).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ...stack/engine/orchestration/VolumeOrchestrator.java | 0.00% | 8 Missing :warning: |
| ...om/cloud/deploy/DeploymentPlanningManagerImpl.java | 0.00% | 7 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #9564 +/- ##
=========================================
Coverage 16.18% 16.18%
Complexity 13046 13046
=========================================
Files 5645 5645
Lines 494795 494803 +8
Branches 59955 59958 +3
=========================================
+ Hits 80065 80076 +11
+ Misses 405897 405893 -4
- Partials 8833 8834 +1
| Flag | Coverage Δ | |
|---|---|---|
| uitests | 4.01% <ø> (ø) |
|
| unittests | 17.03% <6.25%> (+<0.01%) |
:arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10733
@blueorangutan test
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests
[SF] Trillian test result (tid-11126) Environment: kvm-ol8 (x2), Advanced Networking with Mgmt server ol8 Total time taken: 48418 seconds Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr9564-t11126-kvm-ol8.zip Smoke tests completed. 139 look OK, 0 have errors, 0 did not run Only failed and skipped tests results shown below:
| Test | Result | Time (s) | Test File |
|---|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.
@nvazquez should this target 4.19?
@DaanHoogland the issue this PR fixes was on the 4.19.2 milestone but I think it shouldn't be there as 4.20.0 is already out and changing the scope of the setting would be conflicting, perhaps it should be targeted to 4.20 instead of main?
@nvazquez we can change to v21 as well as it is an enhancement...?
Sure @DaanHoogland fixed
Now that we have multi-scope config functionality, we can make the config available at both Cluster and Account level if needed