
When the sample config is generated, the policy_file default value specified by oslo.policy is showing up, not the default value that Cinder is using. Correct this by enhancing the function specified for cinder in the oslo.config.opts.defaults entry point. This patch exposed Bug #1807184 in oslo.policy. The requirements and lower-constraints changes on this patch bump the minimum version of oslo.policy we use to include the fix (1.44.1). This version was already included in upper-constraints by Change I50bb9d48106376f5baaafae372492c0744182da2. Change-Id: Ic28d660a9d876139f47f98cf1024a30b005cd0e0 Closes-bug: #1807071
98 lines
3.5 KiB
INI
98 lines
3.5 KiB
INI
[metadata]
|
|
name = cinder
|
|
summary = OpenStack Block Storage
|
|
description-file =
|
|
README.rst
|
|
author = OpenStack
|
|
author-email = openstack-discuss@lists.openstack.org
|
|
home-page = https://docs.openstack.org/cinder/latest/
|
|
classifier =
|
|
Environment :: OpenStack
|
|
Intended Audience :: Information Technology
|
|
Intended Audience :: System Administrators
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: POSIX :: Linux
|
|
Programming Language :: Python
|
|
Programming Language :: Python :: 2
|
|
Programming Language :: Python :: 2.7
|
|
Programming Language :: Python :: 3
|
|
Programming Language :: Python :: 3.5
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[files]
|
|
data_files =
|
|
etc/cinder =
|
|
etc/cinder/api-paste.ini
|
|
etc/cinder/rootwrap.conf
|
|
etc/cinder/resource_filters.json
|
|
etc/cinder/rootwrap.d = etc/cinder/rootwrap.d/*
|
|
packages =
|
|
cinder
|
|
|
|
[entry_points]
|
|
cinder.scheduler.filters =
|
|
AvailabilityZoneFilter = cinder.scheduler.filters.availability_zone_filter:AvailabilityZoneFilter
|
|
CapabilitiesFilter = cinder.scheduler.filters.capabilities_filter:CapabilitiesFilter
|
|
CapacityFilter = cinder.scheduler.filters.capacity_filter:CapacityFilter
|
|
DifferentBackendFilter = cinder.scheduler.filters.affinity_filter:DifferentBackendFilter
|
|
DriverFilter = cinder.scheduler.filters.driver_filter:DriverFilter
|
|
JsonFilter = cinder.scheduler.filters.json_filter:JsonFilter
|
|
RetryFilter = cinder.scheduler.filters.ignore_attempted_hosts_filter:IgnoreAttemptedHostsFilter
|
|
SameBackendFilter = cinder.scheduler.filters.affinity_filter:SameBackendFilter
|
|
InstanceLocalityFilter = cinder.scheduler.filters.instance_locality_filter:InstanceLocalityFilter
|
|
cinder.scheduler.weights =
|
|
AllocatedCapacityWeigher = cinder.scheduler.weights.capacity:AllocatedCapacityWeigher
|
|
CapacityWeigher = cinder.scheduler.weights.capacity:CapacityWeigher
|
|
ChanceWeigher = cinder.scheduler.weights.chance:ChanceWeigher
|
|
GoodnessWeigher = cinder.scheduler.weights.goodness:GoodnessWeigher
|
|
VolumeNumberWeigher = cinder.scheduler.weights.volume_number:VolumeNumberWeigher
|
|
oslo.config.opts =
|
|
cinder = cinder.opts:list_opts
|
|
oslo.config.opts.defaults =
|
|
cinder = cinder.common.config:set_external_library_defaults
|
|
oslo.policy.enforcer =
|
|
cinder = cinder.policy:get_enforcer
|
|
oslo.policy.policies =
|
|
# The sample policies will be ordered by entry point and then by list
|
|
# returned from that entry point. If more control is desired split out each
|
|
# list_rules method into a separate entry point rather than using the
|
|
# aggregate method.
|
|
cinder = cinder.policies:list_rules
|
|
console_scripts =
|
|
cinder-api = cinder.cmd.api:main
|
|
cinder-backup = cinder.cmd.backup:main
|
|
cinder-manage = cinder.cmd.manage:main
|
|
cinder-rootwrap = oslo_rootwrap.cmd:main
|
|
cinder-rtstool = cinder.cmd.rtstool:main
|
|
cinder-scheduler = cinder.cmd.scheduler:main
|
|
cinder-status = cinder.cmd.status:main
|
|
cinder-volume = cinder.cmd.volume:main
|
|
cinder-volume-usage-audit = cinder.cmd.volume_usage_audit:main
|
|
wsgi_scripts =
|
|
cinder-wsgi = cinder.wsgi.wsgi:initialize_application
|
|
cinder.database.migration_backend =
|
|
sqlalchemy = oslo_db.sqlalchemy.migration
|
|
|
|
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
tag_svn_revision = 0
|
|
|
|
[compile_catalog]
|
|
directory = cinder/locale
|
|
domain = cinder
|
|
|
|
[update_catalog]
|
|
domain = cinder
|
|
output_dir = cinder/locale
|
|
input_file = cinder/locale/cinder.pot
|
|
|
|
[extract_messages]
|
|
keywords = _ gettext ngettext l_ lazy_gettext
|
|
mapping_file = babel.cfg
|
|
output_file = cinder/locale/cinder.pot
|