[Openstack] [OpenStack] Error while Identity service creation

Basavaraj B basavaraja.b at gmail.com
Tue Feb 2 12:41:25 UTC 2016


Hello,

I am trying to install Openstack *liberty* version on *Centos7*.
I am stucked while installing Identity service creation. I have searched
google for the solution but could not find one!

My admin-openrc.sh contains:
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=os_demo
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL=http://controller:35357/v3 <http://10.0.0.11:35357/v3>
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2

Command tried is:
# openstack service create --name keystone --description "OpenStack
Identity" identity --os-username admin --os-auth-url
http://controller:35357/v3 <http://10.0.0.11:35357/v3> --os-project-name
os_demo
Output-->
*Discovering versions from the identity service failed when creating the
password plugin. Attempting to determine version from URL.*
*Internal Server Error (HTTP 500)*

When I check the file /var/log/httpd/keystone-error.log, I noticed these
lines:
mod_wsgi (pid=56573): Target WSGI script '/usr/bin/keystone-wsgi-admin'
cannot be loaded as Python module.
2016-02-02 18:08:40.864117 mod_wsgi (pid=56573): Exception occurred
processing WSGI script '/usr/bin/keystone-wsgi-admin'.
2016-02-02 18:08:40.864132 Traceback (most recent call last):
2016-02-02 18:08:40.864144   File "/usr/bin/keystone-wsgi-admin", line 36,
in <module>
2016-02-02 18:08:40.864165     application = initialize_admin_application()
2016-02-02 18:08:40.864171   File
"/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 78, in
initialize_admin_application
2016-02-02 18:08:40.864182     return initialize_application('admin')
2016-02-02 18:08:40.864188   File
"/usr/lib/python2.7/site-packages/keystone/server/wsgi.py", line 51, in
initialize_application
2016-02-02 18:08:40.864197     common.configure()
2016-02-02 18:08:40.864203   File
"/usr/lib/python2.7/site-packages/keystone/server/common.py", line 31, in
configure
2016-02-02 18:08:40.864212     config.configure()
2016-02-02 18:08:40.864218   File
"/usr/lib/python2.7/site-packages/keystone/common/config.py", line 1204, in
configure
2016-02-02 18:08:40.864228     help='Do not monkey-patch threading system
modules.'))
2016-02-02 18:08:40.864234   File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1828, in __inner
2016-02-02 18:08:40.864243     result = f(self, *args, **kwargs)
2016-02-02 18:08:40.864249   File
"/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2003, in
register_cli_opt
2016-02-02 18:08:40.864258     raise ArgsAlreadyParsedError("cannot
register CLI option")
2016-02-02 18:08:40.864272 ArgsAlreadyParsedError: arguments already
parsed: cannot register CLI option


Please help me get out of this issue.

I have other queries mentioned below:
1. I see an example of 2-node architecture in the installation guide for
liberty version. Which guide do I have to refer to have 3-node architecture
(Node1 being Controller, Node2 as Nuetron and Node3 as a compute)?

Thanks,
Basavaraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160202/9d00deab/attachment.html>


More information about the Openstack mailing list