[openstack-dev] Instances running on VMware ESXi unable to get ip by dhcp

Dan Wendlandt dan at nicira.com
Wed Oct 2 06:59:27 UTC 2013


Based on your previous emails to the list, it seems like you do not have
quantum/neutron configured.  If so, it would not be a surprise that DHCP
requests are not getting through.  What vSphere compatible Neutron plugin
are you using, and have you tested to make sure basic L2 connectivity
exists?  If it does, you should be able to manually configure IPs on two
VMs on the same network and have them ping each other.

Dan


On Tue, Oct 1, 2013 at 4:03 PM, openstack learner <openstackleaner at gmail.com
> wrote:

> Hi all,
>
> I read a similar topic was discussed before but it seems like no specific
> and clear solution is provided in that discussion, anyone has the same
> issue before and already solved it?
>
>
> According to the vmware vsphere networking instruction, I create a port
> group with the same name as the 'vmware.integration_bridge' value in
> nova.conf (which is 'br-int'). And all VM NICs are now successfully
> attached to this port group when I boot VMs.  When booting the new VMs, I
> am using the default private network *private-subnet* 10.0.0.0/24, so
> from horizon I can see ips such as 10.0.0.3 and 10.0.0.4 are assigned to
> the VMs. However, when I do a "ifconfig" on the VMs, I find actually the
> instances do not get the ip(10.0.0.3/10.0.0.4) by dhcp. I check the
> screen log and it looks like the q-dhcp is working.  Anyone knows what
> cause this issue?  Is there any further configuration I should do to make
> the dhcp succeed?  I also tried using the nova-network(using port group
> "br100") before and having the same issue.
>
>
> *q-dhcp log:*
>
> 2013-09-30 23:42:41.685 2626 DEBUG neutron.openstack.common.rpc.
> amqp [-] UNIQUE_ID is 10770fac52e147beb373fca9dcd1de40. _add_unique_id
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:339
> 2013-09-30 23:42:41.688 2626 DEBUG amqp [-] Closed channel #1 _do_close
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:88
> 2013-09-30 23:42:41.688 2626 DEBUG amqp [-] using channel_id: 1 __init__
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:70
> 2013-09-30 23:42:41.689 2626 DEBUG amqp [-] Channel open _open_ok
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:420
> 2013-09-30 23:42:45.685 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> Making asynchronous cast on q-plugin... cast
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:559
> 2013-09-30 23:42:45.685 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> UNIQUE_ID is 56eb7c5e7d78487aa2ee7121dbec0da4. _add_unique_id
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:339
> 2013-09-30 23:42:45.688 2626 DEBUG amqp [-] Closed channel #1 _do_close
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:88
> 2013-09-30 23:42:45.688 2626 DEBUG amqp [-] using channel_id: 1 __init__
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:70
> 2013-09-30 23:42:45.689 2626 DEBUG amqp [-] Channel open _open_ok
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:420
> 2013-09-30 23:42:49.688 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> Making asynchronous cast on q-plugin... cast
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:559
> 2013-09-30 23:42:49.689 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> UNIQUE_ID is 1151f4ac029f442b80f1f4af3049e870. _add_unique_id
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:339
> 2013-09-30 23:42:49.691 2626 DEBUG amqp [-] Closed channel #1 _do_close
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:88
> 2013-09-30 23:42:49.691 2626 DEBUG amqp [-] using channel_id: 1 __init__
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:70
> 2013-09-30 23:42:49.692 2626 DEBUG amqp [-] Channel open _open_ok
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:420
> 2013-09-30 23:42:53.688 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> Making asynchronous cast on q-plugin... cast
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:559
> 2013-09-30 23:42:53.689 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> UNIQUE_ID is 661853b84a2b4ddbaa45a4f007c169df. _add_unique_id
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:339
> 2013-09-30 23:42:53.691 2626 DEBUG amqp [-] Closed channel #1 _do_close
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:88
> 2013-09-30 23:42:53.691 2626 DEBUG amqp [-] using channel_id: 1 __init__
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:70
> 2013-09-30 23:42:53.692 2626 DEBUG amqp [-] Channel open _open_ok
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:420
> 2013-09-30 23:42:57.690 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> Making asynchronous cast on q-plugin... cast
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:559
> 2013-09-30 23:42:57.691 2626 DEBUG neutron.openstack.common.rpc.amqp [-]
> UNIQUE_ID is 59e6071e54c0401d9111cc7c0e35e9d1. _add_unique_id
> /opt/stack/neutron/neutron/openstack/common/rpc/amqp.py:339
> 2013-09-30 23:42:57.693 2626 DEBUG amqp [-] Closed channel #1 _do_close
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:88
> 2013-09-30 23:42:57.693 2626 DEBUG amqp [-] using channel_id: 1 __init__
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:70
> 2013-09-30 23:42:57.694 2626 DEBUG amqp [-] Channel open _open_ok
> /usr/local/lib/python2.7/dist-packages/amqp/channel.py:420
>
> Thanks a lot
>
> xin
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


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


More information about the OpenStack-dev mailing list