Remove cinder client

Change-Id: I585da9a60757da8020b8e1086ae8d8375a9ce364
Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
This commit is contained in:
Rosario Di Somma 2017-05-10 14:48:05 +00:00 committed by Monty Taylor
parent 3ed97257ec
commit 3f76b25798
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
2 changed files with 1 additions and 6 deletions

View File

@ -24,7 +24,6 @@ keystoneauth1>=2.20.0 # Apache-2.0
netifaces>=0.10.4 # MIT
python-novaclient>=7.1.0 # Apache-2.0
python-keystoneclient>=3.8.0 # Apache-2.0
python-cinderclient>=2.0.1 # Apache-2.0
python-ironicclient>=1.11.0 # Apache-2.0
python-designateclient>=1.5.0 # Apache-2.0

View File

@ -31,7 +31,6 @@ import munch
import requestsexceptions
from six.moves import urllib
import cinderclient.exceptions as cinder_exceptions
import keystoneauth1.exceptions
import novaclient.exceptions as nova_exceptions
@ -652,11 +651,8 @@ class OpenStackCloud(_normalize.Normalizer):
@property
def cinder_client(self):
# Import cinderclient late because importing it at the top level
# breaks logging for users of shade
import cinderclient.client # flake8: noqa
if self._cinder_client is None:
_deprecated_import_check('cinderclient')
self._cinder_client = self._get_client('volume')
return self._cinder_client