我要评分
获取效率
正确性
完整性
易理解

OpenStack Service Temporarily Unavailable

Symptom

After the openstack compute agent list command is run, a message is displayed indicating that the service is temporarily unavailable. The following information is displayed:

The server is currently unavailable. Please try again at a later time.<brThe Keystone service is temporarily unavailable.
(HTTP 503) (Request-ID: req-795a0b22-4854-477b-b887-7caa26fdd46f)

The swift stat command is run in Swift to view the status, the message "Account HEAD failed" is displayed. The detailed information is as follows:

Key Process and Cause Analysis

The Keystone service is running properly. However, the entered Nova password is different from the created Nova user password. As a result, the Keystone authentication fails.

Conclusion and Solution

For details about related commands, see OpenStack Rocky & Stein Deployment Guide (CentOS 7.6).

  1. Delete the endpoint, service, and user of Nova.
  2. Re-create the user, service, and endpoint.
  3. Synchronize the database.
  4. Restart Nova-related services.