← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1192494] Re: vmware http version not supported

 

nova 2011.2 is really old and no longer supported.  Please give grizzly
(2013.1) a try.  Thanks.

** Tags added: vmware

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1192494

Title:
  vmware http  version not  supported

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  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_readme.html.  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/microsites/search.do?language=en_US&cmd=displayKC&externalId=1023990).
  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.host, *args, **kwargs)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/compute/manager.py", line 127, in __init__
  (nova): TRACE:     utils.import_object(compute_driver),
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/utils.py", line 76, in import_object
  (nova): TRACE:     return cls()
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/connection.py", line 73, in get_connection
  (nova): TRACE:     conn = vmwareapi_conn.get_connection(read_only)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 105, in get_connection
  (nova): TRACE:     api_retry_count)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 115, in __init__
  (nova): TRACE:     api_retry_count, scheme=scheme)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 209, in __init__
  (nova): TRACE:     self._create_session()
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 246, in _create_session
  (nova): TRACE:     raise exception.Error(excep)
  (nova): TRACE: Error: <urlopen error [Errno 111] ECONNREFUSED>
  (nova): TRACE: 
  2011-09-22 12:35:45,085 CRITICAL nova [-] <urlopen error [Errno 111] ECONNREFUSED>
  (nova): TRACE: Traceback (most recent call last):
  (nova): TRACE:   File "/opt/openStack/bin/nova-compute", line 48, in <module>
  (nova): TRACE:     service.serve()
  (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.host, *args, **kwargs)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/compute/manager.py", line 127, in __init__
  (nova): TRACE:     utils.import_object(compute_driver),
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/utils.py", line 76, in import_object
  (nova): TRACE:     return cls()
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/connection.py", line 73, in get_connection
  (nova): TRACE:     conn = vmwareapi_conn.get_connection(read_only)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 105, in get_connection
  (nova): TRACE:     api_retry_count)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 115, in __init__
  (nova): TRACE:     api_retry_count, scheme=scheme)
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 209, in __init__
  (nova): TRACE:     self._create_session()
  (nova): TRACE:   File "/opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py", line 246, in _create_session
  (nova): TRACE:     raise exception.Error(excep)
  (nova): TRACE: Error: <urlopen error [Errno 111] ECONNREFUSED>
  (nova): TRACE: 
  2011-09-22 12:35:45,110 DEBUG nova.virt.vmwareapi_conn [-] 'NoneType' object has no attribute 'Logout' from (pid=30281) __del__ /opt/openStack/lib/python2.6/site-packages/nova/virt/vmwareapi_conn.py:257

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1192494/+subscriptions