← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1554231] Re: Clean up warnings about keystoneclient.adapter.Adapter

 

These warnings get triggered by the python-cinderlient which uses
deprecated keystoneclient code. Nova cannot prevent that. The Cinder
folks should look into that.

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "nova/tests/unit/test_cinder.py", line 238, in test_volume_without_attachment
        volume = self.api.get(self.context, '5678')
      File "nova/volume/cinder.py", line 232, in wrapper
        res = method(self, ctx, *args, **kwargs)
      File "nova/volume/cinder.py", line 255, in wrapper
        res = method(self, ctx, volume_id, *args, **kwargs)
      File "nova/volume/cinder.py", line 301, in get
        item = cinderclient(context).volumes.get(volume_id)
      File "nova/volume/cinder.py", line 147, in cinderclient
        **service_parameters)
      File "/home/mzoeller/git/nova/.tox/py27/lib/python2.7/site-packages/cinderclient/client.py", line 634, in Client
        return client_class(*args, **kwargs)
      File "/home/mzoeller/git/nova/.tox/py27/lib/python2.7/site-packages/cinderclient/v2/client.py", line 117, in __init__
        **kwargs)
      File "/home/mzoeller/git/nova/.tox/py27/lib/python2.7/site-packages/cinderclient/client.py", line 551, in _construct_http_client
        **kwargs)
      File "/home/mzoeller/git/nova/.tox/py27/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
        return wrapped(*args, **kwargs)
      File "/home/mzoeller/git/nova/.tox/py27/lib/python2.7/site-packages/keystoneclient/adapter.py", line 54, in __init__
        raise Exception("mzoeller: baem!!")
    Exception: mzoeller: baem!!

** Project changed: nova => python-cinderclient

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1554231

Title:
  Clean up warnings about keystoneclient.adapter.Adapter

Status in python-cinderclient:
  Confirmed

Bug description:
  Nova test runs output a bunch of warnings about
  keystoneclient.adapter.Adapter:

  Captured stderr:
  ~~~~~~~~~~~~~~~~
      /home/jaypipes/repos/nova/.tox/py27/local/lib/python2.7/site-packages/keystoneclient/adapter.py:57: DeprecationWarning: keystoneclient.adapter.Adapter is deprecated as of the 2.1.0 release in favor of keystoneauth1.adapter.Adapter. It will be removed in future releases.
        'removed in future releases.', DeprecationWarning)

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-cinderclient/+bug/1554231/+subscriptions


References