← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1337236] Re: vmware: nova-compute will not start if some instance relying datastore not available

 

** Also affects: openstack-vmwareapi-team
   Importance: Undecided
       Status: New

-- 
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/1337236

Title:
  vmware: nova-compute will not start if some instance relying datastore
  not available

Status in OpenStack Compute (Nova):
  In Progress
Status in The OpenStack VMwareAPI subTeam:
  New

Bug description:
  First use vcenter driver to spawn some instances to one of the
  datastores that esxi is binding to.  Later this datastore became
  unavailable due to certain reason(power off or network problem).  Then
  when restart nova-compute, found that compute service will exist with
  errors.  This will openstack compute not usable.

  2014-07-03 01:38:13.961 3634 DEBUG nova.compute.manager [req-11bc0618-8696-464d-8820-7565db8f44c3 None None] [instance: 9428cf95-5
  37f-48f6-b79e-faa981f6066d] NV-AC7AA80 Checking state _get_power_state /usr/lib/python2.6/site-packages/nova/compute/manager.py:10
  54
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/eventlet/hubs/poll.py", line 97, in wait
      readers.get(fileno, noop).cb(fileno)
    File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 194, in main
      result = function(*args, **kwargs)
    File "/usr/lib/python2.6/site-packages/nova/openstack/common/service.py", line 480, in run_service
      service.start()
    File "/usr/lib/python2.6/site-packages/nova/service.py", line 180, in start
      self.manager.init_host()
    File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1037, in init_host
      self._init_instance(context, instance)
    File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 865, in _init_instance
      try_reboot, reboot_type = self._retry_reboot(context, instance)
    File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 963, in _retry_reboot
      current_power_state = self._get_power_state(context, instance)
    File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1056, in _get_power_state
      return self.driver.get_info(instance)["state"]
    File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/driver.py", line 862, in get_info
      return _vmops.get_info(instance)
    File "/usr/lib/python2.6/site-packages/nova/virt/vmwareapi/vmops.py", line 1376, in get_info
      max_mem = int(query['summary.config.memorySizeMB']) * 1024
  KeyError: 'summary.config.memorySizeMB'

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


References