← 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/485322
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=229e660e30d4efd2c47d29c2eccb0c2282a98b0e
Submitter: Jenkins
Branch:    master

commit 229e660e30d4efd2c47d29c2eccb0c2282a98b0e
Author: Kaitlin Farr <kaitlin.farr@xxxxxxxxxx>
Date:   Wed Jul 19 14:40:24 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
    
    Closes-Bug: #1704875
    Change-Id: I4461b8fa4e626afd8b94e942d4ad17726f307fbf


** Changed in: cinder
       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:
  Fix Released
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