← Back to team overview

openstack team mailing list archive

Re: Instance IP assignment problem

 

can you find dhcp requests by using tcpdump for example ?

sorry for "off-topic" but there may be many reasons of such issue with
dhcp. last one for me was old dhcp client(Ubuntu) and udp checksum error. I
have essex on centos and was trying ubuntu vm.

On Thu, May 3, 2012 at 12:48 PM, Emilien Macchi <emilien.openstack@xxxxxxxxx
> wrote:

> **
> All seems alright but not working yet.
>
>
> http://paste.openstack.org/show/14791/
>
>
>
> I have executed on both servers :
>
> ovs-vsctl add-port br-int eth1
>
>
> Need I do something else ?
>
> How the DHCP is working in this case ?
>
>
>
>
>
>
> Le jeudi 03 mai 2012 à 09:29 +0100, Bilel Msekni a écrit :
>
> Then the problem isn't in the instance but in the nova-network service ,
> please check if it is working well
>
>  as well as give us the output log when you attempt to create a new
> instance.
>
>
>  ------------------------------
>
> Subject: RE: [Openstack] Instance IP assignment problem
> From: emilien.openstack@xxxxxxxxx
> To: skible@xxxxxxxxxx
> CC: salmanmk@xxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx
> Date: Thu, 3 May 2012 10:21:37 +0200
>
> Fixed IP
>
>
>
> Le jeudi 03 mai 2012 à 09:15 +0100, Bilel Msekni a écrit :
>
> Fixed IP or Floating IP ?
>
>
> ------------------------------
>
>
> From: emilien.openstack@xxxxxxxxx
> To: salmanmk@xxxxxxxx
> Date: Thu, 3 May 2012 09:55:31 +0200
> CC: openstack@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Openstack] Instance IP assignment problem
>
> Hi,
>
>
> As I told you, I have also a problem for instance IP assignement.
>
>
> *My architecture :*
>
> I use *Quantum* with *OVS plugin* on 2 servers Essex-1 & Essex-2. Essex-1
> runs all services and Essex-2 runs OVS, Quantum-agent & nova-compute only.
>
> You can see more details here<https://github.com/EmilienM/doc-openstack/blob/master/Documentation/How%20to%20setup%20OpenStack%20Essex.pdf>
> .
>
> My configurations files are here<https://github.com/EmilienM/doc-openstack/tree/master/Configuration%20Files>and in my documentation.
>
>
>
> *Problem Description :*
>
> When an instance is created in ESSEX-1, all is working (network).
>
> But when the VM is started on ESSEX-2, it does not get an IP address. (log
> file <http://paste.openstack.org/show/14775/>)
>
> I'm sure the problem comes from OVS connection with ESSEX-1.
>
>
> Do I need to configure something like a trunk or a tunnel between Essex-1
> & Essex-2 ?
>
> I miss something in my configuration, if you have any idea...
>
>
> Regards
>
>
> Emilien
>
>
> Le mardi 01 mai 2012 à 14:35 -0500, Salman Malik a écrit :
>
> 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.
> Netstack developers can give a definitive answer to this, but it would be
> interesting to learn what goes wrong with a launched instance.
>
> Salman
>
>
>
> ------------------------------
>
>
>
> Subject: RE: [Openstack] Instance IP assignment problem
> From: emilien.openstack@xxxxxxxxx
> To: salmanmk@xxxxxxxx
> CC: jorge.delacruz@xxxxxxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx
> Date: Tue, 1 May 2012 21:26:26 +0200
>
> Le mardi 01 mai 2012 à 14:22 -0500, Salman Malik a écrit :
>
> 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.
> 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.
>
>  Here my nova.conf and I don't have any interfering DHCP server :
>
>
> https://github.com/EmilienM/doc-openstack/blob/master/Configuration%20Files/Essex-1/nova.conf
>
>
> Thanks
>
>  Salman
>
>
>
> ------------------------------
>
>
>
>
> Subject: RE: [Openstack] Instance IP assignment problem
> From: emilien.openstack@xxxxxxxxx
> To: salmanmk@xxxxxxxx
> CC: jorge.delacruz@xxxxxxxxxxxx; openstack@xxxxxxxxxxxxxxxxxxx
> Date: Tue, 1 May 2012 21:06:01 +0200
>
> Hi Salman,
>
>
> 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 ?
>
>
> What do you think about my problem (follow up to my last e-mail) ?
>
>
> Thanks
>
>
> Emilien
>
> Le mardi 01 mai 2012 à 14:00 -0500, Salman Malik a écrit :
>
> 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).
>
> Any ideas?
>
> Thanks,
> Salman
>
>
>
> ------------------------------
>
>
>
>
>
> Date: Tue, 1 May 2012 20:43:44 +0200
> Subject: Re: [Openstack] Instance IP assignment problem
> From: jorge.delacruz@xxxxxxxxxxxx
> To: emilien.openstack@xxxxxxxxx
> CC: openstack@xxxxxxxxxxxxxxxxxxx; salmanmk@xxxxxxxx
>
> 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@xxxxxxxxx>
> 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@xxxxxxxxxxxx
> To: salmanmk@xxxxxxxx
> CC: openstack@xxxxxxxxxxxxxxxxxxx
>
> 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@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>  _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
>
>
>
>
>
>
> _______________________________________________ Mailing list:
> https://launchpad.net/~openstack Post to : openstack@lists.launchpad.netUnsubscribe :
> https://launchpad.net/~openstack More help :
> https://help.launchpad.net/ListHelp
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References