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   那个节点下去运行上面的解决方法,就可以
    
  • 相关阅读:
    Jenkins-在windows上配置自动化部署(Jenkins+Gitblit)
    GIT-Linux(CentOS7)系统部署GitLab服务器
    VMware 安装Linux系统 CentOS
    GIT-windows系统下Gitblit的使用方式
    SQL 显示所有表所占存储空间
    通过JavaScript更新UpdatePanel备忘
    Entity Framework调用表值函数实现全文检索?
    转载:javascript 拖拽排序,简洁示例备忘
    c++ 读写注册表
    MSSQL中建立分区表(转载备忘)
  • 原文地址:https://www.cnblogs.com/jhcelue/p/6771089.html
Copyright © 2011-2022 走看看