Revision history [back]

click to hide/show revision 1
initial version

VMwareESXDriver & nova.conf in Havana

Hello everyone, I report a very similar issue to another post: https://ask.openstack.org/en/question/2040/libvirt-to-esx-vmware-hypervisor/ But this question did not find any answer.

I want to use my ESXI hypervisor through Openstack. Thus, I decided to use the VMwareESXDriver. This is my nova.conf file:

[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadmsudo apt-get install python-suds
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
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

my_ip=192.168.0.11
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=192.168.0.11
glance_host=controller

#vmware conf
compute_driver=vmwareapi.VMwareESXDriver

# nova-network conf
network_manager=nova.network.manager.FlatDHCPManager
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
network_size=254
allow_same_net_traffic=False
multi_host=True
send_arp_for_ha=True
share_dhcp_address=True
force_dhcp_release=True
flat_network_bridge=br100
flat_interface=eth0
public_interface=eth0

#Rabbitmq conf
rpc_backend = nova.openstack.common.rpc.impl_kombu
rabbit_host = controller
rabbit_password = svc

[database]
# The SQLAlchemy connection string used to connect to the database
connection = mysql://nova:nova@controller/nova

[vmware]
host_ip=%IP%
host_username=root
host_password=%password%
wsdl_location=http://127.0.0.1:8080/vmware/SDK/vsphere-ws/wsdl/vim25/vimService.wsdl

In Vsphere Client, I have created a Group port br100 linked to my vmnic0 physical interface (Internet access with DHCP server). What surprises me is that in nova-* files located in /var/log/nova, I can't grep "vmware*" but "libvirt", which makes me think that nova-compute is trying to use the libvirt driver and not the vmwareESX one.

If you need logs, please tell me, and also indicate how to share them simply.

Thanks beforehand for your consideration.