keystone: internal server error(http 500)

asked 2017-06-30 10:22:33 -0500

liuliu gravatar image

updated 2017-06-30 18:20:05 -0500

Hi guys, I met following error message when I deploy the keystone service.

root@ubuntu:/# openstack --os-auth-url http://controller:35357/v3 \

--os-project-domain-id default --os-user-domain-id default \ --os-project-name admin --os-username admin --os-auth-type password \ token issue Ignoring domain related config project_domain_id because identity API version is 2.0 Ignoring domain related config user_domain_id because identity API version is 2.0 Ignoring domain related config project_domain_id because identity API version is 2.0 Ignoring domain related config user_domain_id because identity API version is 2.0 Ignoring domain related config project_domain_id because identity API version is 2.0 Ignoring domain related config user_domain_id because identity API version is 2.0 Ignoring domain related config project_domain_id because identity API version is 2.0 Ignoring domain related config user_domain_id because identity API version is 2.0 Password: Failed to discover available identity versions when contacting http://controller:35357/v3. Attempting to parse version from URL. Internal Server Error (HTTP 500)


And I have checked the keystone.log, it shows that-

2017-06-29 18:38:23.939057 mod_wsgi (pid=4005): Target WSGI script '/usr/bin/keystone-wsgi-admin' cannot be loaded as Python module. 2017-06-29 18:38:23.939119 mod_wsgi (pid=4005): Exception occurred processing WSGI script '/usr/bin/keystone-wsgi-admin'. 2017-06-29 18:38:23.939152 Traceback (most recent call last): 2017-06-29 18:38:23.939182 File "/usr/bin/keystone-wsgi-admin", line 51, in <module> 2017-06-29 18:38:23.939264 application = initialize_admin_application() 2017-06-29 18:38:23.939285 File "/opt/stack/keystone/keystone/server/wsgi.py", line 129, in initialize_admin_application 2017-06-29 18:38:23.939311 config_files=_get_config_files() 2017-06-29 18:38:23.939325 File "/opt/stack/keystone/keystone/server/wsgi.py", line 53, in initialize_application 2017-06-29 18:38:23.939346 common.configure(config_files=config_files) 2017-06-29 18:38:23.939784 File "/opt/stack/keystone/keystone/server/common.py", line 29, in configure 2017-06-29 18:38:23.939846 keystone.conf.configure() 2017-06-29 18:38:23.939867 File "/opt/stack/keystone/keystone/conf/__init__.py", line 122, in configure 2017-06-29 18:38:23.939927 help='Do not monkey-patch threading system modules.')) 2017-06-29 18:38:23.939948 File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2309, in __inner 2017-06-29 18:38:23.940073 result = f(self, args, *kwargs) 2017-06-29 18:38:23.940090 File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2520, in register_cli_opt 2017-06-29 18:38:23.940111 raise ArgsAlreadyParsedError("cannot register CLI option") 2017-06-29 18:38:23.940180 ArgsAlreadyParsedError: arguments already parsed: cannot register CLI option


who can tell me that what's the root reason for this error message and how can I solve it, thanks a lot.

edit retag flag offensive close merge delete

Comments

Google "cannot register cli option" and select the result which fits your situation. One possible cause: http://lists.openstack.org/pipermail/....

Bernd Bausch gravatar imageBernd Bausch ( 2017-06-30 18:19:26 -0500 )edit