The patch fixes V3.router error in glance
The patch fixes the error [0] accures due to V3.router is enabled in glance
though it is depricated [1] in glance and has been moved to glare.
[0] ERROR glance.common.config [-] Unable to load glance-api-keystone from configuration file /etc/glance/glance-api-paste.ini.
Got: ImportError('No module named v3.router',)
[1] https://specs.openstack.org/openstack/glance-specs/specs/mitaka/implemented/deprecate-v3-api.html
Change-Id: I6aea4727b8cea5273989fc3bb43f16eede0246c4
Related-PROD: PROD-14699
diff --git a/glance/files/ocata/glance-api-paste.ini b/glance/files/ocata/glance-api-paste.ini
index 6568c20..3c208ce 100644
--- a/glance/files/ocata/glance-api-paste.ini
+++ b/glance/files/ocata/glance-api-paste.ini
@@ -40,7 +40,6 @@
/: apiversions
/v1: apiv1app
/v2: apiv2app
-/v3: apiv3app
[app:apiversions]
paste.app_factory = glance.api.versions:create_resource
@@ -51,9 +50,6 @@
[app:apiv2app]
paste.app_factory = glance.api.v2.router:API.factory
-[app:apiv3app]
-paste.app_factory = glance.api.v3.router:API.factory
-
[filter:healthcheck]
paste.filter_factory = oslo_middleware:Healthcheck.factory
backends = disable_by_file