Compute VMWare ESXi 4.1 connection refused [closed]
Hello,
I am new to OpenStack and am having a little trouble getting it to work with ESXi 4.1.
I'm running nova 2011.2 on RHEL 5 (which I realize isn't supported). However, I have everything (more or less up and working) with qemu. This RHEL image is running all of the nova apps (api, scheduler, objectstore, volume, network, compute) glance, and rabbitmq.
I'm now switching over to a VMware ESXi 4.1.0 build-260247 machine (IP address 172.20.11.11) and having trouble getting nova-compute to create a connection to the ESXi host. I have followed the instructions at http://nova.openstack.org/vmwareapi_r.... I can say for sure that my ESXi host does not have the vmware-webAccess service on it at all (I thought I just needed to enable it). From what I gather web access is not supported on ESXi 4.1 (http://kb.vmware.com/selfservice/micr...). I looked at the url being used in vim.py and it returns "https://172.20.11.11/sdk". This url is not accessible on the ESXi host. I can only access https://172.20.11.11 and then that url + /mob and /folder?dcPath=ha-datacenter. I am hosting the wsdl on a separate machine as can be seen from the nova-compute.log output. I'm sure I'm just missing something. Any help identifying said missing config is much appreciated! Thanks in advance!
nova.conf file:
--daemonize=1
--dhcpbridge_flagfile=/etc/nova/nova.conf
--dhcpbridge=/opt/openStack/bin/nova-dhcpbridge
--lock_path=/tmp
--logdir=/var/log/nova
--state_path=/var/lib/nova
--verbose
--network_manager=nova.network.manager.FlatManager
--sql_connection=mysql://root:password@127.0.0.1/nova
--rabbit_host=127.0.0.1
--ec2_host=127.0.0.1
--image_service=nova.image.glance.GlanceImageService
--glance_api_servers=127.0.0.1:9292
--glance_host=127.0.0.1
--glance_port=9292
--use_s3=false
--connection_type=vmwareapi
--vmwareapi_host_ip=172.20.11.11
--vmwareapi_host_username=root
--vmwareapi_host_password=password
--vmwareapi_wsdl_loc=http://172.20.3.71:8080/vimService.wsdl
--console_manager=nova.console.vmrc_manager.ConsoleVMRCManager
nova-compute.log:
2011-09-22 12:35:45,074 DEBUG suds.wsdl [-] reading wsdl at: http://172.20.3.71:8080/vimService.wsdl ... from (pid=30281) __init__ build/bdist.linux-x86_64/egg/suds/wsdl.py:134
2011-09-22 12:35:45,074 DEBUG suds.transport.http [-] opening (http://172.20.3.71:8080/vimService.wsdl) from (pid=30281) open build/bdist.linux-x86_64/egg/suds/transport/http.py:59
2011-09-22 12:35:45,077 CRITICAL nova.virt.vmwareapi_conn [-] In vmwareapi:_create_session, got this exception: <urlopen error [Errno 111] ECONNREFUSED>
2011-09-22 12:35:45,078 ERROR nova [-] in Service.create()
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/opt/openStack/lib/python2.6/site-packages/nova/service.py", line 270, in serve
(nova): TRACE: services = [Service.create()]
(nova): TRACE: File "/opt/openStack/lib/python2.6/site-packages/nova/service.py", line 173, in create
(nova): TRACE: report_interval, periodic_interval)
(nova): TRACE: File "/opt/openStack/lib/python2.6/site-packages/nova/service.py", line 73, in __init__
(nova): TRACE: self.manager = manager_class(host=self ...