<br><br><div class="gmail_quote">On Tue, May 1, 2012 at 12:00 PM, Salman Malik <span dir="ltr"><<a href="mailto:salmanmk@live.com" target="_blank">salmanmk@live.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">
<font style="font-size:10pt" color="#366092" face="Tahoma" size="2">Hi,<br><br>Here is the error log: <a href="http://pastebin.com/KrNZDrvD" target="_blank">http://pastebin.com/KrNZDrvD</a><br>and nova.conf: <a href="http://pastebin.com/Fvd6dSZs" target="_blank">http://pastebin.com/Fvd6dSZs</a><br>

<br>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.<br><br>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). <br>

</font></div></div></blockquote><div><br></div><div>I would first try this out with something like the OVS plugin (which incidentally uses OpenFlow as wel).  This is a pretty commonly used configuration, and will help determine if the problem is in your configuration, or the Ryu plugin in particular. </div>

<div><br></div><div>I would also try and see if dnsmasq is actually getting the request and sending a reply.  You should be able to tcpdump on the linux device that dnsmasq is bound to (should start with gw-*).  Alternately, you could look in /var/log/syslog (i think?) to see if dnsmasq if logging that is correctly receiving the DHCP requests. </div>

<div><br></div><div>Dan</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><font style="font-size:10pt" color="#366092" face="Tahoma" size="2"><br>

Any ideas?<br><br>Thanks,<br>Salman<br></font><br><br><div><div></div><hr>Date: Tue, 1 May 2012 20:43:44 +0200<div class="im"><br>Subject: Re: [Openstack] Instance IP assignment problem<br>From: <a href="mailto:jorge.delacruz@stackops.com" target="_blank">jorge.delacruz@stackops.com</a><br>

</div>To: <a href="mailto:emilien.openstack@gmail.com" target="_blank">emilien.openstack@gmail.com</a><br>CC: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>; <a href="mailto:salmanmk@live.com" target="_blank">salmanmk@live.com</a><div>

<div class="h5"><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>
<div>El 01/05/2012 20:39, "Emilien Macchi" <<a href="mailto:emilien.openstack@gmail.com" target="_blank">emilien.openstack@gmail.com</a>> escribió:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<u></u>


  
  

<div>
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 :
<blockquote>
    <font color="#366092">Hi Jorge,</font><br>
    <br>
    <font color="#366092">Thanks for looking into the post.</font><br>
    <font 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.</font><br>



    <br>
    <font color="#366092">Thanks,</font><br>
    <font color="#366092">Salman</font><br>
    <br>
    <font color="#366092">PS: Error log of a launched instance is also attached.</font><br>
    <br>
    <br>
</blockquote>
<blockquote>
    <br>
</blockquote>
<blockquote>
    
<hr align="center">
<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" target="_blank">jorge.delacruz@stackops.com</a><br>
    To: <a href="mailto:salmanmk@live.com" target="_blank">salmanmk@live.com</a><br>
    CC: <a href="mailto:openstack@lists.launchpad.net" target="_blank">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
</blockquote>
<blockquote>
    El 01/05/2012 18:56, "Salman Malik" <<a href="mailto:salmanmk@live.com" target="_blank">salmanmk@live.com</a>> escribió:
</blockquote>
<blockquote>
    <blockquote>
        <font color="#366092">Hi Guys,</font><br>
        <br>
        <font color="#366092">Can anyone provide any insight to the following question:</font><br>
        <font color="#366092"><a href="https://answers.launchpad.net/nova/+question/195439" target="_blank">https://answers.launchpad.net/nova/+question/195439</a></font><br>
        <br>
        <font color="#366092">Thanks,</font><br>
        <font color="#366092">Salman</font><br>
        <br>
    </blockquote>
</blockquote>
<blockquote>
    <blockquote>
        <br>
        _______________________________________________<br>
        Mailing list: <a href="https://launchpad.net/%7Eopenstack" 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/%7Eopenstack" 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>
    </blockquote>
</blockquote>
<blockquote>
<pre>_______________________________________________
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a>
</pre>
</blockquote>
<br>
</div>

</blockquote></div></div></div></div>                                       </div></div>
<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">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></blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>