← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645306] Re: typo in api-paste.ini parameter

 

Reviewed:  https://review.openstack.org/417178
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=aeecfe09c463d0b14f8f525234d25eb0ef4c5523
Submitter: Jenkins
Branch:    master

commit aeecfe09c463d0b14f8f525234d25eb0ef4c5523
Author: Chris Dent <cdent@xxxxxxxxxxxxx>
Date:   Thu Jan 5 20:34:17 2017 +0000

    [placement] fix typo in call to create auth middleware
    
    The typo meant that the intended non global config was not being
    used, and instead the config was loaded in the normal way. This
    worked because the config loaded by the project name is the same
    as the config loaded otherwise.
    
    There's no test coverage of this in unit and functional tests
    because the NoAuthMiddleware is always used based on overridden
    configuration. The gate tests that turn on placement will exercise
    this code.
    
    Change-Id: I9f1b8905fd9d5aadac61718e24c76b1b2f80410d
    Closes-Bug: #1645306


** Changed in: nova
       Status: In Progress => 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/1645306

Title:
  typo in api-paste.ini parameter

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Following line uses "olso_config_project"
    https://github.com/openstack/nova/blame/f57cc519fde2f177920ce88b8a3ef0618d1419b0/nova/api/openstack/placement/deploy.py#L42

  it should be oslo_config_project
   https://github.com/openstack/nova/blob/f57cc519fde2f177920ce88b8a3ef0618d1419b0/etc/nova/api-paste.ini#L75

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


References