On Thu, Oct 4, 2012 at 8:23 PM, Ahmed Al-Mehdi <span dir="ltr"><<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div><br></div><div>Hi Janis,</div><div><br></div><div>Thank you very much for your response.  I have some questions to your response which are inlined below.</div>

<div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div><span><div style="border-right:medium none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1pt solid;padding-bottom:0in;border-left:medium none">

<span style="font-weight:bold">From: </span> Jānis Ģeņģeris <<a href="mailto:janis.gengeris@gmail.com" target="_blank">janis.gengeris@gmail.com</a>><br><span style="font-weight:bold">Date: </span> Thursday, October 4, 2012 12:37 AM<br>

<span style="font-weight:bold">To: </span> Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>><br><span style="font-weight:bold">Cc: </span> Anne Gentle <<a href="mailto:anne@openstack.org" target="_blank">anne@openstack.org</a>>, "<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>" <<a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>><br>

<span style="font-weight:bold">Subject: </span> Re: [Openstack] Network IP address setting in nova.conf file<br></div><div class="im"><div><br></div><blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5">

Hello Ahmed,<br><br><div class="gmail_quote">On Thu, Oct 4, 2012 at 9:08 AM, Ahmed Al-Mehdi <span dir="ltr"><<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



Hi Anne,<br><br>
Thank you for the explanation.  A few follow-up question:<br><br>
1. Is the set of IP address mentioned by fixed_range distributed over all<br>
the Compute Nodes. E.g., a VM on Compute Node1 would get an IP address<br>
from this range.  Another VM instance on Compute Node2 would get an IP<br>
address from this same range.  Is that right?<br></blockquote><div>I think it depends on configuration, but with standard setup as described in docs, it's done exactly as you think.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




2. Pardon my ignorance, what does POC stand for?<br></blockquote><div>It might be Proof Of Concept , depends on context.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
3. br100 interface can be created on a Native Ubuntu server also, not<br>
necessarily on VM in VirtualBox, right?</blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
4. The br100 interface is only applicable to the Computer Node, not the<br>Controller Node, right?<br></blockquote><div><a href="http://docs.openstack.org/essex/openstack-compute/admin/content/libvirt-flat-dhcp-networking.html" target="_blank">http://docs.openstack.org/essex/openstack-compute/admin/content/libvirt-flat-dhcp-networking.html</a></div>

<div>This image gives good illustration about the responsibilities assigned to br100.</div><div><br></div><div>As I understand then br100 is interface where the VM network will be plugged in. It makes sens of having it only on compute nodes. But you can assign addresses from different subnets to the bridge, and make the instances accessible from the controller node as well.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
5. The command to create the network for compute VMs - "nova-manage<br>
network create Š." is executed on the Compute Node, right?</blockquote><div>nova-manage works with the configured database and uses your nova.conf for getting the db dsn. It is independent from compute nodes. It depends on network configuration what happens later and where it's executed. I think nova-network service is working with all the network stuff if you are not using quantum. But I might be wrong here.</div>

</div></blockquote></div></span><div><br></div><div>The reason I posed the question is because in the "Install and Deploy.." document, it seem  the command "nova-manage" will create the br100 interface (on the Compute Node).  How does it do that if it is executed on the Controller Node.</div>

</div></blockquote><div><br></div><div>I might be wrong, but I guess, that when you try to create a new instance, the RPC call is made, and if the bridge is not on a compute node already, it is created. For specific details you should check the source. </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div class="im"><div><br></div><span><blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5">

<div class="gmail_quote"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
6. In my setup, one physical host will be the Controller Node, one<br>
physical host is the Compute Node, and I might add another physical host<br>
to be the Compute Node.  In this setup, what I the recommended setup for<br>
public_interface?  Or does that depend on the number of NIC ports on the<br>
physical host?<br></blockquote><div>The public interface is where the floating IPs are handled. Better make it separate, although I have red that people have managed to make compute nodes with single interface, it might be more painful to setup.</div>

</div></blockquote></span><div><br></div></div><div>Are you recommending the Compute Node have two interfaces (eth0 and eth1, eth0 is the public interface connected to the outside world).  The br100 interface on the Compute Node is connected to which physical interface, eth0 or eth1?</div>

<div><div class="h5"><div><br></div></div></div></div></blockquote><div>I would recommend 3 if you are experimenting alot. One is for floating IP net, one is for service & VM net, and one is the address that you use to ssh into server.</div>

