]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Add project_id to barbican keymgr wrapper
authorBrianna Poulos <Brianna.Poulos@jhuapl.edu>
Fri, 13 Feb 2015 20:12:11 +0000 (15:12 -0500)
committerBrianna Poulos <Brianna.Poulos@jhuapl.edu>
Tue, 10 Mar 2015 15:22:52 +0000 (11:22 -0400)
commit7dac025cbc6d277d22478e0ee2a7141dcdffd39b
tree56be9c0130598e9739e82089ba6a21971a235139
parent6bf93ffb67fc5b8cac82a0046ba615bec4556fbe
Add project_id to barbican keymgr wrapper

Currently, the barbican keymgr wrapper does not provide the project_id
to barbican.  As a result, all key operations done in cinder with a
barbican backend are stored in the barbican database with a NULL
external project_id.

This patch adds the project_id to the auth plugin created using the
auth token, so that barbican has access to the project_id and uses
the external project_id with all key operations.

Change-Id: Ia5f6cdd5177893d2f13f181e1ced278d49f9d910
Closes-Bug: #1421795
cinder/keymgr/barbican.py
cinder/tests/keymgr/test_barbican.py