[Openstack] Instances running on VMware ESXi unable to get ip by dhcp

openstack learner openstackleaner at gmail.com
Tue Oct 1 23:03:28 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131001/7cdcf577/attachment.html>


More information about the Openstack mailing list