Ask Your Question
0

ERROR: openstack The request you have made requires authentication. (HTTP 401)

asked 2015-05-13 04:01:30 -0600

Rajesh Chaturvedi gravatar image

updated 2015-05-14 08:13:02 -0600

Ranjit gravatar image
 root@controller:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty

root@controller:~# /usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log
2015-05-13 14:30:38.659 3307 WARNING root [-] Running keystone via eventlet is deprecated as of Kilo in favor of running in a WSGI server (e.g. mod_wsgi). Support for keystone under eventlet will be removed in the "M"-Release.
2015-05-13 14:30:38.661 3307 ERROR keystone.common.environment.eventlet_server [-] Could not bind to 0.0.0.0:35357
2015-05-13 14:30:38.661 3307 ERROR root [-] Failed to start the admin server
2015-05-13 14:30:38.661 3307 TRACE root Traceback (most recent call last):
2015-05-13 14:30:38.661 3307 TRACE root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2015-05-13 14:30:38.661 3307 TRACE root     server.launch_with(launcher)
2015-05-13 14:30:38.661 3307 TRACE root   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2015-05-13 14:30:38.661 3307 TRACE root     self.server.listen()
2015-05-13 14:30:38.661 3307 TRACE root   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 105, in listen
2015-05-13 14:30:38.661 3307 TRACE root     backlog=backlog)
2015-05-13 14:30:38.661 3307 TRACE root   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 43, in listen
2015-05-13 14:30:38.661 3307 TRACE root     sock.bind(addr)
2015-05-13 14:30:38.661 3307 TRACE root   File "/usr/lib/python2.7/socket.py", line 224, in meth
2015-05-13 14:30:38.661 3307 TRACE root     return getattr(self._sock,name)(*args)
2015-05-13 14:30:38.661 3307 TRACE root error: [Errno 98] Address already in use
2015-05-13 14:30:38.661 3307 TRACE root 
2015-05-13 14:30:38.662 3307 CRITICAL keystone [-] error: [Errno 98] Address already in use
2015-05-13 14:30:38.662 3307 TRACE keystone Traceback (most recent call last):
2015-05-13 14:30:38.662 3307 TRACE keystone   File "/usr/bin/keystone-all", line 36, in <module>
2015-05-13 14:30:38.662 3307 TRACE keystone     eventlet_server.run(possible_topdir)
2015-05-13 14:30:38.662 3307 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 156, in run
2015-05-13 14:30:38.662 3307 TRACE keystone     serve(*servers)
2015-05-13 14:30:38.662 3307 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 88, in serve
2015-05-13 14:30:38.662 3307 TRACE keystone     server.launch_with(launcher)
2015-05-13 14:30:38.662 3307 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/server/eventlet.py", line 54, in launch_with
2015-05-13 14:30:38.662 3307 TRACE keystone     self.server.listen()
2015-05-13 14:30:38.662 3307 TRACE keystone   File "/usr/lib/python2.7/dist-packages/keystone/common/environment/eventlet_server.py", line 105, in listen
2015-05-13 14:30:38.662 3307 TRACE keystone ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-14 08:18:08 -0600

Ranjit gravatar image

use service command to restart the process instead of using

/usr/bin/python /usr/bin/keystone-all --config-file=/etc/keystone/keystone.conf --log-file=/var/log/keystone/keystone.log

If you are planning to start the service using above command , then first stop the running keystone process.

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-05-13 04:01:30 -0600

Seen: 2,927 times

Last updated: May 14 '15