PortBindingFailed_Remote (HTTP 500)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Medium
|
Unassigned | ||
neutron |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi all,
Description
===========
I am running newton on centos7 and have currently one active instance. This instance is connected to two vxlan networks(int and vxlannetwork) and I would like to get it connected to two additonal, vlan and gre. Networks are created, but after I create the port and try to attach the interface I get an error. See below.
Steps to reproduce
===================
# nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 354caa3d-
+------
when I create a port on vlan network and try to attach I get the following error
# neutron net-list
+------
| id | name | subnets |
+------
| 625914e4-
| 7974307b-
| afd58b60-
| da177468-
| de00479b-
+------
#neutron port-create afd58b60-
Created a new port:
+------
| Field | Value |
+------
| admin_state_up | True |
| allowed_
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| created_at | 2017-11-
| description | |
| device_id | |
| device_owner | |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "2549725d-
| id | 2795d640-
| mac_address | fa:16:3e:cc:27:f9 |
| name | |
| network_id | afd58b60-
| project_id | 2dda4fa34519478
| revision_number | 4 |
| security_groups | 68c3297c-
| status | DOWN |
| tenant_id | 2dda4fa34519478
| updated_at | 2017-11-
+------
# nova interface-attach --port-id 2795d640-
ERROR (ClientException): Unexpected API Error. Please report this at http://
<class 'PortBindingFai
# cat /var/log/
2017-11-06 20:01:05.901 8536 ERROR nova.api.
# cat /var/log/
2017-11-06 20:01:05.821 19663 ERROR neutron.
# cat /etc/neutron/
[DEFAULT]
[ml2]
type_drivers = vxlan,vlan,gre
tenant_
mechanism_drivers =openvswitch
path_mtu = 0
[ml2_type_flat]
[ml2_type_geneve]
[ml2_type_gre]
tunnel_id_ranges =10:100
[ml2_type_vlan]
network_vlan_ranges =physnet1:1:100
[ml2_type_vxlan]
vni_ranges =10:100
vxlan_group = 224.0.0.1
[securitygroup]
firewall_driver = neutron.
enable_
Expected result
===============
Expected results would be to attach the additional networks, vlan and gre to instance.
Environment
===========
centos7
libvirt version: 3.2.0, package: 14.el7_4.3 (CentOS BuildSystem <http://
Ceph Storage
Neutron with OpenVSwitch
Many thanks!
Changed in neutron: | |
status: | New → Incomplete |
Changed in nova: | |
status: | Confirmed → Incomplete |
The error:
Failed to bind port 2795d640- adfe-417e- a598-68b7336b19 fa on host cl310openstack. lab.local for vnic_type normal using segments [{'segmentation _id': 35, 'physical_network': u'physnet1', 'id': u'6b180747- 3063-480b- b752-af94a67ca7 f5', 'network_type': u'vlan'}
May be the result of an incompatible configuration. The ID 6b180747- 3063-480b- b752-af94a67ca7 f5 is it accessible to the end-user?