Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Ocata - Discovering versions from the identity service failed

Below error comes when I try to run "openstack token issue" command. If I restart httpd service, "openstack token issue" command runs successfully for some time. Then, again the same problem occurs.

[root@controller1 ~ (admin)]# openstack token issue
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
Service Unavailable (HTTP 503)

Even curl command is not responding.

[root@controller1 ~ (admin)]# curl http://10.0.0.12:35357/v3

When I restart httpd, everything works for some time. After some time, same issue as described above happens.

[root@controller1 ~ (admin)]# systemctl restart httpd

[root@controller1 ~ (admin)]# curl http://10.0.0.12:35357/v3
{"version": {"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://10.0.0.12:35357/v3/", "rel": "self"}]}}

[root@controller1 ~ (admin)]# openstack token issue
+------------+---------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                     |
+------------+---------------------------------------------------------------------------------------------------------------------------+
| expires    | 2017-08-10T17:29:06+0000                                                                                                  |
| id         | gAAAAABZjInSp0NlbMOcMg7JSr7QQgp13eNrESOuEiki1ANFBYwlYjwBIj7rfLR01PvYFz968R7oGxEv3L4YPSMNcsLXFebVagJeBYW2                  |
|            | -qb5APOYhdGPPVdUmIYL0QegG3ogaJTAY-cWAaPolwe421IFFxvwVIDRGe-fiykah0b9zkPLEEY70IY                                           |
| project_id | 96c9b397c67047269b9a59470cf35622                                                                                          |
| user_id    | 35e74dfcd02946d1ae95467f14c3bfb8                                                                                          |
+------------+---------------------------------------------------------------------------------------------------------------------------+

I don't see any errors logged in /var/log/httpd/keystone.log (or) /var/log/keystone/keystone.log NOTE: I enabled debug=true in /etc/keystone/keystone.conf

Any idea why this happens?