Verify keystone is working
create keystonerc and use it as auth source
vim keystonerc export OS_USERNAME=admin export OS_PASSWORD=dingqiqing export OS_TENANT_NAME=defaulttenant export OS_AUTH_URL=http://192.168.0.169:35357/v2.0
use it for authentication
source keystonerc
verify if I can get a token by using the username and password
keystone token-get +-----------+----------------------------------+ | Property | Value | +-----------+----------------------------------+ | expires | 2013-03-12T15:41:45Z | | id | 36c2bfa91c0849fea4e28126f3403dcb | | tenant_id | d3ab6c32167244aabeb63939ea85245f | | user_id | 784f31ab49214d8e9312f787fdd3bf52 | +-----------+----------------------------------+
verify that tenant assignment is correct
keystone --os-username=admin --os-password=secretword --os-tenant-name=openstackDemo --os-auth-url=http://192.168.206.130:35357/v2.0 token-get