nova-network, vmware ESX, Openstack Icehouse: Instance unable to get IP

asked 2014-09-16 04:19:43 -0500

sirisha gravatar image

Hi All,

I have ESX5.5 host and I want to manage the ESX host using openstack(icehouse).

I have configured nova-network service to provide networking for the VMs, used vmwareESXDriver as compute driver.

All the required brdiges br169, vlan169, portgroup on ESX host with name br169 are gettign created but VM is unable to get IP address.

My nova.conf is as follows:

[DEFAULT]
notification_driver=ceilometer.compute.nova_notifier
notification_driver=nova.openstack.common.notifier.rpc_notifier
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
bridge_interface=eth0
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
dhcp_lease_time=604800
fixed_ip_disassociate_timeout=1209600
iscsi_helper=tgtadm
public_interface=vlan159
connection_type=vmware
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
debug=True
log_dir=/var/log/nova
amqp_durable_queues=False
vncserver_proxyclient_address=10.233.52.212
rabbit_hosts=10.233.52.212:5672
notify_api_faults=False
rabbit_use_ssl=False
notification_driver=
s3_listen=0.0.0.0
glance_api_servers=10.233.52.212:9292
novncproxy_host=10.233.52.212
rabbit_userid=openstack_rabbit_user
rabbit_ha_queues=False
rabbit_password=******
report_interval=10
rabbit_host=10.233.52.212
vnc_enabled=True
rabbit_virtual_host=/
image_service=nova.image.glance.GlanceImageService
novncproxy_port=6080
rabbit_port=5672
vif_plugging_is_fatal=True
novncproxy_base_url=http://10.233.52.212:6080/vnc_auto.html
service_down_time=60
vncserver_listen=0.0.0.0
notification_topics=notifications
osapi_compute_listen=0.0.0.0
ec2_listen=0.0.0.0
volume_api_class=nova.volume.cinder.API
use_forwarded_for=False
osapi_volume_listen=0.0.0.0
metadata_listen=0.0.0.0
auth_strategy=keystone
compute_driver=vmwareapi.VMwareESXDriver
osapi_compute_workers=1
rootwrap_config=/etc/nova/rootwrap.conf
rpc_backend=nova.openstack.common.rpc.impl_kombu
vif_plugging_timeout=300
rpc_backend=nova.openstack.common.rpc.impl_kombu
vif_plugging_timeout=300
use_syslog=False
metadata_workers=1
force_config_drive=True
allow_resize_to_same_host=True
resize_confirm_window=0
network_manager=nova.network.manager.VlanManager
network_size=256
fixed_range=172.16.0.0/12
auto_assign_floating_ip=True

[database]
idle_timeout=3600
connection=mysql://nova:*******@10.233.52.212/nova

[keystone_authtoken]
auth_port=35357
admin_password=*****
admin_user=nova
auth_protocol=http
auth_host=10.233.52.212
admin_tenant_name=services
auth_uri=http://10.233.52.212:5000/

[conductor]
workers=1

[vmware]
host_ip=10.233.52.201
host_username=root
host_password=******
wsdl_location=http://10.233.52.212:8081/vmware/SDK//vsphere-ws/wsdl/vim25/vimService.wsdl
vlan_interface=vmnic0
vif_driver=nova.virt.vmwareapi.vif.VMWareVlanBridgeDriver

Could anyone please suggest where am going wrong.

I don't want to use neutron, VCenter driver.

edit retag flag offensive close merge delete

Comments

Do you see an error message in the console-log for the instance? Find the instance ID and then :

nova console-log {uuid}

Putting in comments because I'm not sure if this feature works with VMware or not, but it should give us output of the error if it does.

mpetason gravatar imagempetason ( 2014-09-16 13:00:42 -0500 )edit

console-log feature is not working with vmware, getting "functionality not implemented (HTTP 501)" error. But when I checked the VM console using vsphere client while the instance is spawning, its failing to get network configuration. Seems unable to get IP from dhcp.

sirisha gravatar imagesirisha ( 2014-09-17 00:08:35 -0500 )edit

dnsmaq services are running fine on nova-network node.

sirisha gravatar imagesirisha ( 2014-09-17 00:09:07 -0500 )edit