From: Joshua Harlow Date: Thu, 25 Jun 2015 00:54:40 +0000 (-0700) Subject: Ensure 'WSGIService' derives from oslo_service base class X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=dc9a8c8f5d369eb121053fcdc362648e219d968f;p=openstack-build%2Fcinder-build.git 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 --- 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):