cinder/cinder
Adrien Vergé 04003d7c51 Add a privileged user for OpenStack services
Currently Cinder makes all requests to other services (Nova, Swift,
etc.) with current user context. Sometimes Cinder needs privileged
rights for external queries (e.g. asking Nova where an instance is
hosted); there is no way to do it yet.

This patch adds to ability to configure an account with special rights
in the configuration ('os_privileged_user_name',
'os_privileged_user_password' and 'os_privileged_user_tenant' options).
Then, requests that need special permissions can be achieved by creating
a client(privileged_user=True).

Note: This user does not necessarily need to have an admin role
associated with it. For instance, policies can be changed to allow a
specific user (without any roles) to perform special actions.

DocImpact: New configuration options to set a privileged user account
Change-Id: I61d8a6de1c5db5ee2ecce124997f9b6447b04e47
2014-12-27 15:23:20 +01:00
..
api Added volume type description for volume type API 2014-12-16 18:13:24 -08:00
backup Rename oslo.concurrency to oslo_concurrency 2014-12-19 18:39:11 -08:00
brick Brick LVM: Remove self.lv_list 2014-12-23 15:07:45 -05:00
cmd Revert "Outputs the message about failing to bind 2014-12-23 11:59:06 -05:00
common Add a privileged user for OpenStack services 2014-12-27 15:23:20 +01:00
compute Add a privileged user for OpenStack services 2014-12-27 15:23:20 +01:00
consistencygroup Implementing the use of _L’x’/i18n markers 2014-12-09 10:03:29 +00:00
db Merge "Add a provider_id column to Volumes and Snapshots" 2014-12-21 01:20:29 +00:00
hacking Fix calls to assert_called_once in unit tests 2014-11-24 16:56:10 +00:00
image Rename oslo.concurrency to oslo_concurrency 2014-12-19 18:39:11 -08:00
keymgr Implementing the use of _L’x’/i18n markers 2014-12-09 10:03:29 +00:00
locale Imported Translations from Transifex 2014-12-05 06:07:50 +00:00
openstack Merge "Sync the latest loopingcall module from oslo-incubator" 2014-12-26 11:11:48 +00:00
replication Use oslo.utils 2014-11-20 22:17:47 +08:00
scheduler Uncouple scheduler stats from volume creation 2014-12-17 07:45:32 -08:00
testing updating testing readme with more current information. 2014-02-26 09:21:13 -05:00
tests Add a privileged user for OpenStack services 2014-12-27 15:23:20 +01:00
transfer Implementing the use of _L’x’/i18n markers 2014-12-09 10:03:29 +00:00
volume Merge "Handle the volume not found case in the VMAX driver" 2014-12-25 20:04:28 +00:00
zonemanager Rename oslo.concurrency to oslo_concurrency 2014-12-19 18:39:11 -08:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
context.py Add a privileged user for OpenStack services 2014-12-27 15:23:20 +01:00
exception.py Quobyte Driver Exception Cleanup 2014-12-23 17:35:46 +01:00
flow_utils.py Stop stacktracing on QuotaErrors 2014-11-12 13:49:42 -08:00
i18n.py Use oslo.i18n 2014-08-08 17:26:41 -05:00
manager.py debug level logs should not be translated 2014-06-18 09:03:02 -06:00
policy.py Update oslo policy and its dependencies 2014-08-29 13:56:30 +02:00
quota.py Use oslo.utils 2014-11-20 22:17:47 +08:00
quota_utils.py Use oslo.i18n 2014-08-08 17:26:41 -05:00
rpc.py Switch to oslo.serialization 2014-11-19 15:49:03 +08:00
service.py Rename oslo.concurrency to oslo_concurrency 2014-12-19 18:39:11 -08:00
ssh_utils.py Implementing the use of _L’x’/i18n markers 2014-11-11 10:32:06 +00:00
test.py Replace the NetApp driver proxy layer with a proper factory. 2014-12-23 16:52:47 +00:00
utils.py Rename oslo.concurrency to oslo_concurrency 2014-12-19 18:39:11 -08:00
version.py Remove vim header 2013-12-30 18:53:02 -06:00
wsgi.py Use oslo.utils 2014-11-20 22:17:47 +08:00