[Openstack] Instance IP assignment problem

Dan Wendlandt dan at nicira.com
Tue May 1 21:40:58 UTC 2012


On Tue, May 1, 2012 at 12:00 PM, Salman Malik <salmanmk at live.com> wrote:

>  Hi,
>
> Here is the error log: http://pastebin.com/KrNZDrvD
> and nova.conf: http://pastebin.com/Fvd6dSZs
>
> 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.
>
> 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).
>

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.

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.

Dan



>
> Any ideas?
>
> Thanks,
> Salman
>
>
> ------------------------------
> Date: Tue, 1 May 2012 20:43:44 +0200
>
> Subject: Re: [Openstack] Instance IP assignment problem
> From: jorge.delacruz at stackops.com
> To: emilien.openstack at gmail.com
> CC: openstack at lists.launchpad.net; salmanmk at live.com
>
>
> Hi Emilien and Salman,
> Please, could you upload all the files, errors and conf in pastebin or
> something like that?
> I have troubles to open in phone :)
> Thank you
> El 01/05/2012 20:39, "Emilien Macchi" <emilien.openstack at gmail.com>
> escribió:
>
> **
> Hi,
>
>
> I have a similar problem when I create a network per project_id with
> Quantum.
>
>
> My VMs don't get IP and I can't understand why today.
>
> But when I create a private network for all projects, VMs get an IP and
> all is working well.
> Do you have the same problem ?
>
>
> Salman, I'm interesting about your nova.conf. I can see you are using Ryu ?
> Can you tell me more about your "use case" or architecture ?
>
>
> Thanks
>
>
> Le mardi 01 mai 2012 à 12:28 -0500, Salman Malik a écrit :
>
> Hi Jorge,
>
> Thanks for looking into the post.
> 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.
>
> Thanks,
> Salman
>
> PS: Error log of a launched instance is also attached.
>
>
>
>  ------------------------------
>
> Date: Tue, 1 May 2012 19:03:49 +0200
> Subject: Re: [Openstack] Instance IP assignment problem
> From: jorge.delacruz at stackops.com
> To: salmanmk at live.com
> CC: openstack at lists.launchpad.net
>
> Im not really sure but you are using range for your environment 10.0.3.x
> and 10.0.0.x for fixed.
> Can you attach a nova network conf?
> Regards
>
>  El 01/05/2012 18:56, "Salman Malik" <salmanmk at live.com> escribió:
>
>  Hi Guys,
>
> Can anyone provide any insight to the following question:
> https://answers.launchpad.net/nova/+question/195439
>
> Thanks,
> Salman
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>   _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120501/5ce30950/attachment.html>


More information about the Openstack mailing list