Problem creating service entity for Identity service
I have been stuck on the following step. I searched it on Internet but none of them could solve the problem. I am getting following error while creating the "identity service".
root@controller:~# openstack service create --name keystone --description "OpenStack_Identity" identity
usage: openstack service create [-h] [-f {shell,table}] [-c COLUMN]
[--variable VARIABLE] [--prefix PREFIX]
[--name <service-name>] [--enable | --disable]
<service-type>
openstack service create: error: unrecognized arguments: --description identity
If i type the command :
root@NodeTwo:~# openstack service list
then it gives the following error :
INFO: urllib3.connectionpool Starting new HTTP connection (1): NodeTwo
ERROR: cliff.app Internal Server Error (HTTP 500)
My error logs are :
2016-12-05 15:56:28.024496 mod_wsgi (pid=13888, process='keystone-admin', application=''): Loading WSGI script '/var/www/cgi-bin/keystone/admin'.
2016-12-05 15:56:28.024563 mod_wsgi (pid=13888, process='keystone-admin', application=''): Failed to parse WSGI script file '/var/www/cgi-bin/keystone/admin'.
2016-12-05 15:56:28.024573 mod_wsgi (pid=13888): Exception occurred processing WSGI script '/var/www/cgi-bin/keystone/admin'.
2016-12-05 15:56:28.024640 File "/var/www/cgi-bin/keystone/admin", line 1
2016-12-05 15:56:28.024645 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2016-12-05 15:56:28.024649 ^
2016-12-05 15:56:28.024651 SyntaxError: invalid syntax
Please help, thanking you.
Perhaps your openstack client is incompatible with the keystone server or some libraries. openstack --version and keystone-manage --version show you the versions. Then, on releases.openstack.org, click keystone and openstackclient to find out to what OpenStack release they correspond.
I also notice that the usage message is different from the latest doc http://docs.openstack.org/developer/p.... Probably your client is old.
Hey thanks for the reply. My openstack client version is : 0.3.0 and keystone version is : 2014.1.5. How do i know if they are compatible or not and how to upgrade them if needed. please suggest, Thanks.