Ask Your Question
1

Libvirt to ESX (Vmware Hypervisor)

asked 2013-06-11 23:42:41 -0500

anonymous user

Anonymous

updated 2013-06-12 06:07:14 -0500

fifieldt gravatar image

I am trying to change the Hypervisor of VM created on Open stack. For this I am using "http://docs.openstack.org/grizzly/openstack-compute/admin/content/vmware.html" guide.

After making changes to nova.conf it is still not deployed on ESX host.

Steps followed by me: 1) installed tomcat6 2) downloaded SDK from http://www.vmware.com/support/developer/vc-sdk/ and placed to "/var/lib/tomcat6/webapps/vmware/SDK/vsphere-ws/wsdl/vim25" 3) Made entries in nova.conf vmwareapi_host_ip=192.168.2.200 vmwareapi_host_username=root vmwareapi_host_password=something vmwareapi_wsdl_loc=http://127.0.0.1:8080/vmware/SDK/vsphere-ws/wsdl/vim25/vimService.wsdl

Then I tried deploying a VM , but could not see anything on ESX host by vsphere client , ie its not hosted on ESX.

Have I missed any step? As I haven't removed anything from nova.conf regarding libvert but add few lines for vmware only.

These are my nova.conf entries. Now I can not Launch an Instance. Getting status as error and no logs for it. (May be I don't no where should I look for logs)

ess@vsmDevVM-00-0:/etc/nova$ more nova.conf

[DEFAULT]
firewall_driver = nova.virt.libvirt.firewall.IptablesFirewallDriver
compute_driver=vmwareapi.VMwareESXDriver
vmwareapi_host_ip=192.168.2.200
vmwareapi_host_username=root
vmwareapi_host_password=something
vmwareapi_wsdl_loc=http://127.0.0.1:8080/vmware/SDK/vsphere-ws/wsdl/vim25
/vimService.wsdl

flat_interface = eth0
flat_network_bridge = br100
vlan_interface = eth0
public_interface = br100
network_manager = nova.network.manager.FlatDHCPManager
glance_api_servers = 192.168.10.100:9292
 rabbit_password = vmware
rabbit_host = localhost
rpc_backend = nova.openstack.common.rpc.impl_kombu
ec2_dmz_host = 192.168.10.100
vncserver_proxyclient_address = 127.0.0.1
vncserver_listen = 127.0.0.1
vnc_enabled = true
 xvpvncproxy_base_url = http://192.168.10.100:6081/console
novncproxy_base_url = http://192.168.10.100:6080/vnc_auto.html
 logging_exception_prefix = %(color)s%(asctime)s.%(msecs)03d TRACE %(name)s 
%(instance)s
logging_debug_format_suffix = from (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d
logging_default_format_string = %(asctime)s.%(msecs)03d %(color)s%(levelname)s %(name)s [-%(color)s] %(instance)s%(color)s%(message)s
 logging_context_format_string = %(asctime)s.%(msecs)03d %(color)s%(levelname)s %(name)s [%(request_id)s %(user_name)s %(project_name)s%(color)s] %(i
nstance)s%(color)s%(message)s

instances_path = /opt/stack/data/nova/instances
lock_path = /opt/stack/data/nova
state_path = /opt/stack/data/nova
volume_api_class = nova.volume.cinder.API
enabled_apis = ec2,osapi_compute,metadata
instance_name_template = instance-%08x
libvirt_cpu_mode = none
sql_connection = mysql://root:vmware@localhost/nova?charset=utf8
my_ip = 192.168.10.100
osapi_compute_extension = nova.api.openstack.compute.contrib.standard_extensions
s3_port = 3333
s3_host = 192.168.10.100
default_floating_pool = public

fixed_range = 
force_dhcp_release = True
dhcpbridge_flagfile = /etc/nova/nova.conf
compute_scheduler_driver = nova.scheduler.filter_scheduler.FilterScheduler
rootwrap_config = /etc/nova/rootwrap.conf
 api_paste_config = /etc/nova/api-paste.ini
allow_resize_to_same_host = True
auth_strategy = keystone
debug = True
verbose = True

[osapi_v3]
enabled = True

[spice]
enabled = false
html5proxy_base_url = http://192.168.10.100:6082/spice_auto.html

Please Help!! Thanks in advance.

edit retag flag offensive close merge delete

Comments

Information on how to find logs is here: http://docs.openstack.org/trunk/openstack-ops/content/logging_monitoring.html in the OpenStack Operations Guide. Please provide some logs so we can see what is happening.

fifieldt gravatar imagefifieldt ( 2013-06-12 06:10:02 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-07-08 19:03:45 -0500

badkarma gravatar image

Did you create a port group on your ESX host that matches your integration_bridge setting?

For example I have a port group on my ESX host named br-int and integration_bridge=br-int in nova.conf

I can get them to kick off, but no getting no dhcp address...fun fun fun.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-06-11 23:42:41 -0500

Seen: 1,224 times

Last updated: Jul 08 '13