i FIX this with some thread.py edit:
vi /usr/lib/python3/dist-packages/eventlet/green/thread.py (or your path to thread.py from exception traceback) find this code:
def get_ident(gr=None): if gr is None: return id(greenlet.getcurrent()) else: return id(gr)
and make try-except contruction for get id like this:
def get_ident(gr=None): try: if gr is None: return id(greenlet.getcurrent()) else: return id(gr) except: return id(gr)
retry: su -s /bin/bash keystone -c "keystone-manage db_sync"
i FIX this with some thread.py edit:
vi /usr/lib/ python3/ dist-packages/ eventlet/ green/thread. py
(or your path to thread.py from exception traceback)
find this code:
def get_ident(gr=None): getcurrent( ))
if gr is None:
return id(greenlet.
else:
return id(gr)
and make try-except contruction for get id like this:
def get_ident(gr=None): getcurrent( ))
try:
if gr is None:
return id(greenlet.
else:
return id(gr)
except:
return id(gr)
retry:
su -s /bin/bash keystone -c "keystone-manage db_sync"