<div><br></div><div>Then br100 is connected with eth1.</div><div><br></div><div>I think this great blog entry from Mirantis will help you alot</div><div><a href="http://www.mirantis.com/blog/openstack-networking-flatmanager-and-flatdhcpmanager/">http://www.mirantis.com/blog/openstack-networking-flatmanager-and-flatdhcpmanager/</a></div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div><div class="h5"><div>
</div>
<span><blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
Thank you,<br>
Ahmed.<br><div><div><br><br><br>
On 10/3/12 8:26 PM, "Anne Gentle" <<a href="mailto:anne@openstack.org" target="_blank">anne@openstack.org</a>> wrote:<br><br>
>Hi Ahmed -<br>
><br>
>I have logged a doc bug to clear up this mismatch:<br>
><a href="https://bugs.launchpad.net/openstack-manuals/+bug/1061352" target="_blank">https://bugs.launchpad.net/openstack-manuals/+bug/1061352</a>.<br>
><br>
>Appreciate you asking!<br>
><br>
>Here's some explanation for each setting.<br>
>fixed_range - fixed block of IP addresses handed out to VMs as they're<br>
>provisioned. So these could be a <a href="http://10.0.0.0/4" target="_blank">10.0.0.0/4</a> block if you want, or the<br>
>192... block.<br>
>public_interface - some say this needs to be a physical nic, but when<br>
>you're running a POC on a VM on a laptop in VirtualBox for example, it<br>
>can be br100. It's what DevStack defaults to. This setting indicates<br>
>the interface nova-network uses to send the floating ip traffic on the<br>
>correct network. So if you have nova-network on each compute node then<br>
>yes, it belongs on the compute node.<br>
><br>
>The Install/deploy guide walks through Flat DHCP as the network<br>
>manager. If you use --network_bridge=br100 when you run the<br>
>nova-manage network command, nova will set up the bridge for you. This<br>
>example command uses <a href="http://192.168.100.0/24" target="_blank">192.168.100.0/24</a> for the fixed range of IP<br>
>addresses:<br>
><a href="http://docs.openstack.org/trunk/openstack-compute/install/apt/content/comp" target="_blank">http://docs.openstack.org/trunk/openstack-compute/install/apt/content/comp</a><br>
>ute-create-network.html<br>
><br>
>Hope this helps.<br>
><br>
>Others on the list, feel free to correct my explanations as needed!<br>>Thanks,<br>
>Anne<br>
><br>
>On Wed, Oct 3, 2012 at 6:46 PM, Ahmed Al-Mehdi <<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>> wrote:<br>
>> Hello,<br>
>><br>
>> I am following the steps in "OpenStack Install and Deploy ­ RedHat<br>
>>Ubuntu"<br>
>> (Folsom) to setup a Controller node.  The section "Configuring OpenStack<br>
>> Compute" (<br>
>><br>
>><a href="http://docs.openstack.org/trunk/openstack-compute/install/apt/content/com" target="_blank">http://docs.openstack.org/trunk/openstack-compute/install/apt/content/com</a><br>
>>pute-minimum-configuration-settings.html<br>
>> )  gives a snippet of an example of the values of parameters in the<br>
>> nova.conf file.<br>
>><br>
>> The document first lists some common settings in nova.conf file.  I am<br>
>> highlighting the following two which I am concerned about:<br>
>><br>
>> fixed_range=<a href="http://192.168.100.0/24" target="_blank">192.168.100.0/24</a><br>
>> public_interface=eth0<br>
>><br>
>> The Document right after gives the whole content of a sample (usable)<br>
>> nova.conf file for the Controller Node, in which the above settings are<br>
>>set<br>
>> as follows:<br>
>><br>
>> fixed_range=<a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a><br>
>> public_interface=br100<br>
>><br>
>> I am assuming "fixed_range=<a href="http://192.168.100.0/24" target="_blank">192.168.100.0/24</a>" is the correct setting.<br>
>> However, can someone please help as to the correct setting of<br>
>> "public_interface".   And the same setting value would be applicable<br>
>>for the<br>
>> Compute Node, is that right?<br>
>><br>
>> Thank you very much in advance.<br>
>><br>
>> Regards,<br>
>><br>
>> Ahmed.<br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
>> Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
>> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
>><br><br><br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>--janis<br></blockquote></span></div>

</div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>--janis<br>