Add support for OPENSTACK_USE_SIMPLE_TENANT_USAGE
Change-Id: Ia55ba01bbc45c3f304b56f59a9a59232a8fb5cea
This commit is contained in:
parent
8cbc78dcf4
commit
3e711f170d
@ -211,6 +211,10 @@
|
||||
# 'enable_scheduler_hints': Boolean to allow scheduler hints to be provided.
|
||||
# Defaults to True.
|
||||
#
|
||||
# [*use_simple_tenant_usage*]
|
||||
# (optional) Use SimpleTenantUsage nova API in the usage overview.
|
||||
# (Defaults to undef)
|
||||
#
|
||||
# [*configure_apache*]
|
||||
# (optional) Configure Apache for Horizon. (Defaults to true)
|
||||
#
|
||||
@ -579,6 +583,7 @@ class horizon(
|
||||
$keystone_options = {},
|
||||
$neutron_options = {},
|
||||
$instance_options = {},
|
||||
$use_simple_tenant_usage = undef,
|
||||
$file_upload_temp_dir = '/tmp',
|
||||
$policy_files_path = undef,
|
||||
$policy_files = undef,
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The new ``horizon::use_simple_tenant_usage`` parameter has been added.
|
||||
This parameter controls value of the ``OPENSTACK_USE_SIMPLE_TENANT_USAGE``
|
||||
parameter.
|
@ -438,6 +438,15 @@ OPENSTACK_ENABLE_PASSWORD_RETRIEVE = True
|
||||
#LAUNCH_INSTANCE_LEGACY_ENABLED = True
|
||||
#LAUNCH_INSTANCE_NG_ENABLED = False
|
||||
|
||||
# This setting controls whether SimpleTenantUsage nova API is used in the usage
|
||||
# overview. According to feedbacks to the horizon team, the usage of
|
||||
# SimpleTenantUsage can cause performance issues in the nova API in larger
|
||||
# deployments. Try to set this to ``False`` for such cases.
|
||||
#OPENSTACK_USE_SIMPLE_TENANT_USAGE = True
|
||||
<% if ! (@use_simple_tenant_usage.nil?) -%>
|
||||
OPENSTACK_USE_SIMPLE_TENANT_USAGE = <%= @use_simple_tenant_usage.to_s.capitalize %>
|
||||
<% end -%>
|
||||
|
||||
# The Xen Hypervisor has the ability to set the mount point for volumes
|
||||
# attached to instances (other Hypervisors currently do not). Setting
|
||||
# can_set_mount_point to True will add the option to set the mount point
|
||||
|
Loading…
x
Reference in New Issue
Block a user