[Bug 1516085] Re: quotas calls fail when CONF.keymgr.encryption_auth_url is not configured

OpenStack Infra 1516085 at bugs.launchpad.net
Wed Dec 9 06:36:40 UTC 2015


Reviewed:  https://review.openstack.org/254700
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=fa7d0916d849e9c6f93e08f8323eb2a886bcffc0
Submitter: Jenkins
Branch:    stable/liberty

commit fa7d0916d849e9c6f93e08f8323eb2a886bcffc0
Author: Szymon Borkowski <szymon.borkowski at intel.com>
Date:   Tue Dec 1 14:12:03 2015 +0100

    Use proper config option to connect to keystone
    
    Earlier, quotas used to authenticate to endpoint from not required
    option located in keymgr.encryption_auth_url. Now, the required
    auth_uri option from config file is used to authenticate to
    keystone.
    
    Co-Authored-By: Michal Dulko <michal.dulko at intel.com>
    Change-Id: I1076527704f8def2c6755c060df49232e5ebe805
    Closes-Bug: 1516085
    (cherry picked from commit 109353dedbe53201eb6999984c5658d9193115df)


** Changed in: cinder/liberty
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to cinder in Ubuntu.
Matching subscriptions: charm-bugs
https://bugs.launchpad.net/bugs/1516085

Title:
  quotas calls fail when CONF.keymgr.encryption_auth_url is not
  configured

Status in Cinder:
  Fix Committed
Status in Cinder liberty series:
  Fix Committed
Status in Cinder mitaka series:
  Fix Committed
Status in cinder package in Ubuntu:
  Triaged
Status in cinder source package in Wily:
  Triaged
Status in cinder source package in Xenial:
  Triaged
Status in cinder package in Juju Charms Collection:
  Invalid

Bug description:
  Quotas calls fail when aforementioned option is not configured and our
  Keystone host is somewhere else than c-api's host. This is due to the
  fact that the option defaults to localhost's Keystone v3.

  To fix we would need to modify:

  https://github.com/openstack/cinder/blob/master/cinder/api/contrib/quotas.py#L183

  We're using the config option instead of working with service catalog
  (available in RequestContext) to find proper Keystone endpoint.

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



More information about the Ubuntu-openstack-bugs mailing list