Update Zun api-paste

This also removes  CPUFilter from Zun filters as this filtering should be
done by Placement.

Change-Id: I3e463f7442ea6b17d73429e7e4dff2fb71217a30
This commit is contained in:
Dmitriy Rabotyagov 2021-12-23 18:30:24 +02:00 committed by Dmitriy Rabotyagov
parent eedfc7afa9
commit 4bf971f33d
2 changed files with 11 additions and 2 deletions

View File

@ -241,7 +241,6 @@ zun_service_in_ldap: "{{ service_ldap_backend_enabled | default(False) }}"
zun_scheduler_default_filters: >-
AvailabilityZoneFilter,
CPUFilter,
ComputeFilter
zun_scheduler_available_filters: zun.scheduler.filters.all_filters
zun_scheduler_driver: filter_scheduler

View File

@ -1,4 +1,9 @@
[pipeline:main]
[composite:main]
use = egg:Paste#urlmap
/: zun_api_pipeline
/healthcheck: healthcheck
[pipeline:zun_api_pipeline]
pipeline = cors request_id osprofiler authtoken api_v1
[app:api_v1]
@ -17,3 +22,8 @@ paste.filter_factory = oslo_middleware:RequestId.factory
[filter:cors]
paste.filter_factory = oslo_middleware.cors:filter_factory
oslo_config_project = zun
[app:healthcheck]
paste.app_factory = oslo_middleware:Healthcheck.app_factory
backends = disable_by_file
disable_by_file_path = /etc/zun/healthcheck_disable