Comment 2 for bug 1852665

Revision history for this message
hua zhao (noizz) wrote :

The Same error occurred:

# nova service-list|grep 3713
| 8045be15-4866-4d2f-8cb5-79cca0f9744f | nova-compute | computer3713hpdl580 | sugonZone | disabled | down | 2019-07-24T01:25:20.000000 | hostnotexist | False |

# nova version-list
Client supported API versions:
Minimum version 2.1
Maximum version 2.65

Server supported API versions:
+------+-----------+----------------------+-------------+---------+
| Id | Status | Updated | Min Version | Version |
+------+-----------+----------------------+-------------+---------+
| v2.0 | SUPPORTED | 2011-01-21T11:33:21Z | | |
| v2.1 | CURRENT | 2013-07-23T11:33:21Z | 2.1 | 2.65 |
+------+-----------+----------------------+-------------+---------+

# nova --os-compute-api-version 2.65 service-delete 8045be15-4866-4d2f-8cb5-79cca0f9744f
ERROR (ClientException): 发生意外 API 错误。请在 http://bugs.launchpad.net/nova/ 处报告此错误,并且附上 Nova API 日志(如果可能)。
<class 'nova.exception.HostMappingNotFound'> (HTTP 500) (Request-ID: req-c0428f8d-4675-4eb4-b624-6cb0fcf67d01)

nova-api.log:
2019-11-18 11:06:00.842 11208 ERROR nova.api.openstack.wsgi [req-28808744-8bcb-4e18-b48b-c4f8dae60220 7c177645d83f4a769d51ab4b9801a90d 04627ab3503248cb8d714ac1a44f543f - default default] Unexpected exception in API method: HostMappingNotFound: \u4e3b\u673a 'computer3713hpdl580'\u6ca1\u6709\u6620\u5c04\u5230\u4efb\u4f55\u5355\u5143
2019-11-18 11:06:00.842 11208 ERROR nova.api.openstack.wsgi Traceback (most recent call last):
2019-11-18 11:06:00.842 11208 ERROR nova.api.openstack.wsgi File "/usr/lib/python2.7/site-packages/nova/api/openstack/wsgi.py", line 801, in wrapped
2019-11-18 11:06:00.842 11208 ERROR nova.api.openstack.wsgi return f(*args, **kwargs)