openstack-train binding:vif_type binding_failed,无法自动创建网桥。桥接失败。

 

server.log:2020-04-07 13:15:10.689 88686 ERROR neutron.plugins.ml2.managers [req-66b12762-62d5-4f2f-b0f1-71d701c6de94 - - - - -] Port 41381ec3-0cf3-49dd-977c-7f4a9a7262c6 does not have an IP address assigned and there are no driver with 'connectivity' = 'l2'. The port cannot be bound.
查看下端口:

[root@openstack01 ~]# neutron port-show 41381ec3-0cf3-49dd-977c-7f4a9a7262c6
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+-----------------------+-----------------------------------------------------------------------------------+
| Field                 | Value                                                                             |
+-----------------------+-----------------------------------------------------------------------------------+
| admin_state_up        | True                                                                              |
| allowed_address_pairs |                                                                                   |
| binding:host_id       | openstack01                                                                       |
| binding:profile       | {}                                                                                |
| binding:vif_details   | {}                                                                                |
| binding:vif_type      | binding_failed                                                                    |
| binding:vnic_type     | normal                                                                            |
| created_at            | 2020-04-07T04:47:47Z                                                              |
| description           |                                                                                   |
| device_id             | dhcpfeb7894d-4d9e-521c-8ba2-c48aed7b6c97-0cb81536-0363-4f3b-8243-004e760df569     |
| device_owner          | network:dhcp                                                                      |
| extra_dhcp_opts       |                                                                                   |
| fixed_ips             | {"subnet_id": "c8cf4b62-e251-4dd7-8423-9e41c659a02e", "ip_address": "10.0.0.120"} |
| id                    | 41381ec3-0cf3-49dd-977c-7f4a9a7262c6                                              |
| mac_address           | fa:16:3e:f4:04:0b                                                                 |
| name                  |                                                                                   |
| network_id            | 0cb81536-0363-4f3b-8243-004e760df569                                              |
| port_security_enabled | False                                                                             |
| project_id            | d19433cec3044b61a0f1805e9d18357f                                                  |
| revision_number       | 4                                                                                 |
| security_groups       |                                                                                   |
| status                | DOWN                                                                              |
| tags                  |                                                                                   |
| tenant_id             | d19433cec3044b61a0f1805e9d18357f                                                  |
| updated_at            | 2020-04-07T05:15:11Z                                                              |
+-----------------------+-----------------------------------------------------------------------------------+
 

去官网查看配置,发现配置文件有些不同,/etc/nova/nova.conf中的

[neutron]
url = http://openstack01:9696
auth_url = http://openstack01:5000 
文件添加添加url后,网桥可以自动创建,删除。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值