NetworkNotCreated: bridge_interface is required to create a network

asked 2017-07-18 09:42:31 -0600

Humayun Kabir gravatar image

updated 2017-07-18 18:33:42 -0600

nova-manage network create: I am trying to create nova-manage network for openstack.

root@dlp ~(keystone)# nova-manage network create --label network01 --dns1 10.0.0.1 --fixed_range_v4=10.1.0.0/16
after that it shows: 

No handlers could be found for logger "oslo_config.cfg" 
2017-07-18 16:06:47.293 14177 CRITICAL nova [req-630081e7-1a50-4985-b41a-65a61ada18d4 - - - - -] NetworkNotCreated: bridge_interface is required to create a network.
2017-07-18 16:06:47.293 14177 ERROR nova Traceback (most recent call last):
2017-07-18 16:06:47.293 14177 ERROR nova   File "/usr/bin/nova-manage", line 10, in <module>
2017-07-18 16:06:47.293 14177 ERROR nova     sys.exit(main())
2017-07-18 16:06:47.293 14177 ERROR nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 1443, in main
2017-07-18 16:06:47.293 14177 ERROR nova     ret = fn(*fn_args, **fn_kwargs)
2017-07-18 16:06:47.293 14177 ERROR nova   File "<string>", line 2, in create
2017-07-18 16:06:47.293 14177 ERROR nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 504, in validate_network_plugin
2017-07-18 16:06:47.293 14177 ERROR nova     return f(*args, **kwargs)
2017-07-18 16:06:47.293 14177 ERROR nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/manage.py", line 552, in create
2017-07-18 16:06:47.293 14177 ERROR nova     net_manager.create_networks(context.get_admin_context(), **kwargs)
2017-07-18 16:06:47.293 14177 ERROR nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 2136, in create_networks
2017-07-18 16:06:47.293 14177 ERROR nova     self, context, vpn=True, **kwargs)
2017-07-18 16:06:47.293 14177 ERROR nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1216, in create_networks
2017-07-18 16:06:47.293 14177 ERROR nova     raise exception.NetworkNotCreated(req=fld)
2017-07-18 16:06:47.293 14177 ERROR nova NetworkNotCreated: bridge_interface is required to create a network.
2017-07-18 16:06:47.293 14177 ERROR nova

please expecting your suggestion. thanks

edit retag flag offensive close merge delete

Comments

I believe nova-manage network create requires a bridgeparameter. See e.g. https://access.redhat.com/documentati....

Is this a Nova-Network installation? Rather exotic these days.

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-18 18:39:24 -0600 )edit

Not bridge, but literally bridge_interface. This is what I find in .../nova/cmd/manage.py:

@args('--bridge_interface', metavar='<bridge interface="">', help='the bridge is connected to this interface')

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-18 18:42:42 -0600 )edit