Quota enable config to user/domain scope #6690
Conversation
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
Codecov Report
@@ Coverage Diff @@
## main #6690 +/- ##
=========================================
Coverage 10.84% 10.84%
- Complexity 7095 7101 +6
=========================================
Files 2485 2485
Lines 245370 245387 +17
Branches 38319 38322 +3
=========================================
+ Hits 26602 26614 +12
- Misses 215500 215505 +5
Partials 3268 3268
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Co-authored-by: dahn <daan.hoogland@gmail.com>
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
@blueorangutan package |
|
@DaanHoogland a 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. |
|
SonarCloud Quality Gate failed. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4138 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-4833)
|
|
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
|
@BryanMLima can you look at the conflicts |
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
Found UI changes, kicking a new UI QA build |
|
@acs-robot a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress. |
|
UI build: ✔️ |
|
SonarCloud Quality Gate failed. |
|
@blueorangutan package |
|
@DaanHoogland a 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. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 4550 |
|
@blueorangutan test |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-5205)
|
|
@GutoVeronezi , I trust all your comments have been met? |
|
@DaanHoogland, yes, they have been met. I will merge this one based on the packaging and tests results (#6690 (comment) and #6690 (comment)) and on the approvals. |









Description
Currently, ACS only has the option to enable the Quota plugin globally. However, for some use cases having the plugin active to specific accounts and domains may be more interesting. Therefore, this PR aims to add this functionality through the quota config
quota.account.enabled. Moreover, a new column was added to the quota summary section in the UI showing if the account has the plugin enabled. In the future, a filter will be added for accounts with the plugin enabled, disabled and for removed accounts.Finally, for the config to be used in a domain scope, when it cannot be found at user level, it is required that the following global configurations are enabled:
enable.account.settings.for.domainandenable.domain.settings.for.child.domain.Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Screenshots (if appropriate):
List of accounts with the plugin enabled and disabled:

How Has This Been Tested?
This was tested in a local lab setting the
quota.account.enabledto true and false to random accounts. In the quota summary section the accounts where correctly displayed: accounts with the plugin disabled had the(quota-disabled)string attached and accounts with the plugin enabled were normally displayed.