From dc9a8c8f5d369eb121053fcdc362648e219d968f Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 24 Jun 2015 17:54:40 -0700 Subject: [PATCH] Ensure 'WSGIService' derives from oslo_service base class Currently this code will fail due to an isinstance check in oslo_service that ensures that the services launched are of the right type. Closes-Bug: #1468559 Change-Id: I71acc5082aacbfb66d422cec6636ba44ae2c8402 --- cinder/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cinder/service.py b/cinder/service.py index 63142f472..b41f135d3 100644 --- a/cinder/service.py +++ b/cinder/service.py @@ -333,7 +333,7 @@ class Service(service.Service): LOG.exception(_LE('DBError encountered: ')) -class WSGIService(object): +class WSGIService(service.ServiceBase): """Provides ability to launch API from a 'paste' configuration.""" def __init__(self, name, loader=None): -- 2.45.2