zoukankan      html  css  js  c++  java
  • The server has either erred or is incapable of performing the requested operation. (HTTP 500)

    感谢朋友支持本博客,欢迎共同探讨交流,因为能力和时间有限,错误之处在所难免,欢迎指正。
    假设转载。请保留作者信息。
    博客地址:http://blog.csdn.net/qq_21398167

    原博文地址:http://blog.csdn.net/qq_21398167/article/details/46696123

    使用 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
    
    
    
    假设发现还是无法删除,用nova  show   查看该实例属于哪个计算节点   即(
    | OS-EXT-SRV-ATTR:host                 | openstack                                                                                                                                                                                                                 |
    | OS-EXT-SRV-ATTR:hypervisor_hostname  | openstack                                                                                      
    ) 
    到openstack   那个节点下去运行上面的解决方法,就可以
    
  • 相关阅读:
    ubuntu14.04 Cannot find OpenSSL's <evp.h>
    git 常用命令
    Python3常用模块的安装
    Centos7 安装配置优化mysql(mariadb分支)
    Centos7 编译安装python3
    Centos6.5搭建git远程仓库
    年轻
    springboot 报错Field XXX required a bean of type XXX that could not be found.
    springboot 启动报错[classpath:/application.yml] but snakeyaml was not found on the classpath
    idea 使用点击maven clean/install或maven其他命令失败,显示:乱码+archetypeCatalog=internal
  • 原文地址:https://www.cnblogs.com/jhcelue/p/6771089.html
Copyright © 2011-2022 走看看