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

Steven Barnabas sbarnabas at frontporch.com
Tue Apr 23 22:15:03 UTC 2013


Hi Lorin, 

I added the bridge by doing this on my compute box:
root at FPCompute:~# ovs-vsctl add-br br-2
root at FPCompute:~# ovs-vsctl add-port br-2 eth5

Then I put in this command:
root at FPCompute:~# nova-manage network create --fixed_range_v4=1.1.1.0/24 --num_networks=1 --network_size=256 --label=IN-Interface --project=admin --bridge=br-2
I used 1.1.1.1 because Im not going to IP this interface, its going be used as a monitoring port so I'm never going to IP it.  (for wireshark)

But I get this error:
Command failed, please check log for more info
2013-04-23 14:59:06 CRITICAL nova [req-27fbc802-2f66-4427-a246-6acdd8ed637a None None] 'vlan_start'
2013-04-23 14:59:06 11196 TRACE nova Traceback (most recent call last):
2013-04-23 14:59:06 11196 TRACE nova   File "/usr/bin/nova-manage", line 1404, in <module>
2013-04-23 14:59:06 11196 TRACE nova     main()
2013-04-23 14:59:06 11196 TRACE nova   File "/usr/bin/nova-manage", line 1391, in main
2013-04-23 14:59:06 11196 TRACE nova     fn(*fn_args, **fn_kwargs)
2013-04-23 14:59:06 11196 TRACE nova   File "/usr/bin/nova-manage", line 480, in create
2013-04-23 14:59:06 11196 TRACE nova     net_manager.create_networks(context.get_admin_context(), **kwargs)
2013-04-23 14:59:06 11196 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 2063, in create_networks
2013-04-23 14:59:06 11196 TRACE nova     if kwargs['num_networks'] + kwargs['vlan_start'] > 4094:
2013-04-23 14:59:06 11196 TRACE nova KeyError: 'vlan_start'
2013-04-23 14:59:06 11196 TRACE nova 

Any ideas?

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



On Apr 9, 2013, at 7:13 PM, Lorin Hochstein <lorin at nimbisservices.com> wrote:

> http://docs.openstack.org/trunk/openstack-compute/admin/content/using-multi-nics.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130423/581f559d/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/20130423/581f559d/attachment.bin>


More information about the OpenStack-operators mailing list