2

我已经在 Ubuntu 16.04(一体机)上安装了 openstack(牛顿版本)。每个服务都运行良好,但是当我尝试启动实例时,出现错误:

错误:无法对实例“test1”执行请求的操作,该实例有错误状态:请稍后重试 [错误:未找到有效主机。没有足够的主机可用。]。

当我输入:

[root@controller-hp ~(keystone_admin)]$ nova-hypervisor-list
+----+---------------------+-------+---------+
| ID | Hypervisor hostname | State | Status  |
+----+---------------------+-------+---------+
| 1  | controller-hp       | up    | enabled |
+----+---------------------+-------+---------+

和输出

[root@controller-hp ~(keystone_admin)]$ neutron ext-list
+---------------------------+-----------------------------------------------+
| alias                     | name                                          |
+---------------------------+-----------------------------------------------+
| default-subnetpools       | Default Subnetpools                           |
| network-ip-availability   | Network IP Availability                       |
| network_availability_zone | Network Availability Zone                     |
| auto-allocated-topology   | Auto Allocated Topology Services              |
| ext-gw-mode               | Neutron L3 Configurable external gateway mode |
| binding                   | Port Binding                                  |
| metering                  | Neutron Metering                              |
| agent                     | agent                                         |
| subnet_allocation         | Subnet Allocation                             |
| l3_agent_scheduler        | L3 Agent Scheduler                            |
| tag                       | Tag support                                   |
| external-net              | Neutron external network                      |
| flavors                   | Neutron Service Flavors                       |
| fwaasrouterinsertion      | Firewall Router insertion                     |
| net-mtu                   | Network MTU                                   |
| availability_zone         | Availability Zone                             |
| quotas                    | Quota management support                      |
| l3-ha                     | HA Router extension                           |
| provider                  | Provider Network                              |
| multi-provider            | Multi Provider Network                        |
| address-scope             | Address scope                                 |
| extraroute                | Neutron Extra Route                           |
| shared_pools              | Shared pools for LBaaSv2                      |
| subnet-service-types      | Subnet service types                          |
| standard-attr-timestamp   | Resource timestamps                           |
| fwaas                     | Firewall service                              |
| service-type              | Neutron Service Type Management               |
| lb_network_vip            | Create loadbalancer with network_id           |
| l3-flavors                | Router Flavor Extension                       |
| port-security             | Port Security                                 |
| hm_max_retries_down       | Add a fall threshold to health monitor        |
| extra_dhcp_opt            | Neutron Extra DHCP opts                       |
| standard-attr-revisions   | Resource revision numbers                     |
| lbaasv2                   | LoadBalancing service v2                      |
| pagination                | Pagination support                            |
| sorting                   | Sorting support                               |
| lbaas_agent_schedulerv2   | Loadbalancer Agent Scheduler V2               |
| security-group            | security-group                                |
| dhcp_agent_scheduler      | DHCP Agent Scheduler                          |
| router_availability_zone  | Router Availability Zone                      |
| lb-graph                  | Load Balancer Graph                           |
| rbac-policies             | RBAC Policies                                 |
| l7                        | L7 capabilities for LBaaSv2                   |
| standard-attr-description | standard-attr-description                     |
| router                    | Neutron L3 Router                             |
| allowed-address-pairs     | Allowed Address Pairs                         |
| project-id                | project_id field enabled                      |
| dvr                       | Distributed Virtual Router                    |
+---------------------------+-----------------------------------------------+

我的 nova.conf 文件在这里:

https://paste.debian.net/1005278/

‌‌通过使用本指南,我的网络配置是:

网络概览

Name
    physical01
ID
    212248e9-71ff-4015-8fec-54567f38e92f
Project ID
    43605ff65d2a40d19073e7268fd5d124
Status
    Active
Admin State
    UP
Shared
    Yes
External Network
    Yes
MTU
    1500
Provider Network
    Network Type: flat
    Physical Network: physical01
    Segmentation ID: -

和:

[root@controller-hp ~(keystone_admin)]$ neutron net-list
+--------------------------------+------------+--------------------------------+
| id                             | name       | subnets                        |
+--------------------------------+------------+--------------------------------+
| 212248e9-71ff-4015-8fec-       | physical01 | ee667189-bb7c-4861-81a0-2735d0 |
| 54567f38e92f                   |            | 1c2011 10.1.79.0/24            |
+--------------------------------+------------+--------------------------------+

我对图像使用了很大的风格,Cirros 0.3.4 64 bits 这表明问题与资源无关。

那是“ tailf /var/log/neutron/neutron-*.log”的输出

http://paste.openstack.org/show/648396/

这些是我的插件配置:

毫升2

Linux 网桥代理

打开vswitch

DHCP 代理

L3 代理

我读过这些主题,但它们无法解决我的问题:

OpenStack Newton 安装(使用 packstack)错误

没有找到有效的主机。没有足够的主机可用

...

任何帮助,将不胜感激。

4

1 回答 1

0

您可能会从计算节点上的以下日志中获得线索: /var/log/nova/nova-scheduler.log /var/log/neutron/neutron-*.log

于 2018-01-19T02:11:09.840 回答