Remove cinder client
Change-Id: I585da9a60757da8020b8e1086ae8d8375a9ce364 Signed-off-by: Rosario Di Somma <rosario.disomma@dreamhost.com>
This commit is contained in:
parent
3ed97257ec
commit
3f76b25798
|
@ -24,7 +24,6 @@ keystoneauth1>=2.20.0 # Apache-2.0
|
||||||
netifaces>=0.10.4 # MIT
|
netifaces>=0.10.4 # MIT
|
||||||
python-novaclient>=7.1.0 # Apache-2.0
|
python-novaclient>=7.1.0 # Apache-2.0
|
||||||
python-keystoneclient>=3.8.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-ironicclient>=1.11.0 # Apache-2.0
|
||||||
python-designateclient>=1.5.0 # Apache-2.0
|
python-designateclient>=1.5.0 # Apache-2.0
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ import munch
|
||||||
import requestsexceptions
|
import requestsexceptions
|
||||||
from six.moves import urllib
|
from six.moves import urllib
|
||||||
|
|
||||||
import cinderclient.exceptions as cinder_exceptions
|
|
||||||
import keystoneauth1.exceptions
|
import keystoneauth1.exceptions
|
||||||
import novaclient.exceptions as nova_exceptions
|
import novaclient.exceptions as nova_exceptions
|
||||||
|
|
||||||
|
@ -652,11 +651,8 @@ class OpenStackCloud(_normalize.Normalizer):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def cinder_client(self):
|
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:
|
if self._cinder_client is None:
|
||||||
|
_deprecated_import_check('cinderclient')
|
||||||
self._cinder_client = self._get_client('volume')
|
self._cinder_client = self._get_client('volume')
|
||||||
return self._cinder_client
|
return self._cinder_client
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue