Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Connect esxi server to openstack

Hi everyone, I connect my esxi server to openstack and it is visible as a hyper-visor in openstack dashboard.

when I want to create a new instances in this hyper-visor, system show this error:

"Error: Failed to perform requested operation on instance "t3", the instance has an error status: Please try again later [Error: No valid host was found. There are not enough hosts available.]. "

my nova.conf content is:

[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
libvirt_use_virtio_for_bridges=True
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
enabled_apis=ec2,osapi_compute,metadata


rpc_backend = rabbit
auth_strategy = keystone
my_ip = 172.16.108.5
use_neutron = True
firewall_driver = nova.virt.firewall.NoopFirewallDriver

compute_driver = vmwareapi.VMwareVCDriver   

[database]
#connection=sqlite:////var/lib/nova/nova.sqlite
connection = mysql+pymysql://nova:123456789@controller/nova


[api_database]
#connection=sqlite:////var/lib/nova/nova.sqlite
connection = mysql+pymysql://nova:123456789@controller/nova

[oslo_messaging_rabbit]

rabbit_host = controller
rabbit_userid = openstack
rabbit_password = 123456789

[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = nova
password = 123456789

[vnc]

enabled = True
vncserver_listen = 0.0.0.0
vncserver_proxyclient_address = $my_ip
novncproxy_base_url = http://controller:6080/vnc_auto.html

[glance]

api_servers = http://controller:9292

[oslo_concurrency]

lock_path = /var/lib/nova/tmp

[neutron]

url = http://controller:9696
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = neutron
password = 123456789

[vmware]
host_ip = 172.16.108.7
host_username = administrator@vsphere.local
host_password = pass
cluster_name = openstack

thanks for your helpful comments.