75 lines
2.4 KiB
INI
75 lines
2.4 KiB
INI
# havana
|
|
###############################################################################
|
|
# [ WARNING ]
|
|
# cinder configuration file maintained by Juju
|
|
# local changes may be overwritten.
|
|
###############################################################################
|
|
|
|
#############
|
|
# OpenStack #
|
|
#############
|
|
|
|
[composite:osapi_volume]
|
|
use = call:cinder.api:root_app_factory
|
|
/: apiversions
|
|
/v1: openstack_volume_api_v1
|
|
/v2: openstack_volume_api_v2
|
|
|
|
[composite:openstack_volume_api_v1]
|
|
use = call:cinder.api.middleware.auth:pipeline_factory
|
|
noauth = faultwrap sizelimit noauth apiv1
|
|
keystone = faultwrap sizelimit authtoken keystonecontext apiv1
|
|
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv1
|
|
|
|
[composite:openstack_volume_api_v2]
|
|
use = call:cinder.api.middleware.auth:pipeline_factory
|
|
noauth = faultwrap sizelimit noauth apiv2
|
|
keystone = faultwrap sizelimit authtoken keystonecontext apiv2
|
|
keystone_nolimit = faultwrap sizelimit authtoken keystonecontext apiv2
|
|
|
|
[filter:faultwrap]
|
|
paste.filter_factory = cinder.api.middleware.fault:FaultWrapper.factory
|
|
|
|
[filter:noauth]
|
|
paste.filter_factory = cinder.api.middleware.auth:NoAuthMiddleware.factory
|
|
|
|
[filter:sizelimit]
|
|
paste.filter_factory = cinder.api.middleware.sizelimit:RequestBodySizeLimiter.factory
|
|
|
|
[app:apiv1]
|
|
paste.app_factory = cinder.api.v1.router:APIRouter.factory
|
|
|
|
[app:apiv2]
|
|
paste.app_factory = cinder.api.v2.router:APIRouter.factory
|
|
|
|
[pipeline:apiversions]
|
|
pipeline = faultwrap osvolumeversionapp
|
|
|
|
[app:osvolumeversionapp]
|
|
paste.app_factory = cinder.api.versions:Versions.factory
|
|
|
|
##########
|
|
# Shared #
|
|
##########
|
|
|
|
[filter:keystonecontext]
|
|
paste.filter_factory = cinder.api.middleware.auth:CinderKeystoneContext.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory
|
|
{% if service_host -%}
|
|
service_protocol = {{ service_protocol }}
|
|
service_host = {{ service_host }}
|
|
service_port = {{ service_port }}
|
|
auth_host = {{ auth_host }}
|
|
auth_port = {{ auth_port }}
|
|
auth_protocol = {{ auth_protocol }}
|
|
admin_tenant_name = {{ admin_tenant_name }}
|
|
admin_user = {{ admin_user }}
|
|
admin_password = {{ admin_password }}
|
|
# signing_dir is configurable, but the default behavior of the authtoken
|
|
# middleware should be sufficient. It will create a temporary directory
|
|
# in the home directory for the user the cinder process is running as.
|
|
#signing_dir = /var/lib/cinder/keystone-signing
|
|
{% endif -%}
|