da1cb3c551
Adjutant enables management of quotas for all supported services by default. In some cases this may not be desired (e.g. some regions don't have a full suite of services available). This change makes it possible to disable quota management in Adjutant, either per-region or completely. To disable quota management for one region, while keeping it enabled in all others: quota: services: RegionOne: [] '*': - cinder - neutron - nova - octavia - trove To disable quota management using Adjutant completely, set the following: quota: services: {} If new quota update requests are made including a region for which quota management is disabled, one of the following actions will be taken: * If the request also specifies other regions for which quota management is enabled, the request is accepted but with the disabled regions removed from the request. * If the request **only** specifies regions for which quota management is disabled, `400 Bad Request` will be returned with an appropriate error response. If quota management for a region is disabled while there are existing pending quota update tasks: * If the task also updates the quota for other regions, the task can be approved as normal. The task will simply ignore the disabled region, adding a note to the task log notifying the admin that it has done so. * If the task **only** updates quotas for disabled regions, the task will no longer be valid, and will return an error when an admin tries to approve them. Such tasks should be cancelled instead. Change-Id: I1cfe6d1e3c12595966769334bea4c14450124f13
12 lines
442 B
YAML
12 lines
442 B
YAML
---
|
|
features:
|
|
- |
|
|
Quota management can now be disabled for specific regions by setting
|
|
``quota.services.<region_name>`` to ``[]`` in the configuration.
|
|
This allows additional flexibility in what services are deployed to
|
|
which region.
|
|
- |
|
|
Quota management can now be disabled entirely in Adjutant by setting
|
|
``quota.services`` to ``{}`` in the configuration, if quota management
|
|
is not required in deployments.
|