cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

[WIP] Preferred storage pool setting as a cluster setting

Open nvazquez opened this issue 1 year ago • 7 comments

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?

nvazquez avatar Aug 21 '24 13:08 nvazquez

@blueorangutan package

nvazquez avatar Aug 21 '24 13:08 nvazquez

@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.

blueorangutan avatar Aug 21 '24 13:08 blueorangutan

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.

codecov[bot] avatar Aug 21 '24 13:08 codecov[bot]

Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 10733

blueorangutan avatar Aug 21 '24 14:08 blueorangutan

@blueorangutan test

nvazquez avatar Aug 21 '24 15:08 nvazquez

@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests

blueorangutan avatar Aug 21 '24 15:08 blueorangutan

[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

blueorangutan avatar Aug 22 '24 05:08 blueorangutan

This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch.

github-actions[bot] avatar Jan 08 '25 13:01 github-actions[bot]

@nvazquez should this target 4.19?

DaanHoogland avatar Jan 23 '25 12:01 DaanHoogland

@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 avatar Jan 23 '25 13:01 nvazquez

@nvazquez we can change to v21 as well as it is an enhancement...?

DaanHoogland avatar Jan 23 '25 13:01 DaanHoogland

Sure @DaanHoogland fixed

nvazquez avatar Jan 23 '25 14:01 nvazquez

Now that we have multi-scope config functionality, we can make the config available at both Cluster and Account level if needed

shwstppr avatar Jul 29 '25 11:07 shwstppr