Issue link: https://read.uberflip.com/i/1334488
Chapter 13 285 Getting ready Administrator access is required to troubleshoot Keystone, so we first configure our environment, so that we can simply execute the relevant Keystone commands. # Administrator Credentials export OS_USERNAME=admin export OS_PASSWORD=openstack export OS_AUTH_URL=http://172.16.0.1:5000/v2.0 export OS_TENANT_NAME=cookbook How to do it... Carry out the following steps when encountering the problems presented. Misconfigured endpoints Keystone is the central service that directs authenticated users to the correct service, so it's vital that the users be sent to the correct location. Symptoms include HTTP 500 error messages in various logs regarding the services that are being accessed, and clients timing out trying to connect to network services that don't exist. To verify your endpoints in each region, perform the following command: keystone endpoint-list We can drill down into specific service types with the following command. For example, to show adminURL for the compute service type in all regions. keystone endpoint-get --service compute --endpoint_type adminURL An alternative to listing the endpoints in this format is to list the catalog, which outputs the details in a more human-readable way: keystone catalog This provides a convenient way of seeing the endpoints configured. Authentication issues From time to time, users will have trouble authenticating against Keystone due to forgotten or expired details or unexpected failure within the authentication system. Being able to identify such issues will allow you to restore the service or allow the user to continue using the environment. The first place to look will be the relevant logs. This includes the /var/log/nova logs, the / var/log/glance logs (if related to images), as well as the /var/log/keystone logs. www.it-ebooks.info

