yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #94071
[Bug 2068879] [NEW] Dependency bcrypt version (with passlib)
Public bug reported:
env
ubuntu 22.04 amd64
keystone - origin/master (dd61a91864b626314c167fcfa2db8c846d689f9e)
**passlib 1.7.4, bcrypt 4.1.3 -- error
---------------------------
Steps to Reproduce
1. install OS
2. git clone & checkout
3. python venv actvicate
4. pip install requirements ----- expect here
5. keystone install
6. keystone db_sync
7. bootstrap -------- error
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt During handling of the above exception, another exception occurred:
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt Traceback (most recent call last):
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt File "/root/stack/openstack-venv/lib/python3.10/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt version = _bcrypt.__about__.__version__
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt AttributeError: module 'bcrypt' has no attribute '__about__'
---------------------------
why??
requirements.txt
passlib>=1.7.0 # BSD
bcrypt>=3.1.3 # Apache-2.0
nothing change after OS install just pip install requirements.txt
installed passlib 1.7.4, bcrypt 4.1.3
but failed bootstrap like logs, screenshot
it solved when installed bcrypt 4.0.0
plaese check this
1. additional information bcrypt package 3.x.x > 4.x.x
2. update requirements.text like bcrypt>=3.1.3,<4.0.0
maybe it Good First Issue
** Affects: keystone
Importance: Undecided
Status: New
** Patch added: "no1.png"
https://bugs.launchpad.net/bugs/2068879/+attachment/5787848/+files/no1.png
--
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/2068879
Title:
Dependency bcrypt version (with passlib)
Status in OpenStack Identity (keystone):
New
Bug description:
env
ubuntu 22.04 amd64
keystone - origin/master (dd61a91864b626314c167fcfa2db8c846d689f9e)
**passlib 1.7.4, bcrypt 4.1.3 -- error
---------------------------
Steps to Reproduce
1. install OS
2. git clone & checkout
3. python venv actvicate
4. pip install requirements ----- expect here
5. keystone install
6. keystone db_sync
7. bootstrap -------- error
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt During handling of the above exception, another exception occurred:
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt Traceback (most recent call last):
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt File "/root/stack/openstack-venv/lib/python3.10/site-packages/passlib/handlers/bcrypt.py", line 620, in _load_backend_mixin
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt version = _bcrypt.__about__.__version__
2024-06-10 05:34:16.985 545454 ERROR passlib.handlers.bcrypt AttributeError: module 'bcrypt' has no attribute '__about__'
---------------------------
why??
requirements.txt
passlib>=1.7.0 # BSD
bcrypt>=3.1.3 # Apache-2.0
nothing change after OS install just pip install requirements.txt
installed passlib 1.7.4, bcrypt 4.1.3
but failed bootstrap like logs, screenshot
it solved when installed bcrypt 4.0.0
plaese check this
1. additional information bcrypt package 3.x.x > 4.x.x
2. update requirements.text like bcrypt>=3.1.3,<4.0.0
maybe it Good First Issue
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/2068879/+subscriptions