Comment 7 for bug 1715770

Revision history for this message
Madhu (mssunkara) wrote :

as glance user

openstack --os-auth-url http://controller1:35357/v3 --os-project-domain-name default --os-user-domain-name default --os-project-name service --os-username glance token issue --debug

Making authentication request to http://controller1:35357/v3/auth/tokens
"POST /v3/auth/tokens HTTP/1.1" 201 1648
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "e09e9f01a2924283856b59e82f3296fb", "name": "admin"}], "expires_at": "2017-09-08T17:03:54.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "fe5c898642384e9bac1df200944770b2", "name": "service"}, "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": "glance", "id": "1ce03ce5e5ef47f988456c5fb9dd9027"}, "audit_ids": ["FtT5LK6sT5G2g56_QqFT_Q"], "issued_at": "2017-09-08T16:03:54.000000Z"}}
run(Namespace(columns=[], formatter='table', max_width=0, noindent=False, prefix='', print_empty=False, variables=[]))
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| expires | 2017-09-08T17:03:54+0000 |
| id | gAAAAABZsr9q_79c7UV57GCWgoM3Lght5oE77A4lnpySEJorrGby2wFW2QWlbCdTZY5gXrnBUzpif8Tw-E_s3cZdztwB8B2GSTmWotsZ9xtT0TbUXzZGb61y6nnX7cR4RoC- |
| | AwIEhXo4JsS8OWrQwDfgthSWAR0E0AzIdgms150CR2hIpQrzUJE |
| project_id | fe5c898642384e9bac1df200944770b2 |
| user_id | 1ce03ce5e5ef47f988456c5fb9dd9027 |
+------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+