<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:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (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]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Emilien,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Please see
<a href="https://answers.launchpad.net/quantum/+question/194111">https://answers.launchpad.net/quantum/+question/194111</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Nova-compute and nova-network on two different machines seems to be the key here.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Solution is proposed in the above thread.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hope that helps.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Mandar<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> openstack-bounces+mandar.vaze=nttdata.com@lists.launchpad.net [mailto:openstack-bounces+mandar.vaze=nttdata.com@lists.launchpad.net]
<b>On Behalf Of </b>Emilien Macchi<br>
<b>Sent:</b> Thursday, May 03, 2012 1:26 PM<br>
<b>To:</b> Salman Malik<br>
<b>Cc:</b> openstack@lists.launchpad.net<br>
<b>Subject:</b> Re: [Openstack] Instance IP assignment problem<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<br>
<br>
<br>
As I told you, I have also a problem for instance IP assignement.<br>
<br>
<br>
<u>My architecture :</u><br>
<br>
I use <b>Quantum</b> with <b>OVS plugin</b> on 2 servers Essex-1 & Essex-2. Essex-1 runs all services and Essex-2 runs OVS, Quantum-agent & nova-compute only.<br>
<br>
You can see more details <a href="https://github.com/EmilienM/doc-openstack/blob/master/Documentation/How%20to%20setup%20OpenStack%20Essex.pdf">
here</a>.<br>
<br>
My configurations files are <a href="https://github.com/EmilienM/doc-openstack/tree/master/Configuration%20Files">
here</a> and in my documentation.<br>
<br>
<br>
<br>
<u>Problem Description :</u><br>
<br>
When an instance is created in ESSEX-1, all is working (network).<br>
<br>
But when the VM is started on ESSEX-2, it does not get an IP address. (<a href="http://paste.openstack.org/show/14775/">log file</a>)<br>
<br>
I'm sure the problem comes from OVS connection with ESSEX-1.<br>
<br>
<br>
Do I need to configure something like a trunk or a tunnel between Essex-1 & Essex-2 ?<br>
<br>
I miss something in my configuration, if you have any idea...<br>
<br>
<br>
Regards<br>
<br>
<br>
Emilien<br>
<br>
<br>
Le mardi 01 mai 2012 à 14:35 -0500, Salman Malik a écrit : <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;color:#366092">It may help if you can share the log of your launched instance as well. There is a possibility that we both are having the same issue.
</span><br>
<span style="font-size:10.0pt;color:#366092">Netstack developers can give a definitive answer to this, but it would be interesting to learn what goes wrong with a launched instance.</span><br>
<br>
<span style="font-size:10.0pt;color:#366092">Salman</span><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><o:p> </o:p></p>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><br>
Subject: RE: [Openstack] Instance IP assignment problem<br>
From: <a href="mailto:emilien.openstack@gmail.com">emilien.openstack@gmail.com</a><br>
To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>
CC: <a href="mailto:jorge.delacruz@stackops.com">jorge.delacruz@stackops.com</a>;
<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Date: Tue, 1 May 2012 21:26:26 +0200<br>
<br>
Le mardi 01 mai 2012 à 14:22 -0500, Salman Malik a écrit : <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;color:#366092">Regarding L3 gateway, I believe its not necessary to have one (as the VM hasn't obtained an IP right now, so it can't talk to anything outside its net), but I am
 not sure.</span><br>
<span style="font-size:10.0pt;color:#366092">Regarding your problem, do you see any DHCP responses from the DHCP server ? I am asking this because I was having a similar problem earlier where I was getting assigned an IP address no in my desired fixed_network
 and I believe that was cause by another interfering DHCP server that was replying to discover messages before the nova-network could.
</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Here my nova.conf and I don't have any interfering DHCP server :<br>
<br>
<a href="https://github.com/EmilienM/doc-openstack/blob/master/Configuration%20Files/Essex-1/nova.conf">https://github.com/EmilienM/doc-openstack/blob/master/Configuration%20Files/Essex-1/nova.conf</a><br>
<br>
<br>
Thanks<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;color:#366092">Salman</span><br>
<br>
<br>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><br>
<br>
Subject: RE: [Openstack] Instance IP assignment problem<br>
From: <a href="mailto:emilien.openstack@gmail.com">emilien.openstack@gmail.com</a><br>
To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>
CC: <a href="mailto:jorge.delacruz@stackops.com">jorge.delacruz@stackops.com</a>;
<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Date: Tue, 1 May 2012 21:06:01 +0200<br>
<br>
Hi Salman,<br>
<br>
<br>
I'm thinking about a networking issue. Where is your L3 gateway in this architecture ? Maybe do you need an ip helper tool to redirect DHCP broadcast ?<br>
<br>
<br>
What do you think about my problem (follow up to my last e-mail) ?<br>
<br>
<br>
Thanks<br>
<br>
<br>
Emilien<br>
<br>
Le mardi 01 mai 2012 à 14:00 -0500, Salman Malik a écrit : <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;color:#366092">Hi,</span><br>
<br>
<span style="font-size:10.0pt;color:#366092">Here is the error log: <a href="http://pastebin.com/KrNZDrvD">
http://pastebin.com/KrNZDrvD</a></span><br>
<span style="font-size:10.0pt;color:#366092">and nova.conf: <a href="http://pastebin.com/Fvd6dSZs">
http://pastebin.com/Fvd6dSZs</a></span><br>
<br>
<span style="font-size:10.0pt;color:#366092">Emilien, I am trying to get an understanding of how different Quantum plugins work with OpenStack. Ryu plugin is particularly interesting as it uses an OpenFlow controller to configure Vswitches.</span><br>
<br>
<span style="font-size:10.0pt;color:#366092">The problem I am faced with is  (I think ) that I already have a private network and Quantum should assign IP addresses to instances using DHCP. But instances send out discover message on laucnh but never find a
 DHCP server (although there are 2 dnsmasqs running). </span><br>
