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

Joe Topjian joe.topjian at cybera.ca
Wed Apr 24 14:15:14 UTC 2013


Hi Steven,

Try the "--vlan" option in the nova-manage command. The value will be the
vlan that the network you are creating will be on.

Thanks,
Joe


On Tue, Apr 23, 2013 at 4:15 PM, Steven Barnabas
<sbarnabas at frontporch.com>wrote:

> 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
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>


-- 
Joe Topjian
Systems Administrator
Cybera Inc.

www.cybera.ca

Cybera is a not-for-profit organization that works to spur and support
innovation, for the economic benefit of Alberta, through the use
of cyberinfrastructure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130424/9f561b63/attachment.html>


More information about the OpenStack-operators mailing list