keystone throwing error with username password but works with os-token [closed]
Following OpenStack Juno Installation Guide for Ubuntu 14.04 keystone is working with os-endpoint and os-token but not working with username and password. I think I am missing some steps, need help
Fail Case:
ubuntu@arm64:~$ keystone --os-tenant-id 2e831cc2e2ea408895f27566126f91cf --os-username admin --os-password password --os-auth-url http://controller:35357/v2.0 tenant-list
Expecting an endpoint provided via either --os-endpoint or env[OS_SERVICE_ENDPOINT]
Logs:
ubuntu@arm64:~$ keystone --os-endpoint http://controller:35357/v2.0 --os-token f113680ba630fae27de7 tenant-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+---------+---------+
| id | name | enabled |
+----------------------------------+---------+---------+
| 2e831cc2e2ea408895f27566126f91cf | admin | True |
| f9d3c2a04b584a1ea086bdd0415eb98f | service | True |
+----------------------------------+---------+---------+
ubuntu@arm64:~$ keystone --os-endpoint http://controller:35357/v2.0 --os-token f113680ba630fae27de7 service-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+----------+----------+-------------+
| id | name | type | description |
+----------------------------------+----------+----------+-------------+
| 430b1d12bf8947bd91f462ad2e31b20f | keystone | identity | |
| 0d5ceec4e7da4bf29b6abef35ec01f75 | nova | compute | |
+----------------------------------+----------+----------+-------------+
ubuntu@arm64:~$ keystone --os-endpoint http://controller:35357/v2.0 --os-token f113680ba630fae27de7 endpoint-list
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+
| id | region | publicurl | internalurl | adminurl | service_id |
+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+
| 85bc83a92a064f28b47b5b5d5f576f6b | regionOne | http://controller:5000/v2.0 | http://controller:5000/v2.0 | http://controller:35357/v2.0 | 430b1d12bf8947bd91f462ad2e31b20f |
+----------------------------------+-----------+-----------------------------+-----------------------------+------------------------------+----------------------------------+