Services and endpoints
Each of the components in an OpenStack cluster is registered with Keystone. Each of the services has endpoints and each of the services has a user. A service in Keystone is a record of another OpenStack component that will need to be contacted to manage virtual resources. Endpoints are the URLs to contact these services. Let's look at this on the command line. Remember the keystonerc_admin
file? You'll need the information in that file to authenticate and interact with OpenStack. The information is as follows:
control# cat keystonerc_admin export OS_USERNAME=admin export OS_TENANT_NAME=admin export OS_PASSWORD=1ef82c52e0bd46d5 export OS_AUTH_URL=http://192.168.123.101:5000/v2.0/ export PS1='[\u@\h \W(keystone_admin)]\$ ' control# keystone --os-username admin --os-tenant-name admin \ --os-password 1ef82c52e0bd46d5 --os-auth-url \http://192.168.123.101:5000/v2.0/ service-list
Manually entering Keystone arguments is a real challenge and prone to error...