Permalink
Commits on Jul 21, 2017
  1. Merge "doc: Switch to openstackdocstheme"

    Jenkins committed with openstack-gerrit Jul 21, 2017
  2. Merge "Updated from global requirements"

    Jenkins committed with openstack-gerrit Jul 21, 2017
  3. Change default policy to view quota details

    Default policy for quota details was an admin only privilege
    but it was able to get used and reserved resource data via
    nova limits call even for non admin owners.
    
    Horizon worked around the issue by using the limits API instead of the
    os-quota-sets API. And this removes the need to workaround it and just
    use the single os-quota-sets API.
    
    This patch sets the quotas detail default policy to RULE_ADMIN_OR_OWNER.
    
    Change-Id: I65b9de24a1310079a67e033606eaf2dde796cd48
    Closes-Bug: #1618513
    amadev committed with melwitt Oct 13, 2016
  4. Updated from global requirements

    Change-Id: If04709a3b846575aea31543e102be52b82b2cd97
    OpenStack Proposal Bot committed Jul 21, 2017
  5. doc: Switch to openstackdocstheme

    Change-Id: If7afc2cb58759b16fc6f7caa44d0cf6b7bcf4d06
    Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
    chenxings committed with stephenfin Jun 27, 2017
  6. Don't cast cinderclient microversions to float

    Current python-cinderclient release has a MAX_VERSION of 3.40.
    This test mocks the result from getting the max server and
    client version to be whatever is MAX_VERSION, but it was casting
    it to a float, resulting in the max being evaluated at 3.4.
    
    float() can be removed so requests for versions greater than
    3.4 can pass.
    
    Change-Id: I399e2bd7763bc2240752aaa22dea8ff4ee580ab8
    Closes-bug: #1705681
    Sean McGinnis committed Jul 21, 2017
  7. Remove the unittest for plugin framework

    The extension/plugin mechanism is removed from the Nova API. This
    patch removed related unittest.
    
    Partial-implement-blueprint api-no-more-extensions-pike
    
    Change-Id: I1c5a1dccb08bd0b869cb206b247d6cb744e76163
    He Jie Xu committed Jul 19, 2017
  8. Use plain routes list for versions instead of stevedore

    This patch adds versions related routes by a plain list,
    instead of using stevedore.
    
    After all the Nova API endpoints moves to the plain routes list,
    the usage of stevedore for API loading will be removed from Nova
    
    To support the redirection from '' to '/', this patch also
    enables to put a target patch instead of a dict with supported
    methods in the ROUTE_LIST.
    
    Partial-implement-blueprint api-no-more-extensions-pike
    
    Change-Id: Iba340c5dd66cf9d006e2e8d3d0674b2140915014
    He Jie Xu committed Jul 19, 2017
Commits on Jul 20, 2017
  1. Remove improper LOG.exception() calls in placement

    The PUT /allocations Placement API handler was improperly calling
    LOG.exception() when two normal-operation events were occurring:
    
    1) When a concurrent attempt to allocate against the same resource
    providers had occurred
    
    2) When, due to another process consuming resources concurrently
    resulted in capacity being exceeded on one or more of the requested
    providers
    
    Neither of the above scenarios is a software error and so the
    LOG.exception() calls have been removed.
    
    Change-Id: I569b28313e52d979ac9be5bea88c021a0664d851
    Fixes-bug: #1705487
    jaypipes committed Jul 20, 2017
  2. Merge "VStorage: changed default log path"

    Jenkins committed with openstack-gerrit Jul 20, 2017
  3. Merge "Updated from global requirements"

    Jenkins committed with openstack-gerrit Jul 20, 2017
  4. Merge "Fix indentation in policy doc"

    Jenkins committed with openstack-gerrit Jul 20, 2017
  5. placement: alloc candidates only shared resources

    When attempting to perform a GET /allocation_candidates request for
    only resources that are shared, a KeyError was being produced:
    
    http://paste.openstack.org/show/615753/
    
    The problem is that the _get_usages_by_provider_and_rc() method returns
    a dict with only the sharing resource provider usage information but
    the _get_all_with_shared() returns a list of resource provider IDs
    including both the *sharing* resource provider *and* the shared-with
    providers.
    
    When the code attempts to cross-reference provider summaries (which are
    constructed by looping over the usage dicts) with each provider ID in
    the result from _get_all_with_shared(), we hit a KeyError on the
    shared-with provider IDs because there was no usage record (because the
    usage query filters on resource class ID and we requested only a
    resource class ID that was shared)
    
    This patch fixes the problem with a KeyError being produced for those
    providers that do not provide any resources (i.e. they are only
    included in the returned results because they have requested resource
    shared *with* them) by returning both the internal integer ID and the
    UUID of providers from the _get_all_shared_with() function and then in
    the loop to create allocation requests, simply ignoring any resource provider
    that doesn't exist in the provider_summaries dict.
    
    Closes-Bug: #1705071
    
    Change-Id: I742fd093a8b33ff88244b2990021784e4b65f51f
    jaypipes committed with cdent Jul 18, 2017
  6. Merge "Handle None returned from get_allocation_candidates due to con…

    …nect failure"
    Jenkins committed with openstack-gerrit Jul 20, 2017
  7. Updated from global requirements

    Change-Id: I7bb8b4ae2c7caa64b31ac64a6e06b516200da64e
    OpenStack Proposal Bot committed Jul 20, 2017
  8. Merge "Use URIOpt"

    Jenkins committed with openstack-gerrit Jul 20, 2017
  9. Merge "Remove key_manager.api_class hack"

    Jenkins committed with openstack-gerrit Jul 20, 2017