]> 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)
committerJean-Baptiste RANSY <jean-baptiste.ransy@alyseo.com>
Sun, 24 Mar 2013 13:37:33 +0000 (14:37 +0100)
commit0a0251e695ed600ea586233b9654aedf4dab79e6
treefed4be058b2b8243d3237ed61287c15e70590c02
parent65e291054681e45d3160d995c5648b8311bc1a69
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
cinder/tests/test_coraid.py
cinder/volume/drivers/coraid.py