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 | +------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
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 83856b59e82f329 6fb", "name": "admin"}], "expires_at": "2017-09- 08T17:03: 54.000000Z" , "project": {"domain": {"id": "default", "name": "Default"}, "id": "fe5c898642384e 9bac1df20094477 0b2", "name": "service"}, "catalog": [{"endpoints": [{"url": "http:// controller1: 5000/v3/", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "20b4007c328348 92b82596bc26c94 3c1"}, {"url": "http:// controller1: 35357/v3/", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3201afe42cf247 eeaca8c205c87a2 ffc"}, {"url": "http:// controller1: 5000/v3/", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "e2c3ad4225c04d ed9014ceeca1703 4f1"}], "type": "identity", "id": "ad82e0a0be5448 00b041a433a1aa5 2b5", "name": "keystone"}, {"endpoints": [{"url": "http:// controller1: 9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "588d09bb63db43 44ab2efcfe85b08 7fa"}, {"url": "http:// controller1: 9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9ea27634d05d4d 17874434e5d8732 ba2"}, {"url": "http:// controller1: 9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d5c5aca5e09f44 20ba1cec4529a06 a8b"}], "type": "image", "id": "b0aba851dbc14e fbbd183cee8f529 08d", "name": "glance"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_ expires_ at": null, "name": "glance", "id": "1ce03ce5e5ef47 f988456c5fb9dd9 027"}, "audit_ids": ["FtT5LK6sT5G2g 56_QqFT_ Q"], "issued_at": "2017-09- 08T16:03: 54.000000Z" }} columns= [], formatter='table', max_width=0, noindent=False, prefix='', print_empty=False, variables=[])) ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+ 08T17:03: 54+0000 | 79c7UV57GCWgoM3 Lght5oE77A4lnpy SEJorrGby2wFW2Q WlbCdTZY5gXrnBU zpif8Tw- E_s3cZdztwB8B2G STmWotsZ9xtT0Tb UXzZGb61y6nnX7c R4RoC- | QwDfgthSWAR0E0A zIdgms150CR2hIp QrzUJE | bac1df200944770 b2 | 988456c5fb9dd90 27 | ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --+
"POST /v3/auth/tokens HTTP/1.1" 201 1648
{"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "e09e9f01a29242
run(Namespace(
+------
| Field | Value |
+------
| expires | 2017-09-
| id | gAAAAABZsr9q_
| | AwIEhXo4JsS8OWr
| project_id | fe5c898642384e9
| user_id | 1ce03ce5e5ef47f
+------