
This patch includes the following updates based on the updated source in Nova's Liberty release: - api-paste.ini - policy.json - rootwrap.d/compute.filters - rootwrap.d/network.filters The Nova S3 and v3 API's have been removed in Liberty, so all related variables and configuration file entries have been removed. The Nova EC2 API is deprecated in Liberty. All related variables in OpenStack-Ansible and configuration files have been removed as all deployers are recommended to make use of the actively developed replacement: https://github.com/stackforge/ec2-api The Nova v2 and v1.1 API's are enabled using the upstream default compatibility layer. Neither of these versions will be registered in the service catalog. The default API version is set to v2.1. For new environments, no other API versions are registered in the service catalog. The following variables have been removed: - S3 API - nova_s3_service_name - nova_s3_service_type - nova_s3_service_proto - nova_s3_service_publicuri_proto - nova_s3_service_adminuri_proto - nova_s3_service_internaluri_proto - nova_s3_service_port - nova_s3_service_description - nova_s3_service_publicuri - nova_s3_service_publicurl - nova_s3_service_adminuri - nova_s3_service_adminurl - nova_s3_service_internaluri - nova_s3_service_internalurl - nova_s3_program_name - nova_s3_deprecated_but_enabled - EC2 API - nova_ec2_service_name - nova_ec2_service_type - nova_ec2_service_proto - nova_ec2_service_publicuri_proto - nova_ec2_service_adminuri_proto - nova_ec2_service_internaluri_proto - nova_ec2_service_port - nova_ec2_service_description - nova_ec2_service_publicuri - nova_ec2_service_publicurl - nova_ec2_service_adminuri - nova_ec2_service_adminurl - nova_ec2_service_internaluri - nova_ec2_service_internalurl - nova_ec2_program_name - nova_ec2_deprecated_but_enabled - v3 API - nova_v3_service_name - nova_v3_service_type - nova_v3_service_proto - nova_v3_service_publicuri_proto - nova_v3_service_adminuri_proto - nova_v3_service_internaluri_proto - nova_v3_service_port - nova_v3_service_description - nova_v3_service_publicuri - nova_v3_service_publicurl - nova_v3_service_adminuri - nova_v3_service_adminurl - nova_v3_service_internaluri - nova_v3_service_internalurl - nova_v3_deprecated_but_enabled - v2.1 API - nova_v21_service_name -> nova_service_name - nova_v21_service_type -> nova_service_type - nova_v21_service_proto -> nova_service_proto - nova_v21_service_publicuri_proto -> nova_service_publicuri_proto - nova_v21_service_adminuri_proto -> nova_service_adminuri_proto - nova_v21_service_internaluri_proto -> nova_service_internaluri_proto - nova_v21_service_port -> nova_service_port - nova_v21_service_description -> nova_service_description - nova_v21_service_publicuri -> nova_service_publicuri - nova_v21_service_publicurl -> nova_service_publicurl - nova_v21_service_adminuri -> nova_service_adminuri - nova_v21_service_adminurl -> nova_service_adminurl - nova_v21_service_internaluri -> nova_service_internaluri - nova_v21_service_internalurl -> nova_service_internalurl - nova_v21_enabled DocImpact UpgradeImpact Implements: blueprint liberty-release Change-Id: Ie5a42059c10e7fd0bfc4dba8d87dea3f32db968e
99 lines
3.5 KiB
Django/Jinja
99 lines
3.5 KiB
Django/Jinja
############
|
|
# Metadata #
|
|
############
|
|
[composite:metadata]
|
|
use = egg:Paste#urlmap
|
|
/: meta
|
|
|
|
[pipeline:meta]
|
|
pipeline = metaapp
|
|
|
|
[app:metaapp]
|
|
paste.app_factory = nova.api.metadata.handler:MetadataRequestHandler.factory
|
|
|
|
#############
|
|
# OpenStack #
|
|
#############
|
|
|
|
[composite:osapi_compute]
|
|
use = call:nova.api.openstack.urlmap:urlmap_factory
|
|
/: oscomputeversions
|
|
# starting in Liberty the v21 implementation replaces the v2
|
|
# implementation and is suggested that you use it as the default. If
|
|
# this causes issues with your clients you can rollback to the
|
|
# *frozen* v2 api by commenting out the above stanza and using the
|
|
# following instead::
|
|
# /v1.1: openstack_compute_api_legacy_v2
|
|
# /v2: openstack_compute_api_legacy_v2
|
|
# if rolling back to v2 fixes your issue please file a critical bug
|
|
# at - https://bugs.launchpad.net/nova/+bugs
|
|
#
|
|
# v21 is an exactly feature match for v2, except it has more stringent
|
|
# input validation on the wsgi surface (prevents fuzzing early on the
|
|
# API). It also provides new features via API microversions which are
|
|
# opt into for clients. Unaware clients will receive the same frozen
|
|
# v2 API feature set, but with some relaxed validation
|
|
/v1.1: openstack_compute_api_v21_legacy_v2_compatible
|
|
/v2: openstack_compute_api_v21_legacy_v2_compatible
|
|
/v2.1: openstack_compute_api_v21
|
|
|
|
# NOTE: this is deprecated in favor of openstack_compute_api_v21_legacy_v2_compatible
|
|
[composite:openstack_compute_api_legacy_v2]
|
|
use = call:nova.api.auth:pipeline_factory
|
|
noauth2 = compute_req_id faultwrap sizelimit noauth2 legacy_ratelimit osapi_compute_app_legacy_v2
|
|
keystone = compute_req_id faultwrap sizelimit authtoken keystonecontext legacy_ratelimit osapi_compute_app_legacy_v2
|
|
keystone_nolimit = compute_req_id faultwrap sizelimit authtoken keystonecontext osapi_compute_app_legacy_v2
|
|
|
|
[composite:openstack_compute_api_v21]
|
|
use = call:nova.api.auth:pipeline_factory_v21
|
|
noauth2 = compute_req_id faultwrap sizelimit noauth2 osapi_compute_app_v21
|
|
keystone = compute_req_id faultwrap sizelimit authtoken keystonecontext osapi_compute_app_v21
|
|
|
|
[composite:openstack_compute_api_v21_legacy_v2_compatible]
|
|
use = call:nova.api.auth:pipeline_factory_v21
|
|
noauth2 = compute_req_id faultwrap sizelimit noauth2 legacy_v2_compatible osapi_compute_app_v21
|
|
keystone = compute_req_id faultwrap sizelimit authtoken keystonecontext legacy_v2_compatible osapi_compute_app_v21
|
|
|
|
[filter:request_id]
|
|
paste.filter_factory = oslo_middleware:RequestId.factory
|
|
|
|
[filter:compute_req_id]
|
|
paste.filter_factory = nova.api.compute_req_id:ComputeReqIdMiddleware.factory
|
|
|
|
[filter:faultwrap]
|
|
paste.filter_factory = nova.api.openstack:FaultWrapper.factory
|
|
|
|
[filter:noauth2]
|
|
paste.filter_factory = nova.api.openstack.auth:NoAuthMiddleware.factory
|
|
|
|
[filter:legacy_ratelimit]
|
|
paste.filter_factory = nova.api.openstack.compute.limits:RateLimitingMiddleware.factory
|
|
|
|
[filter:sizelimit]
|
|
paste.filter_factory = oslo_middleware:RequestBodySizeLimiter.factory
|
|
|
|
[filter:legacy_v2_compatible]
|
|
paste.filter_factory = nova.api.openstack:LegacyV2CompatibleWrapper.factory
|
|
|
|
[app:osapi_compute_app_legacy_v2]
|
|
paste.app_factory = nova.api.openstack.compute:APIRouter.factory
|
|
|
|
[app:osapi_compute_app_v21]
|
|
paste.app_factory = nova.api.openstack.compute:APIRouterV21.factory
|
|
|
|
[pipeline:oscomputeversions]
|
|
pipeline = faultwrap oscomputeversionapp
|
|
|
|
[app:oscomputeversionapp]
|
|
paste.app_factory = nova.api.openstack.compute.versions:Versions.factory
|
|
|
|
##########
|
|
# Shared #
|
|
##########
|
|
|
|
[filter:keystonecontext]
|
|
paste.filter_factory = nova.api.auth:NovaKeystoneContext.factory
|
|
|
|
[filter:authtoken]
|
|
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
|