]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
CoraidDriver: support users that are not admin
authorJean-Baptiste RANSY <jean-baptiste.ransy@alyseo.com>
Thu, 21 Mar 2013 13:19:54 +0000 (14:19 +0100)
committerjohn-griffith <john.griffith@solidfire.com>
Sun, 24 Mar 2013 18:27:38 +0000 (12:27 -0600)
commitab166219021a5efc3980e1d31e0a8afb8e5d6d14
treebbb4ec9c07ae2bf5dc64874af50282e870eb5a57
parent98cc233e492904b28f5b097892b9148911606f77
CoraidDriver: support users that are not admin

Add support to the CoraidDriver to specify a subgroup (with admin
privileges).
Coraid storage orchestration allows you to allocate portions of your
SAN to specific users/groups.
The driver should support this and not assume logging in
as "admin" (equiv to "root").

Will add another parameter to cinder.conf, "coraid_group",
and if present, the driver will authenticate using the specified group
as well as the already available coraid_user parameter.

Fixes bug 1157354

Change-Id: I0d165955126adabce788ebdacd3a14a08edc8d8f
(cherry picked from commit 0a0251e695ed600ea586233b9654aedf4dab79e6)
cinder/tests/test_coraid.py
cinder/volume/drivers/coraid.py