Comment 6 for bug 1715770

Revision history for this message
Madhu (mssunkara) wrote :

project_name = service is correct, I just followed ubuntu install doc from openstack,

I am able to get token as admin, demo and I am running image list as admin

as admin:

"POST /v3/auth/tokens HTTP/1.1" 201 1645
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "e09e9f01a2924283856b59e82f3296fb", "name": "admin"}], "expires_at": "2017-09-08T16:27:13.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "173d0a72eebd44a79633f7d8a8a7b302", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http://controller1:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "20b4007c32834892b82596bc26c943c1"}, {"url": "http://controller1:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3201afe42cf247eeaca8c205c87a2ffc"}, {"url": "http://controller1:5000/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "e2c3ad4225c04ded9014ceeca17034f1"}], "type": "identity", "id": "ad82e0a0be544800b041a433a1aa52b5", "name": "keystone"}, {"endpoints": [{"url": "http://controller1:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "588d09bb63db4344ab2efcfe85b087fa"}, {"url": "http://controller1:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9ea27634d05d4d17874434e5d8732ba2"}, {"url": "http://controller1:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d5c5aca5e09f4420ba1cec4529a06a8b"}], "type": "image", "id": "b0aba851dbc14efbbd183cee8f52908d", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "admin", "id": "d24cae7c524b42fcb9fa11a41326e0a1"}, "audit_ids": ["evSeR1I7THq7AhLG1CqS2g"], "issued_at": "2017-09-08T15:27:13.000000Z"}}
run(Namespace(columns=[], formatter='table', max_width=0, noindent=False, prefix='', print_empty=False, variables=[]))
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| expires | 2017-09-08T16:27:13+0000 |
| id | gAAAAABZsrbRtgHljHTkDLGX9yY6Q-BIqSc1b5uEPuNYNlVgdZ4a5bNbvZo37bb9igWT9uY8SzXGu0d15pAQXTNwPHP7bfve3dngN32gRw8jKo- |
| | 7IpRpSyr8nGhtUbZmAIGVB8bPBUGIg15V8fErEJob3S9xgmhreeyqag0RhMMBPJX3WyQD6cY |
| project_id | 173d0a72eebd44a79633f7d8a8a7b302 |
| user_id | d24cae7c524b42fcb9fa11a41326e0a1 |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+

*************

as demo

GET call to None for http://controller1:5000/v3 used request id req-d6006205-fd5a-4552-8c82-b8e1e32df791
Making authentication request to http://controller1:5000/v3/auth/tokens
"POST /v3/auth/tokens HTTP/1.1" 201 1642
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "fb50272196a641f4a097408afa3b739d", "name": "user"}], "expires_at": "2017-09-08T16:27:33.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "2809892c79e24aa4987ed5d5e1373d6b", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://controller1:5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "20b4007c32834892b82596bc26c943c1"}, {"url": "http://controller1:35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3201afe42cf247eeaca8c205c87a2ffc"}, {"url": "http://controller1:5000/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "e2c3ad4225c04ded9014ceeca17034f1"}], "type": "identity", "id": "ad82e0a0be544800b041a433a1aa52b5", "name": "keystone"}, {"endpoints": [{"url": "http://controller1:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "588d09bb63db4344ab2efcfe85b087fa"}, {"url": "http://controller1:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9ea27634d05d4d17874434e5d8732ba2"}, {"url": "http://controller1:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d5c5aca5e09f4420ba1cec4529a06a8b"}], "type": "image", "id": "b0aba851dbc14efbbd183cee8f52908d", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_expires_at": null, "name": "demo", "id": "087b24769a384121ba389b167114e0b6"}, "audit_ids": ["U8wV0BziQ7KRRgXzW0sHgQ"], "issued_at": "2017-09-08T15:27:33.000000Z"}}
run(Namespace(columns=[], formatter='table', max_width=0, noindent=False, prefix='', print_empty=False, variables=[]))
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| expires | 2017-09-08T16:27:33+0000 |
| id | gAAAAABZsrblhpnmKSvt6DOIjHXm_9LtH9-b54yJnIesvfqxymUKGnMGENn69odbG664yhsneK06V9HstHhqEmq3ljOYbdw- |
| | w8EfL65-7-r3XlbtmpcrroqitAnXaCE7zFssoNQjJBO05_PO6N3g9FAjhNeUmdhwfZEXhyMjrm8Hql8rxeLBge0 |
| project_id | 2809892c79e24aa4987ed5d5e1373d6b |
| user_id | 087b24769a384121ba389b167114e0b6 |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+

***************