[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone
git.user
2042744 at bugs.launchpad.net
Fri Feb 23 22:27:37 UTC 2024
looks like kind of use-after-free
I tried to trace it
/usr/lib/python3/dist-packages/eventlet/green/thread.py
...
def get_ident(gr=None):
traceback.print_stack()
...
and got AttributeError: 'NoneType' object has no attribute 'print_stack'
On the other side if traceback one level up
/usr/lib/python3.10/threading.py
def acquire(self, blocking=True, timeout=-1):
...
traceback.print_stack()
then last 2 stacks begins with sys.exit() and h.close():
File "/usr/bin/keystone-manage", line 10, in <module>
sys.exit(main())
....
File "/usr/lib/python3.10/threading.py", line 165, in acquire
traceback.print_stack()
File "/usr/lib/python3.10/logging/__init__.py", line 2183, in shutdown
h.close()
...
File "/usr/lib/python3.10/threading.py", line 165, in acquire
traceback.print_stack()
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to keystone in Ubuntu.
https://bugs.launchpad.net/bugs/2042744
Title:
su -s /bin/sh -c "keystone-manage db_sync" keystone
Status in OpenStack Identity (keystone):
Confirmed
Status in keystone package in Ubuntu:
Confirmed
Bug description:
When I execute su -s /bin/sh -c "keystone-manage db_sync" keystone
I am receiving below error
Exception ignored in: <function _removeHandlerRef at 0x7f01819b43a0>
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/__init__.py", line 846, in _removeHandlerRef
File "/usr/lib/python3.10/logging/__init__.py", line 226, in _acquireLock
File "/usr/lib/python3.10/threading.py", line 164, in acquire
File "/usr/lib/python3/dist-packages/eventlet/green/thread.py", line 34, in get_ident
AttributeError: 'NoneType' object has no attribute 'getcurrent'
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/2042744/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list