Client exception error while execution any openstack commands,
#nova list Service Unavailable: The server is currently unavailable. Please try again at a later time. (HTTP 503) ERROR (ClientException): The server is currently unavailable. Please try again at a later time.
Openstack-status command result clearly stating that the endpoint connection issue,
#openstack-status == Keystone users == Failed to contact the endpoint at https://10.99.106.16:13357 for discovery. Fallback to using that endpoint as the base url. Unable to establish connection to https://10.99.106.16:13357/users?: HTTPSConnectionPool(host='10.99.106.16', port=13357): Max retries exceeded with url: /users (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fc692666310>: Failed to establish a new connection: [Errno 111] Connection refused',))
Check the haproxy.cfg file whether the endpoint is present, as it is missing here & the same added in the configuration file.
#vim /var/lib/config-data/puppet-generated/haproxy/etc/haproxy/haproxy.cfg bind 10.99.106.16:13357 transparent ssl crt /etc/pki/tls/private/overcloud_endpoint.pem ==> this entry should be there in all 3 controller nodes
After putting the same in missing controller, the openstack commands are started working properly.
Happy Learning 🙂