Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Barry,

Thanks for your answer !

here are my demo and admin files :

[root@controller openstack]# cat /usr/openstack/admin-openrc
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=ADMIN_PSW
export OS_AUTH_URL=http://controller:35357/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2

[root@controller openstack]# cat /usr/openstack/demo-openrc
export OS_PROJECT_DOMAIN_NAME=default
export OS_USER_DOMAIN_NAME=default
export OS_PROJECT_NAME=demo
export OS_USERNAME=demo
export OS_PASSWORD=DEMO_PSW
export OS_AUTH_URL=http://controller:5000/v3
export OS_IDENTITY_API_VERSION=3
export OS_IMAGE_API_VERSION=2

I am able to request tokens but I am still facing the same issue...

[root@controller openstack]# . admin-openrc
[root@controller openstack]# openstack token issue
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                                                                   |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| expires    | 2016-08-12T14:59:17.995362Z                                                                                                                                                             |
| id         | gAAAAABXrdY1e92hOP-XbMptyTNP8qqlWGSmwrOyUn7R0i-XJ8qXNURiUrX5v5r0toUegpH4du3S4g7kA-dFEStkX_7ofddwH_mnsvXg7De1rZaQFe9NK3iRjjwLy-Yvku9AI5l9tshaQIus32AeTFPrQLtlo9jsbvF3DxR5j-ED_jBoQo157is |
| project_id | 9004b5f9eb7a40b4906d7e197abf6903                                                                                                                                                        |
| user_id    | 40ea01e3ad834163b400129f6dae4b15                                                                                                                                                        |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[root@controller openstack]# . demo-openrc
[root@controller openstack]# openstack token issue
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                                                                   |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| expires    | 2016-08-12T14:59:44.458172Z                                                                                                                                                             |
| id         | gAAAAABXrdZQGPTq2RecbgcPiQOptO3X1XiIp3Vj7_EaMHCvk2Pe_mQcFKLAUQ-mghF-3pvaiBiEUIx3TWykJkrkD0Nn5LBKtx-nq9tVeH1LJnn1bYM-lIkU1q7-LTtKH3x_0HqP7PzC65CNo2YbTagXYWwB-_0-dccfsV4SNsMTVxee73yh1qw |
| project_id | d1aa453f237041239787fa046a734c11                                                                                                                                                        |
| user_id    | f198c46485bb4de68f99a359c86483e6                                                                                                                                                        |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+