Date: Tue, 2 Apr 2013 10:52:10 -0500
Subject: Re: [Openstack] error configuring keystone
From: [email protected]
To: [email protected]
CC: [email protected]

An OS_SERVICE_ENDPOINT and/or OS_SERVICE_TOKEN are defined in your environment, 
and are taking precedence over the credentials you're providing on the command 
line -- I'm not a fan of this behavior myself :(

unset the endpoint & token from env, and token-get should behave as expected.

-Dolph


On Tue, Apr 2, 2013 at 10:24 AM, Arindam Choudhury <[email protected]> wrote:




Hi,

I am new to OpenStack. I am trying to install OpenStack Folsom on Fedora 18.

I am following the online documentation. I am getting this error while 
configuring keystone:

[root@XX ~]# keystone --os-username=admin --os-password=admin 
--os-auth-url=http://XX:35357/v2.0 token-get

WARNING: Bypassing authentication using a token & endpoint (authentication 
credentials are being ignored).
Configuration error: Client configured to run without a service catalog. Run 
the client using --os-auth-url or OS_AUTH_URL, instead of --os-endpoint or 
OS_SERVICE_ENDPOINT, for example.



any help will be highly appreciated. 

[root@XX ~]# keystone tenant-list
+----------------------------------+-------------+---------+
|                id                |     name    | enabled |
+----------------------------------+-------------+---------+

| d9e967e6a5eb424e81831a728a5347ca | admintenant |   True  |
| f0c5c0dc38d8411ab07059c4051d98e4 |   service   |   True  |
+----------------------------------+-------------+---------+
[root@XX ~]# keystone user-list

+----------------------------------+--------+---------+-------+
|                id                |  name  | enabled | email |
+----------------------------------+--------+---------+-------+
| 28284c04ac6f4782b09fb7c662ce5a80 | glance |   True  |       |

| 99c6a8b376ca4b6fa9c3e3dad37271d7 |  nova  |   True  |       |
| a8d5cc5b899e4c7f90db6f50d6d46491 | admin  |   True  |       |
| db3ff8a6cbaa465d8dbee7c7868ae897 | swift  |   True  |       |
+----------------------------------+--------+---------+-------+

[root@XX ~]# keystone role-list
+----------------------------------+-------+
|                id                |  name |
+----------------------------------+-------+
| 2fd4d8c89f9645eeb43809b219622d97 | admin |

+----------------------------------+-------+
[root@XX ~]# keystone user-role-list --user-id=a8d5cc5b899e4c7f90db6f50d6d46491 
--tenant-id=d9e967e6a5eb424e81831a728a5347ca
+----------------------------------+-------+----------------------------------+----------------------------------+

|                id                |  name |             user_id              | 
           tenant_id             |
+----------------------------------+-------+----------------------------------+----------------------------------+

| 2fd4d8c89f9645eeb43809b219622d97 | admin | a8d5cc5b899e4c7f90db6f50d6d46491 | 
d9e967e6a5eb424e81831a728a5347ca |
+----------------------------------+-------+----------------------------------+----------------------------------+

[root@XX ~]# keystone service-list
+----------------------------------+----------+--------------+------------------------+
|                id                |   name   |     type     |      description 
      |
+----------------------------------+----------+--------------+------------------------+

| 043f8c23d9234618830623375aacfedb |  glance  |    image     |     Image 
Service      |
| 49f4a54da885427d8b0c729030d4dcc9 |   nova   |   compute    |    Compute 
Service     |
| 9cf4dbfce836418c96f6af9e2bcf52ee |  swift   | object-store | Object Storage 
Service |

| c8c454fe1bb44e87bdfd6a203575ee47 | keystone |   identity   |    Identity 
Service    |
| f66987f86728440f85e69f9a019cc362 |  volume  |    volume    |     Volume 
Service     |
+----------------------------------+----------+--------------+------------------------+

[root@XX ~]# keystone endpoint-list
+----------------------------------+-----------+-------------------------------------------------+-------------------------------------------------+--------------------------------------------+----------------------------------+

|                id                |   region  |                    publicurl   
                 |                   internalurl                   |            
      adminurl                  |            service_id            |

+----------------------------------+-----------+-------------------------------------------------+-------------------------------------------------+--------------------------------------------+----------------------------------+

| 2df0b5bc99e44b1fae152b561b97455e | RegionOne |            http://XX:9292      
      |            http://XX:9292            |         http://XX:9292          
| 043f8c23d9234618830623375aacfedb |

| 35e6cc4cfc2b4b2d91c268e6a8d6a650 | RegionOne | 
http://XX:8888/v1/AUTH_%(tenant_id)s | http://XX:8888/v1/AUTH_%(tenant_id)s |   
     http://XX:8888/v1        | 9cf4dbfce836418c96f6af9e2bcf52ee |

| 3bae160b577a46bd8dc7d6b732e22b36 | RegionOne |    
http://XX:8774/v2/%(tenant_id)s   |    http://XX:8774/v2/%(tenant_id)s   | 
http://XX:8774/v2/%(tenant_id)s | 49f4a54da885427d8b0c729030d4dcc9 |

| 8d1775a395034ab1ba32a8d58ba14894 | RegionOne |    
http://XX:8776/v1/%(tenant_id)s   |    http://XX:8776/v1/%(tenant_id)s   | 
http://XX:8776/v1/%(tenant_id)s | f66987f86728440f85e69f9a019cc362 |

| a9250abdfdae41038855cea4b91401e1 | RegionOne |          http://XX:5000/v2.0   
      |          http://XX:5000/v2.0         |      http://XX:35357/v2.0       
| c8c454fe1bb44e87bdfd6a203575ee47 |

| d1db8cdb401e493da894e73d8769f2d7 | RegionOne | 
http://XX:8888/v1/AUTH_%(tenant_id)s | http://XX:8888/v1/AUTH_%(tenant_id)s |   
     http://XX:8774/v1        | 9cf4dbfce836418c96f6af9e2bcf52ee |

+----------------------------------+-----------+-------------------------------------------------+-------------------------------------------------+--------------------------------------------+----------------------------------+

                                          

_______________________________________________

Mailing list: https://launchpad.net/~openstack

Post to     : [email protected]

Unsubscribe : https://launchpad.net/~openstack

More help   : https://help.launchpad.net/ListHelp



                                          
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to