Public bug reported:
tests are failing due to a new deprecation warning:
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "keystone/tests/unit/test_backend_sql.py", line 59, in setUp
self.load_fixtures(default_fixtures)
File "keystone/tests/unit/core.py", line 754, in load_fixtures
user_copy = self.identity_api.create_user(user_copy)
File "keystone/common/manager.py", line 123, in wrapped
__ret_val = __f(*args, **kwargs)
File "keystone/identity/core.py", line 410, in wrapper
return f(self, *args, **kwargs)
File "keystone/identity/core.py", line 420, in wrapper
return f(self, *args, **kwargs)
File "keystone/identity/core.py", line 925, in create_user
ref = driver.create_user(user['id'], user)
File "keystone/common/sql/core.py", line 429, in wrapper
return method(*args, **kwargs)
File "keystone/identity/backends/sql.py", line 121, in create_user
user = utils.hash_user_password(user)
File "keystone/common/utils.py", line 129, in hash_user_password
return dict(user, password=hash_password(password))
File "keystone/common/utils.py", line 136, in hash_password
password_utf8, rounds=CONF.crypt_strength)
File
"/var/lib/jenkins/workspace/openstack_gerrit/keystone/.tox/sqla_py27/lib/python2.7/site-packages/passlib/utils/decor.py",
line 190, in wrapper
warn(msg % tmp, DeprecationWarning, stacklevel=2)
DeprecationWarning: the method
passlib.handlers.sha2_crypt.sha512_crypt.encrypt() is deprecated as of Passlib
1.7, and will be removed in Passlib 2.0, use .hash() instead.
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1644263
Title:
passlib 1.7.0 deprecates sha512_crypt.encrypt()
Status in OpenStack Identity (keystone):
New
Bug description:
tests are failing due to a new deprecation warning:
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "keystone/tests/unit/test_backend_sql.py", line 59, in setUp
self.load_fixtures(default_fixtures)
File "keystone/tests/unit/core.py", line 754, in load_fixtures
user_copy = self.identity_api.create_user(user_copy)
File "keystone/common/manager.py", line 123, in wrapped
__ret_val = __f(*args, **kwargs)
File "keystone/identity/core.py", line 410, in wrapper
return f(self, *args, **kwargs)
File "keystone/identity/core.py", line 420, in wrapper
return f(self, *args, **kwargs)
File "keystone/identity/core.py", line 925, in create_user
ref = driver.create_user(user['id'], user)
File "keystone/common/sql/core.py", line 429, in wrapper
return method(*args, **kwargs)
File "keystone/identity/backends/sql.py", line 121, in create_user
user = utils.hash_user_password(user)
File "keystone/common/utils.py", line 129, in hash_user_password
return dict(user, password=hash_password(password))
File "keystone/common/utils.py", line 136, in hash_password
password_utf8, rounds=CONF.crypt_strength)
File
"/var/lib/jenkins/workspace/openstack_gerrit/keystone/.tox/sqla_py27/lib/python2.7/site-packages/passlib/utils/decor.py",
line 190, in wrapper
warn(msg % tmp, DeprecationWarning, stacklevel=2)
DeprecationWarning: the method
passlib.handlers.sha2_crypt.sha512_crypt.encrypt() is deprecated as of Passlib
1.7, and will be removed in Passlib 2.0, use .hash() instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1644263/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp