<div dir="ltr">Hi Steven,<div><br></div><div>I apologize - I missed your previous message. I just re-read this thread and I misunderstood your original intention. As with Lorin, I haven't tried  this myself, but let's see how far we get.</div>
<div><br></div><div>If you're using OVS for bridging, do you have the brcompat module loaded? This will enable compatibility with the Linux kernel bridge which nova-network uses. You can verify that OVS has translated its bridge into a linux kernel bridge by using the standard "brctl" tool.</div>
<div><br></div><div>In your /etc/network/interfaces file, you have eth4 configured as static, but no further attributes. If you want to enable the interface but not configure it with an IP, try changing "static" to "manual".</div>
<div><br></div><div>Next, are you using vlanmanager in nova-network? If so, then continue using the --vlan flag. If the goal is to have the physical interface mapped directly (or as close to directly as possible) to your instance, make sure you choose the vlan that the physical interface is connected to.</div>
<div><br></div><div>Hope that helps,</div><div>Joe</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 11:57 AM, Steven Barnabas <span dir="ltr"><<a href="mailto:sbarnabas@frontporch.com" target="_blank">sbarnabas@frontporch.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Do i also have to add the same bridge to my compute box?<div><br></div><div>Im not sure if I created the bridge correctly.</div>
<div><br></div><div>The physical interface I am using on my Compute box is eth4</div><div><br></div><div>This is my /etc/network/interfaces </div><div><div>auto eth0</div><div>iface eth0 inet static</div><div><span style="white-space:pre-wrap">   </span>address 172.16.32.12</div>
<div><span style="white-space:pre-wrap">  </span>netmask 255.255.255.0</div><div><span style="white-space:pre-wrap">    </span>network 172.16.32.0</div><div><span style="white-space:pre-wrap">      </span>broadcast 172.16.32.255</div>
<div><span style="white-space:pre-wrap">  </span>gateway 172.16.32.1</div><div><span style="white-space:pre-wrap">      </span># dns-* options are implemented by the resolvconf package, if installed</div><div><span style="white-space:pre-wrap">  </span>dns-nameservers 8.8.8.8 8.8.4.4</div>
<div># management network</div><div>auto eth2</div><div>iface eth2 inet static</div><div>        address 192.168.0.3</div><div>        netmask 255.255.255.0</div><div><br></div><div># IN Interface</div><div>auto eth4</div>
<div>iface eth4 inet static<span style="white-space:pre-wrap">    </span></div><div><br></div><div><br></div><div>I did this to create the bridge:</div><div><b>ovs-vsctl add-br br-eth4</b></div><div><b>ovs-vsctl add-port br-eth4 eth4</b></div>
<div><b><br></b></div><div>When I do a ifconfig, I do not see my bridge or my interface.  I do have link on my interface, I just think maybe I configured it wrong in /network/interfaces?</div><div><br></div><div>Whenever I try the command to add the network, I get the no bridge error.</div>
<div><br></div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div><div><br></div><div>
<div>Steven Barnabas<br>Network Engineer <br>Front Porch, Inc.<br><a href="tel:209-288-5580" value="+12092885580" target="_blank">209-288-5580</a><br><a href="tel:209-652-7733" value="+12096527733" target="_blank">209-652-7733</a> mobile<br>
<a href="http://www.frontporch.com/" target="_blank">www.frontporch.com</a></div><div><br></div><br>

</div>
<br><div><div>On Apr 24, 2013, at 3:12 PM, Steven Barnabas <<a href="mailto:sbarnabas@frontporch.com" target="_blank">sbarnabas@frontporch.com</a>> wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word">
Hi Joe, <div><br></div><div>I tried, <b>nova-manage network create --fixed_range_v4=<a href="http://1.1.1.0/24" target="_blank">1.1.1.0/24</a> --num_networks=1 --network_size=256 --vlan=1 --label=IN-Interface --project=admin --bridge=br-2</b></div>
<div>and I got this error:</div><div><div>Command failed, please check log for more info</div><div>2013-04-24 15:09:51 CRITICAL nova [req-4c0db5b4-2b9a-4e42-ac1c-eb0a7a4a8b3c None None] bridge_interface is required to create a network.</div>
<div>2013-04-24 15:09:51 19871 TRACE nova Traceback (most recent call last):</div><div>2013-04-24 15:09:51 19871 TRACE nova   File "/usr/bin/nova-manage", line 1404, in <module></div><div>2013-04-24 15:09:51 19871 TRACE nova     main()</div>
<div>2013-04-24 15:09:51 19871 TRACE nova   File "/usr/bin/nova-manage", line 1391, in main</div><div>2013-04-24 15:09:51 19871 TRACE nova     fn(*fn_args, **fn_kwargs)</div><div>2013-04-24 15:09:51 19871 TRACE nova   File "/usr/bin/nova-manage", line 480, in create</div>
<div>2013-04-24 15:09:51 19871 TRACE nova     net_manager.create_networks(context.get_admin_context(), **kwargs)</div><div>2013-04-24 15:09:51 19871 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 2078, in create_networks</div>
<div>2013-04-24 15:09:51 19871 TRACE nova     self, context, vpn=True, **kwargs)</div><div>2013-04-24 15:09:51 19871 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1434, in create_networks</div>
<div>2013-04-24 15:09:51 19871 TRACE nova     raise exception.NetworkNotCreated(req=fld)</div><div>2013-04-24 15:09:51 19871 TRACE nova NetworkNotCreated: bridge_interface is required to create a network.</div><div>2013-04-24 15:09:51 19871 TRACE nova </div>
<div><br></div><div>so I thought that I had to go into /etc/network/interfaces and do this:</div><div><br></div><div><div>auto br‐2</div><div>    iface br‐2 inet static</div></div><div><br></div><div>then I rebooted but I still get the error. </div>
<div><br></div><div>Did i do that incorrectly?</div><div><br></div><div>Thanks,</div><div><br></div><div><br></div><div><div>
<div>Steven Barnabas<br>Network Engineer <br>Front Porch, Inc.<br><a href="tel:209-288-5580" value="+12092885580" target="_blank">209-288-5580</a><br><a href="tel:209-652-7733" value="+12096527733" target="_blank">209-652-7733</a> mobile<br>
<a href="http://www.frontporch.com/" target="_blank">www.frontporch.com</a></div><div><br></div><br>

</div>
<br><div><div>On Apr 24, 2013, at 7:15 AM, Joe Topjian <<a href="mailto:joe.topjian@cybera.ca" target="_blank">joe.topjian@cybera.ca</a>> wrote:</div><br><blockquote type="cite"><div dir="ltr">Hi Steven,<div><br></div>
<div>Try the "--vlan" option in the nova-manage command. The value will be the vlan that the network you are creating will be on.</div><div><br></div><div>Thanks,</div><div>
Joe</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 4:15 PM, Steven Barnabas <span dir="ltr"><<a href="mailto:sbarnabas@frontporch.com" target="_blank">sbarnabas@frontporch.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Lorin, <div><br></div>
<div>I added the bridge by doing this on my compute box:</div>
<div><div>root@FPCompute:~# ovs-vsctl add-br br-2</div><div>root@FPCompute:~# ovs-vsctl add-port br-2 eth5</div></div><div><br></div><div>Then I put in this command:</div><div>root@FPCompute:~# nova-manage network create --fixed_range_v4=<a href="http://1.1.1.0/24" target="_blank">1.1.1.0/24</a> --num_networks=1 --network_size=256 --label=IN-Interface --project=admin --bridge=br-2</div>

<div>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)</div><div><br></div><div>But I get this error:</div><div><div>Command failed, please check log for more info</div>

<div>2013-04-23 14:59:06 CRITICAL nova [req-27fbc802-2f66-4427-a246-6acdd8ed637a None None] 'vlan_start'</div><div>2013-04-23 14:59:06 11196 TRACE nova Traceback (most recent call last):</div><div>2013-04-23 14:59:06 11196 TRACE nova   File "/usr/bin/nova-manage", line 1404, in <module></div>

<div>2013-04-23 14:59:06 11196 TRACE nova     main()</div><div>2013-04-23 14:59:06 11196 TRACE nova   File "/usr/bin/nova-manage", line 1391, in main</div><div>2013-04-23 14:59:06 11196 TRACE nova     fn(*fn_args, **fn_kwargs)</div>

<div>2013-04-23 14:59:06 11196 TRACE nova   File "/usr/bin/nova-manage", line 480, in create</div><div>2013-04-23 14:59:06 11196 TRACE nova     net_manager.create_networks(context.get_admin_context(), **kwargs)</div>

<div>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</div><div>2013-04-23 14:59:06 11196 TRACE nova     if kwargs['num_networks'] + kwargs['vlan_start'] > 4094:</div>

<div>2013-04-23 14:59:06 11196 TRACE nova KeyError: 'vlan_start'</div><div>2013-04-23 14:59:06 11196 TRACE nova </div></div><div><br></div><div>Any ideas?</div><div><br></div><div><div>
<div>Steven Barnabas<br>Network Engineer <br>Front Porch, Inc.<br><a href="tel:209-288-5580" value="+12092885580" target="_blank">209-288-5580</a><br><a href="tel:209-652-7733" value="+12096527733" target="_blank">209-652-7733</a> mobile<br>

<a href="http://www.frontporch.com/" target="_blank">www.frontporch.com</a></div><div><br></div><br>

</div>
<br><div><div>On Apr 9, 2013, at 7:13 PM, Lorin Hochstein <<a href="mailto:lorin@nimbisservices.com" target="_blank">lorin@nimbisservices.com</a>> wrote:</div><br><blockquote type="cite"><a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/using-multi-nics.html" style="font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://docs.openstack.org/trunk/openstack-compute/admin/content/using-multi-nics.html</a></blockquote>

</div><br></div></div><br>_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Joe Topjian<div>Systems Administrator</div><div>Cybera Inc.</div><div><br></div><div><a href="http://www.cybera.ca/" target="_blank">www.cybera.ca</a></div>

<div><br></div><div><font color="#666666"><span>Cybera</span><span> is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.</span></font></div>


</div>
</blockquote></div><br></div></div></div>_______________________________________________<br>OpenStack-operators mailing list<br><a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><br></blockquote></div><br></div></div></blockquote>
</div><br><br clear="all"><div><br></div>-- <br>Joe Topjian<div>Systems Administrator</div><div>Cybera Inc.</div><div><br></div><div><a href="http://www.cybera.ca" target="_blank">www.cybera.ca</a></div><div><br></div><div>
<font color="#666666"><span>Cybera</span><span> is a not-for-profit organization that works to spur and support innovation, for the economic benefit of Alberta, through the use of cyberinfrastructure.</span></font></div>
</div>