[Openstack] keystone service endpoint creation failing on RHEL7

michael at tropyx.com michael at tropyx.com
Mon May 25 10:40:28 UTC 2015


 

There's definitely something weird going on.... now we're trying SLES
and getting the same error. 

This is the keystone-error.log (apache) 

2015-05-25 05:36:00.029253 mod_wsgi (pid=13432,
process='keystone-admin', application=''): Loading WSGI script
'/srv/www/cgi-bin/keystone/admin'.
2015-05-25 05:36:00.029822 mod_wsgi (pid=13432): Target WSGI script
'/srv/www/cgi-bin/keystone/admin' cannot be loaded as Python module.
2015-05-25 05:36:00.029875 mod_wsgi (pid=13432): Exception occurred
processing WSGI script '/srv/www/cgi-bin/keystone/admin'.
2015-05-25 05:36:00.029937 Traceback (most recent call last):
2015-05-25 05:36:00.029993 File "/srv/www/cgi-bin/keystone/admin", line
25, in <module>
2015-05-25 05:36:00.030064 application =
wsgi_server.initialize_application(name)
2015-05-25 05:36:00.030124 File
"/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 38, in
initialize_application
2015-05-25 05:36:00.030178 common.configure()
2015-05-25 05:36:00.030219 File
"/usr/lib/python2.7/site-packages/keystone/server/common.py", line 28,
in configure
2015-05-25 05:36:00.030264 config.configure()
2015-05-25 05:36:00.030304 File
"/usr/lib/python2.7/site-packages/keystone/common/config.py", line 1103,
in configure
2015-05-25 05:36:00.030342 help='Do not monkey-patch threading system
modules.'))
2015-05-25 05:36:00.030371 File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1794, in
__inner
2015-05-25 05:36:00.030405 result = f(self, *args, **kwargs)
2015-05-25 05:36:00.030429 File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1967, in
register_cli_opt
2015-05-25 05:36:00.030454 raise ArgsAlreadyParsedError("cannot register
CLI option")
2015-05-25 05:36:00.030495 ArgsAlreadyParsedError: arguments already
parsed: cannot register CLI option
2015-05-25 05:36:00.030671 AH00690: no acceptable variant:
/usr/share/apache2/error/HTTP_INTERNAL_SERVER_ERROR.html.var 

Does that give anyone a clue as to what is going wrong? 

Here's our Apache-Keystone-WSGI config: 

Listen 5000
Listen 35357

<VirtualHost *:5000>
 WSGIDaemonProcess keystone-public processes=5 threads=1 user=keystone
display-name=%{GROUP}
 WSGIProcessGroup keystone-public
 WSGIScriptAlias / /srv/www/cgi-bin/keystone/main
 WSGIApplicationGroup %{GLOBAL}
 WSGIPassAuthorization On
 ErrorLogFormat "%{cu}t %M"
 LogLevel info
 ErrorLog /var/log/apache2/keystone-error.log
 CustomLog /var/log/apache2/keystone-access.log combined
</VirtualHost>

<VirtualHost *:35357>
 WSGIDaemonProcess keystone-admin processes=5 threads=1 user=keystone
display-name=%{GROUP}
 WSGIProcessGroup keystone-admin
 WSGIScriptAlias / /srv/www/cgi-bin/keystone/admin
 WSGIApplicationGroup %{GLOBAL}
 WSGIPassAuthorization On
 ErrorLogFormat "%{cu}t %M"
 LogLevel info
 ErrorLog /var/log/apache2/keystone-error.log
 CustomLog /var/log/apache2/keystone-access.log combined
</VirtualHost>

Thanks in advance. 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150525/b9d84d7b/attachment.html>


More information about the Openstack mailing list