Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Common.wsgi authorization failed

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.

Common.wsgi authorization failed

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 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.

Common.wsgi authorization failed

I am trying to access Keystone API. I get this error: 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]

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

184.164.77.2

keystone.conf

 [DEFAULT]

# A "shared secret" between keystone and other openstack services

services # admin_token = ADMIN

ADMIN admin_token = 018524a297d24cab91a735f3b50b00a1 debug = True

True # The IP address of the network interface to listen on

on # bind_host = 0.0.0.0

0.0.0.0 bind_host = 0.0.0.0

0.0.0.0 # The port number which the public service listens on

on # public_port = 5000

5000 public_port = 5000

5000 # The port number which the public admin listens on

on # admin_port = 35357

35357 admin_port = 35357

35357 # The base endpoint URLs for keystone that are advertised to clients

clients # (NOTE: this does NOT affect how keystone listens for connections)

connections) public_endpoint = http://localhost:%(public_port)s/ admin_endpoint = http://localhost:%(admin_port)s/

http://localhost:%(admin_port)s/ # The port number which the OpenStack Compute service listens on

on # compute_port = 8774

8774 compute_port = 8774

8774

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