Not able to create external physical network

Bug #2009807 reported by Darko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

Hello Team,

I am trying to create new physical external network, however that fails with the message:
"Error while executing command: ConflictException: 409, Unable to create the flat network. Physical network physnet1 is in use.".

This is how i try to create it :

``openstack network create --provider-physical-network physnet1 --provider-network-type flat --external public``

I attached same command with debug flag. I dont have any networks created at the moment.

``(control1-oslab1-office) # openstack network list
  (control1-oslab1-office) # openstack port list
``
Other config files that might be relevant:

cat ml2_conf.ini
[DEFAULT]
[ml2]
type_drivers = vlan,flat
extension_drivers = port_security,dns_domain_ports
tenant_network_types =
mechanism_drivers = openvswitch,linuxbridge,l2population
[ml2_type_vlan]
network_vlan_ranges = br-int:10:20
[securitygroup]
enable_ipset = true
[ml2_type_flat]
flat_networks = physnet1

cat openvswitch_agent.ini
[ovs]
bridge_mappings = physnet1:br-ex

Revision history for this message
Darko (dmalevski) wrote :
Revision history for this message
James Denton (james-denton) wrote :

One issue may be that a flat network already exists using physnet1. You only get one flat network per provider interface.

Another issue I see is that 'network_vlan_ranges' may be setup incorrectly. The bridge br-int is used for overlay purposes. The 'network_vlan_ranges' configuration should be <provider interface>:<vlan start>:<vlan end>.

Example:
network_vlan_ranges = physnet1:10:20

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

That's weird, are you sure that you don't have any network in your environment (specifically a flat network using "physnet1")? Can you check using an admin user or directly on the database?

Changed in neutron:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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