[Openstack] Instances don't get an IP from DHCP (Quantum, OVS, multi-node computes)

Dan Wendlandt dan at nicira.com
Fri May 18 16:15:50 UTC 2012


discussion is being tracked here:
https://answers.launchpad.net/quantum/+question/197701

dan

On Fri, May 18, 2012 at 7:46 AM, Emilien Macchi <emilien.macchi at stackops.com
> wrote:

> Hi,
>
> Since 2 weeks, I've been looking for a solution with a Quantum + OVS issue.
>
> The situation :
>
> 2 servers :
>
> Essex-1 - Eth0 : 10.68.1.40 - ETH1 : connected to br-int OVS bridge
> -> Glance, Nova-*, Keystone, Horizon, Quantum-Server, KVM, OVS,
> Quantum-Agent
> -> nova.conf :
> https://github.com/EmilienM/doc-openstack/blob/master/Configuration%20Files/Essex-1/nova.conf
>
> Essex-2 - Eth0 : 10.68.1.45 - ETH1 : connected to br-int OVS bridge
> -> nova-compute, KVM, Quantum-Agent
> -> nova.conf :
> https://github.com/EmilienM/doc-openstack/blob/master/Configuration%20Files/Essex-1/nova.conf
>
> I've followed http://openvswitch.org/openstack/documentation/ and
> http://docs.openstack.org/trunk/openstack-network/admin/content/
>
> I've created th network with :
> nova-manage network create --label=mysql --fixed_range_v4=192.168.113.0/24--project_id=d2f0dc48a8944c6e96cb88c772376f06 --bridge=br-int
> --bridge_interface=eth1
>
> What's not working :
> -> When I create an instance from dashboard, the VM does not get an IP
> from DHCP server (hosted on ESSEX-1).
> You can see the logs here : http://paste.openstack.org/show/17997/
>
> What I did to investigate :
> -> dhcpdump -i br-int : I can see DHCPDISCOVER on both servers (without
> answers)
> -> ps -ef | grep dnsmasq :
> nobody 6564 1 0 14:12 ? 00:00:00 /usr/sbin/dnsmasq --strict-order
> --bind-interfaces --conf-file= --domain=novalocal
> --pid-file=/var/lib/nova/networks/nova-gw-0f427a46-3f.pid
> --listen-address=192.168.113.1 --except-interface=lo
> --dhcp-range=192.168.113.2,static,120s --dhcp-lease-max=256
> --dhcp-hostsfile=/var/lib/nova/networks/nova-gw-0f427a46-3f.conf
> --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro
> root 6565 6564 0 14:12 ? 00:00:00 /usr/sbin/dnsmasq --strict-order
> --bind-interfaces --conf-file= --domain=novalocal
> --pid-file=/var/lib/nova/networks/nova-gw-0f427a46-3f.pid
> --listen-address=192.168.113.1 --except-interface=lo
> --dhcp-range=192.168.113.2,static,120s --dhcp-lease-max=256
> --dhcp-hostsfile=/var/lib/nova/networks/nova-gw-0f427a46-3f.conf
> --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro
> root 16536 6192 0 14:40 pts/14 00:00:00 grep --color=auto dnsm
>
> Is my nova.conf correct ?
> What's wrong with my configuration ?
> Is there a problem with DNSMASQ ?
>
> I would apreciate any idea !
>
> Regards
>
> --
> Emilien Macchi
> *SysAdmin (Intern)*
> *www.stackops.com* | emilien.macchi at stackops.com** | skype:memilien69
> *
>
> *
>
> ******************** ADVERTENCIA LEGAL ********************
> Le informamos, como destinatario de este mensaje, que el correo
> electrónico y las comunicaciones por medio de Internet no permiten asegurar
> ni garantizar la confidencialidad de los mensajes transmitidos, así como
> tampoco su integridad o su correcta recepción, por lo que STACKOPS
> TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias.
> Si no consintiese en la utilización del correo electrónico o de las
> comunicaciones vía Internet le rogamos nos lo comunique y ponga en nuestro
> conocimiento de manera inmediata. Este mensaje va dirigido, de manera
> exclusiva, a su destinatario y contiene información confidencial y sujeta
> al secreto profesional, cuya divulgación no está permitida por la ley. En
> caso de haber recibido este mensaje por error, le rogamos que, de forma
> inmediata, nos lo comunique mediante correo electrónico remitido a nuestra
> atención y proceda a su eliminación, así como a la de cualquier documento
> adjunto al mismo. Asimismo, le comunicamos que la distribución, copia o
> utilización de este mensaje, o de cualquier documento adjunto al mismo,
> cualquiera que fuera su finalidad, están prohibidas por la ley.
>
> ***************** PRIVILEGED AND CONFIDENTIAL ****************
> We hereby inform you, as addressee of this message, that e-mail and
> Internet do not guarantee the confidentiality, nor the completeness or
> proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L.
> does not assume any liability for those circumstances. Should you not agree
> to the use of e-mail or to communications via Internet, you are kindly
> requested to notify us immediately. This message is intended exclusively
> for the person to whom it is addressed and contains privileged and
> confidential information protected from disclosure by law. If you are not
> the addressee indicated in this message, you should immediately delete it
> and any attachments and notify the sender by reply e-mail. In such case,
> you are hereby notified that any dissemination, distribution, copying or
> use of this message or any attachments, for any purpose, is strictly
> prohibited by law.
>
>
> _______________________________________________
> 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/20120518/146a91d9/attachment.html>


More information about the Openstack mailing list