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

Shebin Thomas 2042744 at bugs.launchpad.net
Mon Mar 4 10:48:11 UTC 2024


guys the error occurs because of the permissions of keystone user
grep keystone /etc/passwd if this commands gives the result with something like this /usr/sbin/nologin or /bin/false then change it using usermod -s /bin/bash keystone after this install and configure within the keystone user or in root user also make sure the keystone user is not flagged as system account.
This helped me in setting the keystone i am using ubuntu 22.04.03 lts and openstack antelope

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