Failed to Create the provider network

asked 2016-12-24 06:58:51 -0600

navalsaini gravatar image

I have deployed newton successfully with example architecture on my machines with provider network setup only.

I am able to login in opensatck dashboard , planning to launch vm but befor that i need to create provider network.

For creating provider network i am running this command.

"openstack network create --share --provider-physical-network provider --provider-network-type flat provider"

And getting this error - HttpException: Conflict

Here is interface details.


In linuxbridge_agent.ini

[linux_bridge] physical_interface_mappings = provider:ens160

In ml2_conf.ini file [ml2_type_flat] flat_networks = provider


I do not have information about log file for this issue that's why not pasting logs here.

Any help will be appreciated

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2016-12-25 00:16:13 -0600

SeanWallace gravatar image

updated 2016-12-25 00:21:12 -0600

Two things come to mind:

1) Have you defined "provider" as a flat network provider? 2) Most importantly, are all of the necessary environmental variables defined? For example, can you:

root@OpenStack:~# openstack network list
| ID                                   | Name    | Subnets                              |
| 7fe25645-1ab0-48e9-970d-f3887efa361a | private | aa332cea-358b-45b6-adc9-474803c995f8 |
| ff4bbe7c-50c8-436f-ba37-457f7d6238c1 | public  | 160c9ea4-c16f-46d4-8008-be31e530d683 |

If not, you need to source a script that looks like this:

#!/usr/bin/env bash

# To use an OpenStack cloud you need to authenticate against the Identity
# service named keystone, which returns a **Token** and **Service Catalog**.
# The catalog contains the endpoints for all services the user/tenant has
# access to - such as Compute, Image Service, Identity, Object Storage, Block
# Storage, and Networking (code-named nova, glance, keystone, swift,
# cinder, and neutron).
# *NOTE*: Using the 2.0 *Identity API* does not necessarily mean any other
# OpenStack API is version 2.0. For example, your cloud provider may implement
# Image API v1.1, Block Storage API v2, and Compute API v2.0. OS_AUTH_URL is
# only for the Identity API served through keystone.
export OS_AUTH_URL=

# With the addition of Keystone we have standardized on the term **tenant**
# as the entity that owns the resources.
export OS_TENANT_ID=
export OS_TENANT_NAME="admin"

# unsetting v3 items in case set

# In addition to the owning entity (tenant), OpenStack stores the entity
# performing the action as the **user**.
export OS_USERNAME="admin"

# With Keystone you pass the keystone password.
echo "Please enter your OpenStack Password: "
edit flag offensive delete link more


Hey SeanWallace ,

Yes i have defined provider network as flat.

As per this guide. (

Please have a look and help me out in this.

navalsaini gravatar imagenavalsaini ( 2016-12-26 02:35:26 -0600 )edit

What is the output of openstack network list?

SeanWallace gravatar imageSeanWallace ( 2016-12-28 23:57:54 -0600 )edit

Hey sean i have fixed this issue now.

Facing a new issue - (

navalsaini gravatar imagenavalsaini ( 2016-12-29 03:30:28 -0600 )edit

answered 2017-01-08 14:09:57 -0600

tze gravatar image

As i can see your linux bridge name must be ens160, is this bridge interface or ethernet interface? You must create the bridge with your distribution's tools and then you must define the bridge name in linuxbridge_agent.ini on [linux_bridge]\physical_interface_mappings = provider:<bridge_name>

The simplest topology is on bridge with one physical interface on it.

edit flag offensive delete link more

answered 2016-12-25 20:57:14 -0600

silently gravatar image

1 see log file : dhcp-agent.log linuxbridge-agent.log metadata-agent.log ......

2  openstack network agent list
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-12-24 06:58:51 -0600

Seen: 1,716 times

Last updated: Jan 08 '17