Ask Your Question
0

You are not authorized to perform the requested action: identity:create_service (HTTP 403)

asked 2015-11-24 05:22:23 -0600

OpenStack Liberty Ubuntu 14.04 LTS

When trying creating OpenStack Identity service the system says I am not authorized, even, OS_* variables seem correctly set.

controller@controller:~$ openstack service create \

--name keystone --description "OpenStack Identity" identity You are not authorized to perform the requested action: identity:create_service (HTTP 403) (Request-ID: req-bbbefdbe-0edc-46dc-828e-8eb5d6699df3)

Variables set:

controller@controller:~$ env | grep OS
OS_PROJECT_DOMAIN_ID=default
OS_USER_DOMAIN_ID=default
OS_PROJECT_NAME=admin
OS_IDENTITY_API_VERSION=3
OS_PASSWORD=ADMIN_PASS
OS_AUTH_URL=http://controller:35357/v3
OS_TOKEN=c7c99e97d65a5cb972a4
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_URL=http://controller:35357/v3
LESSCLOSE=/usr/bin/lesspipe %s %s

Keystone Log:

2015-11-24 09:53:56.354 18406 ERROR root [-] Failed to start the admin server
2015-11-24 09:53:56.354 18406 ERROR root Traceback (most recent call last):
2015-11-24 09:53:56.354 18406 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2015-11-24 09:53:56.354 18406 ERROR root     server.launch_with(launcher)
2015-11-24 09:53:56.354 18406 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2015-11-24 09:53:56.354 18406 ERROR root     self.server.listen()
2015-11-24 09:53:56.354 18406 ERROR root   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 110, in listen
2015-11-24 09:53:56.354 18406 ERROR root     backlog=backlog)
2015-11-24 09:53:56.354 18406 ERROR root   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
2015-11-24 09:53:56.354 18406 ERROR root     sock.bind(addr)
2015-11-24 09:53:56.354 18406 ERROR root   File "/usr/lib/python2.7/socket.py", line 224, in meth
2015-11-24 09:53:56.354 18406 ERROR root     return getattr(self._sock,name)(*args)
2015-11-24 09:53:56.354 18406 ERROR root error: [Errno 98] Address already in use
2015-11-24 09:53:56.354 18406 ERROR root
2015-11-24 09:53:56.362 18406 CRITICAL keystone [-] error: [Errno 98] Address already in use
2015-11-24 09:53:56.362 18406 ERROR keystone Traceback (most recent call last):
2015-11-24 09:53:56.362 18406 ERROR keystone   File "/usr/bin/keystone-all", line 10, in <module>
2015-11-24 09:53:56.362 18406 ERROR keystone     sys.exit(main())
2015-11-24 09:53:56.362 18406 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/cmd/all.py", line 39, in main
2015-11-24 09:53:56.362 18406 ERROR keystone     eventlet_server.run(possible_topdir)
2015-11-24 09:53:56.362 18406 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 156, in run
2015-11-24 09:53:56.362 18406 ERROR keystone     serve(*servers)
2015-11-24 09:53:56.362 18406 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2015-11-24 09:53:56.362 18406 ERROR keystone     server.launch_with(launcher)
2015-11-24 09:53:56.362 18406 ERROR keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2015-11-24 09:53:56.362 18406 ERROR keystone     self.server.listen()
2015-11-24 09:53:56.362 18406 ERROR keystone ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2017-04-18 00:18:28 -0600

verify the environment variables (env | grep OS) source the respected *.rc file. (eg: source /home/user/admin-openrc.sh )

edit flag offensive delete link more
0

answered 2016-05-31 14:37:25 -0600

dchowdhu gravatar image

I am also having similar issues. Any suggestion?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-11-24 05:22:23 -0600

Seen: 1,980 times

Last updated: Apr 18 '17