← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1245564] Re: datastore selection is incorrect if token is being used

 

** 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/1245564

Title:
  datastore selection is incorrect if token is being used

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

Bug description:
  If the number of datastores is greater than the maximum, the
  PropertyCollector returns a token value that should be used to iterate
  over the entire result set. The get_datastore_ref_and_name function in
  vm_util.py is aware of tokens but it stops on the first found
  datastore (line 942) instead searching for the best match over the
  entire set.

  We should improve get_datastore_ref_and_name to:
  1) clearly specify how the datastore is selected (the current pydoc is wrong)
  2) select the best match by iterating the whole result set

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