[Openstack-operators] Adding a Physical Network Interface to an Instance

Steven Barnabas sbarnabas at frontporch.com
Mon May 6 23:36:31 UTC 2013


Ok I changed my /etc/network/interfaces eth-4 interface to manual

when I do a brctl show this is the output:
root at FPCompute:~# brctl show
bridge name	bridge id		STP enabled	interfaces
br-eth0		0000.00151715ac78	no		eth0
							phy-br-eth0
br-eth4		0000.00188b4c7e7a	no		eth4
br-int		0000.d6e482502444	no		int-br-eth0
qbr4ba9f712-ec		8000.7abe7483f8e4	no		qvb4ba9f712-ec

So the bridge is already there and the interface is mapped to it from what it looks like.  

When I do this:
nova-manage network create --fixed_range_v4=1.1.1.0/24 --num_networks=1 --network_size=256 --vlan=1 --label=IN-Interface --project=admin --bridge=br-eth4
I still get the:
Command failed, please check log for more info
2013-05-06 16:18:07 CRITICAL nova [req-9d8bbe89-282c-4490-a3b1-643faeccc849 None None] bridge_interface is required to create a network.
2013-05-06 16:18:07 22953 TRACE nova Traceback (most recent call last):
2013-05-06 16:18:07 22953 TRACE nova   File "/usr/bin/nova-manage", line 1404, in <module>
2013-05-06 16:18:07 22953 TRACE nova     main()
2013-05-06 16:18:07 22953 TRACE nova   File "/usr/bin/nova-manage", line 1391, in main
2013-05-06 16:18:07 22953 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-05-06 16:18:07 22953 TRACE nova   File "/usr/bin/nova-manage", line 480, in create
2013-05-06 16:18:07 22953 TRACE nova     net_manager.create_networks(context.get_admin_context(), **kwargs)
2013-05-06 16:18:07 22953 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 2105, in create_networks
2013-05-06 16:18:07 22953 TRACE nova     self, context, vpn=True, **kwargs)
2013-05-06 16:18:07 22953 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1461, in create_networks
2013-05-06 16:18:07 22953 TRACE nova     raise exception.NetworkNotCreated(req=fld)
2013-05-06 16:18:07 22953 TRACE nova NetworkNotCreated: bridge_interface is required to create a network.
2013-05-06 16:18:07 22953 TRACE nova 

I even tried adding br-eth4 to my /etc/network/interfaces and it still did not work.  I removed that now.


Steven Barnabas
Network Engineer 
Front Porch, Inc.
209-288-5580
209-652-7733 mobile
www.frontporch.com



On May 4, 2013, at 7:42 AM, Joe Topjian <joe.topjian at cybera.ca> wrote:

>> nova-manage network create --fixed_range_v4=1.1.1.0/24 --num_networks=1 --network_size=256 --vlan=1 --label=IN-Interface --project=admin --bridge=br-2

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130506/5a24e421/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2919 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130506/5a24e421/attachment.bin>


More information about the OpenStack-operators mailing list