Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

execute openstack service create xxx return http 500 error

i have been issue a command like this : openstack service create --name keystone --description "OpenStack Identity" identity then the comand return Internal Server Error (HTTP 500)

and the some exception raised in the keystone-error.log blow:

root@test[/var/log/httpd]#cat keystone-error.log 2017-08-17 14:54:11.772229 mod_wsgi (pid=113550): Target WSGI script '/openstack/bin/keystone-wsgi-admin' cannot be loaded as Python module. 2017-08-17 14:54:11.772266 mod_wsgi (pid=113550): Exception occurred processing WSGI script '/openstack/bin/keystone-wsgi-admin'. 2017-08-17 14:54:11.772289 Traceback (most recent call last): 2017-08-17 14:54:11.772309 File "/openstack/bin/keystone-wsgi-admin", line 6, in <module> 2017-08-17 14:54:11.772430 from keystone.server.wsgi import initialize_admin_application 2017-08-17 14:54:11.772446 ImportError: No module named keystone.server.wsgi

i tried to execute command "from keystone.server.wsgi import initialize_admin_application" in python environment it passed ,and i execute "python /openstack/bin/keystone-wsgi-admin" it did not raise an error ever.

did someone have met the problem like this ,i hardly need a help,thanks!