← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1704875] Re: Config option api_class erroneously overriden in __init__.py

 

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

commit 47528cd5c264870c059dfe85bfeb22548d6cb618
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date:   Mon Jul 17 17:49:08 2017 -0400

    Remove key_manager.api_class hack
    
    We can remove the hack associated with this TODO since devstack
    is setting the config option value in change
    I733279864ee1a4aaffc9c8eed81b5e12f8d8821b.
    
    Depends-On: I733279864ee1a4aaffc9c8eed81b5e12f8d8821b
    
    Change-Id: I89972b96ce2e1d06e24992d66026554b9a56d4dc
    Closes-Bug: #1704875


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

Title:
  Config option api_class erroneously overriden in __init__.py

Status in Cinder:
  In Progress
Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) newton series:
  Incomplete
Status in OpenStack Compute (nova) ocata series:
  Confirmed

Bug description:
  When adding api_class = <barbican manager> in the nova.conf file for
  Newton, the nova/keymgr/__init__.py file has code that re-sets the
  value of api_class to default. This makes it impossible to use
  barbican with nova without hacking some workaround

  
  release: Newton

  
  to reproduce:

  1. set api_class in nova.conf
  2. restart nova with debug
  3. see that api_class is still default


  Workaround: commenting out lines 29 and 30 in __init__.py fixes the
  issue.

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


References