Sometimes, the Keystone service goes down, thus preventing any other OpenStack service from being able to connect to it for fetching a token or performing authentication.
You can check whether the Keystone service is running using the following command:
systemctl status openstack-keystone
If the service is not running, you can start it by invoking the following command:
# systemctl start openstack-keystone