Remove unused quota options
Remove the following configuration options in the 'quota' group because they have not been used any more since Ie01ab1c3a1219f1d123f0ecedc66a00dfb2eb2c1. - reservation_expire - until_refresh - max_age Change-Id: I56401daa8a2eee5e3aede336b26292f77cc0edd6
This commit is contained in:
@@ -254,38 +254,6 @@ Possible values:
|
|||||||
|
|
||||||
* A positive integer or 0.
|
* A positive integer or 0.
|
||||||
* -1 to disable the quota.
|
* -1 to disable the quota.
|
||||||
"""),
|
|
||||||
# TODO(stephenfin): This should have a min parameter
|
|
||||||
cfg.IntOpt('reservation_expire',
|
|
||||||
default=86400,
|
|
||||||
deprecated_group='DEFAULT',
|
|
||||||
help="""
|
|
||||||
The number of seconds until a reservation expires.
|
|
||||||
|
|
||||||
This quota represents the time period for invalidating quota reservations.
|
|
||||||
"""),
|
|
||||||
cfg.IntOpt('until_refresh',
|
|
||||||
min=0,
|
|
||||||
default=0,
|
|
||||||
deprecated_group='DEFAULT',
|
|
||||||
help="""
|
|
||||||
The count of reservations until usage is refreshed.
|
|
||||||
|
|
||||||
This defaults to 0 (off) to avoid additional load but it is useful to turn on
|
|
||||||
to help keep quota usage up-to-date and reduce the impact of out of sync usage
|
|
||||||
issues.
|
|
||||||
"""),
|
|
||||||
cfg.IntOpt('max_age',
|
|
||||||
min=0,
|
|
||||||
default=0,
|
|
||||||
deprecated_group='DEFAULT',
|
|
||||||
help="""
|
|
||||||
The number of seconds between subsequent usage refreshes.
|
|
||||||
|
|
||||||
This defaults to 0 (off) to avoid additional load but it is useful to turn on
|
|
||||||
to help keep quota usage up-to-date and reduce the impact of out of sync usage
|
|
||||||
issues. Note that quotas are not updated on a periodic task, they will update
|
|
||||||
on a new reservation if max_age has passed since the last reservation.
|
|
||||||
"""),
|
"""),
|
||||||
cfg.StrOpt('driver',
|
cfg.StrOpt('driver',
|
||||||
default='nova.quota.DbQuotaDriver',
|
default='nova.quota.DbQuotaDriver',
|
||||||
|
@@ -588,9 +588,6 @@ class DbQuotaDriverTestCase(test.TestCase):
|
|||||||
security_group_rules=20,
|
security_group_rules=20,
|
||||||
server_groups=10,
|
server_groups=10,
|
||||||
server_group_members=10,
|
server_group_members=10,
|
||||||
reservation_expire=86400,
|
|
||||||
until_refresh=0,
|
|
||||||
max_age=0,
|
|
||||||
group='quota'
|
group='quota'
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -1980,9 +1977,6 @@ class NoopQuotaDriverTestCase(test.TestCase):
|
|||||||
injected_file_path_length=255,
|
injected_file_path_length=255,
|
||||||
security_groups=10,
|
security_groups=10,
|
||||||
security_group_rules=20,
|
security_group_rules=20,
|
||||||
reservation_expire=86400,
|
|
||||||
until_refresh=0,
|
|
||||||
max_age=0,
|
|
||||||
group='quota'
|
group='quota'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The following configuration options in the ``quota`` group have been
|
||||||
|
removed because they have not been used since 17.0.0.
|
||||||
|
|
||||||
|
- ``reservation_expire``
|
||||||
|
- ``until_refresh``
|
||||||
|
- ``max_age``
|
Reference in New Issue
Block a user