Add in /usr/lib/python2.7/dist-packages/keystone/exception.py next line
from keystone.openstack.common.gettextutils import _
after from keystone.openstack.common import log as logging
Add in /usr/lib/ python2. 7/dist- packages/ keystone/ exception. py next line
from keystone. openstack. common. gettextutils import _
after openstack. common import log as logging
from keystone.