[Bug 2042744] Re: su -s /bin/sh -c "keystone-manage db_sync" keystone

Greg Oster 2042744 at bugs.launchpad.net
Fri Feb 9 16:17:12 UTC 2024


@oskar-bergren Same issue with the recent commit.  I grabbed the latest
from https://opendev.org/openstack/keystone and ran that, and it still
failed :(

(base) me at node2:~/keystone$ keystone-manage db_sync                                                                                                                                         10:05:14 [144/1749]
Config file not found, using default configs.                                                                                                                                                                     
2024-02-09 16:05:14.209 26507 INFO alembic.runtime.migration [-] Context impl SQLiteImpl.                                                                                                                         
2024-02-09 16:05:14.210 26507 INFO alembic.runtime.migration [-] Will assume non-transactional DDL.                                                                                                               
2024-02-09 16:05:14.215 26507 INFO alembic.runtime.migration [-] Running upgrade  -> 27e647c0fad4, Initial version.                                                                                               
2024-02-09 16:05:14.240 26507 INFO alembic.runtime.migration [-] Running upgrade 27e647c0fad4 -> 29e87d24a316, Initial no-op Yoga expand migration.                                                               
2024-02-09 16:05:14.240 26507 INFO alembic.runtime.migration [-] Running upgrade 29e87d24a316 -> b4f8b3f584e0, Fix incorrect constraints.                                                                         
2024-02-09 16:05:14.244 26507 INFO alembic.runtime.migration [-] Running upgrade b4f8b3f584e0 -> 11c3b243b4cb, Remove service_provider.relay_state_prefix server default.                                         
2024-02-09 16:05:14.247 26507 INFO alembic.runtime.migration [-] Running upgrade 11c3b243b4cb -> 47147121, Add Identity Federation attribute mapping schema version.                                              
2024-02-09 16:05:14.247 26507 INFO alembic.runtime.migration [-] Running upgrade 27e647c0fad4 -> e25ffa003242, Initial no-op Yoga contract migration.                                                             
2024-02-09 16:05:14.248 26507 INFO alembic.runtime.migration [-] Running upgrade e25ffa003242 -> 99de3849d860, Fix incorrect constraints.                                                                         
2024-02-09 16:05:14.254 26507 INFO alembic.runtime.migration [-] Running upgrade 99de3849d860 -> c88cdce8f248, Remove duplicate constraints.                                                                      
Exception ignored in: <function _removeHandlerRef at 0x7f5bfc17db20>                                                                                                                                              
Traceback (most recent call last):                                                                                                                                                                                
  File "/home/me/anaconda3/lib/python3.11/logging/__init__.py", line 855, in _removeHandlerRef                                                                                                                 
  File "/home/me/anaconda3/lib/python3.11/logging/__init__.py", line 235, in _acquireLock                                                                                                                      
  File "/home/me/anaconda3/lib/python3.11/threading.py", line 164, in acquire                                                                                                                                  
  File "/home/me/anaconda3/lib/python3.11/site-packages/eventlet/green/thread.py", line 36, in get_ident      
       AttributeError: 'NoneType' object has no attribute 'getcurrent'                                          
(base) me at node2:~/keystone$   

While keystone might no longer be using eventlet, the oslo_log stuff
still is...

-- 
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