<br>
<span style="font-size:10.0pt;color:#366092">Any ideas?</span><br>
<br>
<span style="font-size:10.0pt;color:#366092">Thanks,</span><br>
<span style="font-size:10.0pt;color:#366092">Salman</span><br>
<br>
<br>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><br>
<br>
<br>
Date: Tue, 1 May 2012 20:43:44 +0200<br>
Subject: Re: [Openstack] Instance IP assignment problem<br>
From: <a href="mailto:jorge.delacruz@stackops.com">jorge.delacruz@stackops.com</a><br>
To: <a href="mailto:emilien.openstack@gmail.com">emilien.openstack@gmail.com</a><br>
CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>;
<a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>
<br>
Hi Emilien and Salman,<br>
Please, could you upload all the files, errors and conf in pastebin or something like that?
<br>
I have troubles to open in phone :)<br>
Thank you<br>
El 01/05/2012 20:39, "Emilien Macchi" <<a href="mailto:emilien.openstack@gmail.com">emilien.openstack@gmail.com</a>> escribió:<o:p></o:p></p>
<p class="MsoNormal">Hi,<br>
<br>
<br>
I have a similar problem when I create a network per project_id with Quantum.<br>
<br>
<br>
My VMs don't get IP and I can't understand why today.<br>
<br>
But when I create a private network for all projects, VMs get an IP and all is working well.<br>
Do you have the same problem ?<br>
<br>
<br>
Salman, I'm interesting about your nova.conf. I can see you are using Ryu ?<br>
Can you tell me more about your "use case" or architecture ?<br>
<br>
<br>
Thanks<br>
<br>
<br>
Le mardi 01 mai 2012 à 12:28 -0500, Salman Malik a écrit : <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:#366092">Hi Jorge,</span><br>
<br>
<span style="color:#366092">Thanks for looking into the post.</span><br>
<span style="color:#366092">I have made changes to the nova.conf file so that I only use 10.0.0.x network (but the problem is still the same). For this configuration, I assume that it will give out IPs to instances starting from 10.0.0.11. And just to inform
 you, my eth1 is configured to be 10.0.0.10 (which is a VM itself, and eth1 is configured as a host-only network with no DHCP) and this interface is plugged in the integration bridge used by quantum plugins.</span><br>
<br>
<span style="color:#366092">Thanks,</span><br>
<span style="color:#366092">Salman</span><br>
<br>
<span style="color:#366092">PS: Error log of a launched instance is also attached.</span><br>
<br>
<br>
<o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><br>
<br>
<br>
<br>
Date: Tue, 1 May 2012 19:03:49 +0200<br>
Subject: Re: [Openstack] Instance IP assignment problem<br>
From: <a href="mailto:jorge.delacruz@stackops.com">jorge.delacruz@stackops.com</a><br>
To: <a href="mailto:salmanmk@live.com">salmanmk@live.com</a><br>
CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
<br>
Im not really sure but you are using range for your environment 10.0.3.x and 10.0.0.x for fixed.<br>
Can you attach a nova network conf?<br>
Regards<br>
El 01/05/2012 18:56, "Salman Malik" <<a href="mailto:salmanmk@live.com">salmanmk@live.com</a>> escribió:<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:#366092">Hi Guys,</span><br>
<br>
<span style="color:#366092">Can anyone provide any insight to the following question:</span><br>
<span style="color:#366092"><a href="https://answers.launchpad.net/nova/+question/195439">https://answers.launchpad.net/nova/+question/195439</a></span><br>
<br>
<span style="color:#366092">Thanks,</span><br>
<span style="color:#366092">Salman</span><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><o:p></o:p></p>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Mailing list: <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><o:p></o:p></pre>
<pre>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><o:p></o:p></pre>
<pre>Unsubscribe : <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><o:p></o:p></pre>
<pre>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><o:p></o:p></pre>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br clear="both">
______________________________________________________________________<BR>
Disclaimer:This email and any attachments are sent in strictest confidence for the sole use of the addressee and may contain legally privileged, confidential, and proprietary data.  If you are not the intended recipient, please advise the sender by replying promptly to this email and then delete and destroy this email and any attachments without any further use, copying or forwarding<BR>
</body>
</html>