Ask Your Question
1

Common.wsgi authorization failed

asked 2013-12-24 12:59:01 -0500

Ron L. gravatar image

updated 2014-01-02 14:19:32 -0500

smaffulli gravatar image

I am trying to access Keystone API. I get this error:

12:40 Module (OpenStack): HTTP error on [http://127.0.0.1:8774/v2/b45d434e73774f1dbc6bd97549fbd577/extensions], curl code [7] message [couldn't connect to host]

Output in keystone.log

2013-12-24 11:27:04.250 32153 INFO keystone.common.environment.eventlet_server [-] Starting /usr/bin/keystone-all on 0.0.0.0:35357
2013-12-24 11:27:04.252 32153 INFO keystone.common.environment.eventlet_server [-] Starting /usr/bin/keystone-all on 0.0.0.0:5000
2013-12-24 11:28:47.486 32153 WARNING keystone.common.wsgi [-] Authorization failed. The request you have made requires authentication. from 184.164.77.2
2013-12-24 11:36:30.660 32153 WARNING keystone.common.wsgi [-] Authorization failed. The request you have made requires authentication. from 184.164.77.2

keystone.conf

    [DEFAULT]
# A "shared secret" between keystone and other openstack services
# admin_token = ADMIN
admin_token = 018524a297d24cab91a735f3b50b00a1
debug = True

# The IP address of the network interface to listen on
# bind_host = 0.0.0.0
bind_host = 0.0.0.0

# The port number which the public service listens on
# public_port = 5000
public_port = 5000

# The port number which the public admin listens on
# admin_port = 35357
admin_port = 35357

# The base endpoint URLs for keystone that are advertised to clients
# (NOTE: this does NOT affect how keystone listens for connections)
public_endpoint = http://localhost:%(public_port)s/
admin_endpoint = http://localhost:%(admin_port)s/

# The port number which the OpenStack Compute service listens on
# compute_port = 8774
compute_port = 8774

Any ideas? I've played around exporting different variables. I can auth using admin and password, but not with endpoint and service token.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-12-24 18:45:27 -0500

dheeru gravatar image

updated 2014-01-02 14:18:37 -0500

smaffulli gravatar image

It clear that you are not able to connect to this service. Also I'm slightly confused as well. Your problem statement says that you are conneting to keystone using API. URL request is to compute. Is it intended ? Also

Are you able to telent 8774 port? Check b45d434e73774f1dbc6bd97549fbd577 is valid tenant ?

extensions is an API of keystone as well. Can you try that as well? http://127.0.0.1:35357/v2/extensions

edit flag offensive delete link more

Comments

Anything you tried on this ? Do you still have the problem ?

dheeru gravatar imagedheeru ( 2013-12-26 01:49:33 -0500 )edit

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: 2013-12-24 12:59:01 -0500

Seen: 5,526 times

Last updated: Jan 02 '14