• 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   那个节点下去运行上面的解决方法,就可以
    
  • 相关阅读:
    Eclipse启动错误:A Java Runtime Environment(JRE) or Java Development Kit(JDK) must be available……
    thymeleaf 模板使用 提取公共页面
    According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by de
    Spring 自定义Bean 实例获取
    Spring HttpServletRequest对象的获取
    Your ApplicationContext is unlikely tostart due to a @ComponentScan of the defau
    IP 、127.0.0.1、localhost 三者区别
    阿里云 呼叫中心 开发须知
    阿里云 负载均衡 HTTP转HTTPS
    Spring Boot 获取Bean对象实体
  • 原文地址:https://www.cnblogs.com/jhcelue/p/6771089.html
Copyright © 2020-2023  润新知