<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Hi Leander,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Make sure you have ip forward enabled on
the nova-compute nodes (that now act as nova-network as well).<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Second, each nova-network acts as a
gateway for each project and it needs an IP address, so probably this explains
the “phantom” </span></font>10.0.108.4, 10.0.108.6, 10.0.108.8
and 10.0.108.4.10 addresses.<o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>George<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net
[mailto:openstack-bounces+george.mihaiescu=q9.com@lists.launchpad.net] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Leander Bessa Beernaert<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 05,
2012 9:49 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Vishvananda Ishaya<br>
<b><span style='font-weight:bold'>Cc:</span></b> openstack@lists.launchpad.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Openstack]
[OpenStack][Nova]Problems and questions regarding network and/or routing</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I'm having the strangest issue. I have set up a separate OpenStack
cluster to test out the multi-host setup. <o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I have one controller node and 4 compute nodes. Each compute node is
running nova-network, nova-compute and nova-api-metadata. I have set up a tenant
with the a multi-host network on the address range <a
href="http://10.0.108.0/24">10.0.108.0/24</a>. <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I launched 4 instances to fill up the compute nodes:<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>+--------------------------------------+------+--------+----------------------------+</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>|              
   ID                  |
Name | Status |          Networks      
   |</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>+--------------------------------------+------+--------+----------------------------+</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>| 2c63cc3e-7c45-4e10-8ac5-480fa60d4f32 | Test |
ACTIVE | project_network=10.0.108.7 |</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>| c48f6aae-0d97-4e69-a398-8cda929c310d | Test |
ACTIVE | project_network=10.0.108.3 |</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>| ed8f11a4-5fc0-4437-9ae2-b6725126fca7 | Test |
ACTIVE | project_network=10.0.108.5 |</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>| fe39e586-030c-4bf4-9020-7ef773567913 | Test |
ACTIVE | project_network=10.0.108.9 |</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>+--------------------------------------+------+--------+----------------------------+</span></font><o:p></o:p></p>

</div>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>One thing i found odd at the beginning was the fact that the instances
are using only odd addresses. <st1:PersonName w:st="on">The</st1:PersonName>
installation is clean and no instances have been launched before, so all the
addresses are available. <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=3 face="Times New Roman"><span
 style='font-size:12.0pt'>The</span></font></st1:PersonName> problem now is
that i can only ping instances form the compute nodes. I am unable to ping any
instance from the controller node. Stranger yet, is the fact that i can ping
non-existent address such as 10.0.108.4,10.0.108.6,10.0.108.8
and 10.0.108.4.10. <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I have also no connectivity from within the instances to the outside
world.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Has this happend to anyone before?<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Tue, Sep 4, 2012 at 11:38 PM, Vishvananda Ishaya <<a
href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>>
wrote:<o:p></o:p></span></font></p>

<div style='word-wrap:break-word'>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Sep 4, 2012, at 3:01 PM, Leander Bessa Beernaert <<a
href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>>
wrote:<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>Question follows inlined
below.<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Tue, Sep 4, 2012 at 6:48 PM, Vishvananda Ishaya <<a
href="mailto:vishvananda@gmail.com" target="_blank">vishvananda@gmail.com</a>>
wrote:<o:p></o:p></span></font></p>

<div style='word-wrap:break-word'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Sep 4, 2012, at 8:35 AM, Leander Bessa Beernaert <<a
href="mailto:leanderbb@gmail.com" target="_blank">leanderbb@gmail.com</a>>
wrote:<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br>
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hello all,<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I've had a few reports from users testing out the sample installation
of OpenStack  i setup. <st1:PersonName w:st="on">The</st1:PersonName>
reports were all related to problems with inter-vm network speeds and
connection timeouts as well as the inability to connect to the outside word
from within the VM (e.g.: ping <a href="http://www.google.com/" target="_blank">www.google.com</a>). I'm
not sure if i setup something wrong, so i have a few questions.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=3 face="Times New Roman"><span
 style='font-size:12.0pt'>The</span></font></st1:PersonName>
current installation of OpenStack is running with 1 controller node,
and 8 compute nodes. Each node is running Ubuntu 12.04 and Essex with the
default packages. I'm using the VLAN network manager. <st1:PersonName
w:st="on">The</st1:PersonName>re is one peculiarity to this setup. Since each
physical hosts only has 1 network interface,  i came up with the
following configuration:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>  - For inter-node communications i set up  a VLAN with the
ID 107<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>  - Each tentant has it's private network on a separate VLAN.
Currently there are two tenant, one on VLAN 109 (network: <a
href="http://10.0.9.0/24" target="_blank">10.0.9.0/24</a>) and another on VLAN
110 (network: <a href="http://10.0.9.0/24" target="_blank">10.0.9.0/24</a>). <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I'm not a network expert, so please bear with me if i make any outrages
statements. <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>1) When communicating on the private network, the packets are not routed
through the controller right? That only happens when the VM needs to contact an
external source (e.g.: google), correct? This report originated from users
from VLAN 109. <st1:PersonName w:st="on">The</st1:PersonName>y are using
network intensive applications which send a lot of data between each of the
instances. <st1:PersonName w:st="on">The</st1:PersonName>y reported various
time-out and connection drops as well as slow transfer speeds. I'm no network
expert, but could this be related to the routing, VLANs or is it a hardware
issue?<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=3 face="Times New Roman"><span
 style='font-size:12.0pt'>The</span></font></st1:PersonName>re are a lot of
things that could cause this. You would need to do some extensive debugging to
find the source of this.<o:p></o:p></p>

</div>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Any ideas where i can start looking? <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Also, communications between two VMs on different compute nodes from
the same tenant do not need to be routed through the controller node right?<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>in non-multi_host mode I believe it will go through the controller.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Vish<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</div>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>-- <o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Cumprimentos / Regards,<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Leander<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>