Cannot use a provider network for VM creation

Bug #1745702 reported by Pushkar Acharya
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vmware-nsx
New
Undecided
Unassigned

Bug Description

Neutron server is configured with VMware NSX DVS plugin. vCenter has a distributed switch (DSwitch) which contains a port group DPortGroup. Created a provider network as -

neutron net-create --provider:network_type=portgroup --provider:physical_network=DPortGroup DPortGroup
neutron subnet-create --allocation-pool start=10.4.249.0,end=10.4.249.255 --disable-dhcp DiscoveredPortGroup 10.4.0.0/16

When this network is used for creating instances, nova compute is unable to find the port group on vCenter and instance creation fails. Following error is seen in the nova logs -

2018-01-26 20:07:33.630 TRACE nova.compute.manager [instance: 02bbe6cf-cf03-43f5-9f40-19a60cf121a2] network_ref = _get_neutron_network(session, cluster, vif)
2018-01-26 20:07:33.630 TRACE nova.compute.manager [instance: 02bbe6cf-cf03-43f5-9f40-19a60cf121a2] File "/opt/nova/lib/python2.7/site-packages/nova/virt/vmwareapi/vif.py", line 148, in _get_neutron_network
2018-01-26 20:07:33.630 TRACE nova.compute.manager [instance: 02bbe6cf-cf03-43f5-9f40-19a60cf121a2] raise exception.NetworkNotFoundForBridge(bridge=network_id)
2018-01-26 20:07:33.630 TRACE nova.compute.manager [instance: 02bbe6cf-cf03-43f5-9f40-19a60cf121a2] NetworkNotFoundForBridge: Network could not be found for bridge df88fc72-013e-4a95-9915-0e4555008fc5

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.