The server has either erred or is incapable of performing the requested operation. (HTTP 500),erredincapable


使用 openstack nova boot  创建的实例,出错以后

查看

root@xxx:~# nova list
+--------------------------------------+----------+--------+------------+-------------+----------+
| ID                                   | Name     | Status | Task State | Power State | Networks |
+--------------------------------------+----------+--------+------------+-------------+----------+
| edfde014-e489-413d-93e9-ab861a2dfbdd | precise1 | ERROR  | None       | NOSTATE     |          |
| 9dad0e43-cb2c-4863-8765-ee4af5d6704d | precise2 | ERROR  | None       | NOSTATE     |          |
+--------------------------------------+----------+--------+------------+-------------+----------+
使用 nova delete 删除错误实例
root@xxx:~# nova delete precise1
The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-86e8e658-a18e-47ee-9447-b953d9497882)
ERROR: Unable to delete any of the specified servers.
出现错误  再次查看   状态一直处于deleteing 状态   存在我的机器中   ,永远删不掉
root@xxx:~# nova list
+--------------------------------------+----------+--------+------------+-------------+----------+| 
ID                                   | Name     | Status | Task State | Power State | Networks |
+--------------------------------------+----------+--------+------------+-------------+----------+|
edfde014-e489-413d-93e9-ab861a2dfbdd | precise1 | ERROR  | deleting   | NOSTATE     |          || 
9dad0e43-cb2c-4863-8765-ee4af5d6704d | precise2 | ERROR  | None       | NOSTATE     |          |
+--------------------------------------+----------+--------+------------+-------------+----------+
oot@xxx:~#

解决办法:
# nova reset-state --active 9dad0e43-cb2c-4863-8765-ee4af5d6704d
# nova delete 9dad0e43-cb2c-4863-8765-ee4af5d6704d

版权声明:本文为博主原创文章,未经博主允许不得转载。

相关内容