← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1252400] Re: VMware: propSet KeyError: 'summary.accessible'

 

** Changed in: nova
       Status: Fix Committed => Fix Released

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

Title:
  VMware: propSet KeyError: 'summary.accessible'

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The propset key 'summary.accessible' is not always present in
  property-sets. Use .get('summary.accessible') instead of
  ['summary.accessible']

  
  2013-11-18 09:28:02.501 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
  2013-11-18 09:28:06.571 ERROR nova.openstack.common.periodic_task [-] Error during ComputeManager.update_available_resource: 'summary.accessible'
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task Traceback (most recent call last):
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/openstack/common/periodic_task.py", line 180, in run_periodic_tasks
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     task(self, context)
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/compute/manager.py", line 4854, in update_available_resource
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     rt.update_available_resource(context)
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/openstack/common/lockutils.py", line 246, in inner
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     return f(*args, **kwargs)
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/compute/resource_tracker.py", line 274, in update_available_resource
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     resources = self.driver.get_available_resource(self.nodename)
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/virt/vmwareapi/driver.py", line 578, in get_available_resource
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     host_stats = vc_state.get_host_stats(refresh=True)
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/virt/vmwareapi/host.py", line 162, in get_host_stats
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     self.update_status()
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/virt/vmwareapi/host.py", line 170, in update_status
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     self._cluster)
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/virt/vmwareapi/vm_util.py", line 885, in get_datastore_ref_and_name
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     results = _get_datastore_ref_and_name(data_stores, datastore_regex)
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task   File "/opt/stack/nova/nova/virt/vmwareapi/vm_util.py", line 846, in _get_datastore_ref_and_name
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task     propset_dict['summary.accessible']):
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task KeyError: 'summary.accessible'
  2013-11-18 09:28:06.571 TRACE nova.openstack.common.periodic_task

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