OpenStack Block Storage (Cinder)
Go to file
Tobias Urdin 77c886ab18 backup/swift: Add support sending service user token
This adds support to the Swift backup driver to send
a service user token in the X-Service-Token header when
talking to Swift which will support long running processes
to continue functioning when the user token is expired if
the target supports it. [1] [2]

In the patch I'm favoring passing the X-Service-Token from
Cinder as a header instead of passing the service user credentials
down to the python-swiftclient, it makes more sense to not hand
it off. We already have a auth plugin for the service user which
ensures that the token is always valid, an invalid token would
disrupt the process and cause the long running process to fail.

The new config option to enable the service auth in the Swift
driver serves the purpose of not enabling the feature by default
for deployments already enabling service user for Nova and Glance.

I'm working on implementing the X-Service-Token support
in Ceph RadosGW's Swift API implementation [3], OpenStack Swift
already supports service token.

[1] https://specs.openstack.org/openstack/keystone-specs/specs/keystonemiddleware/juno/service-tokens.html
[2] https://docs.openstack.org/cinder/latest/configuration/block-storage/service-token.html
[3] https://github.com/ceph/ceph/pull/45395

Related-Bug: #1298135
Change-Id: I69a478dc18c18e6d67be83d61c9643afab72c118
2022-05-04 07:29:54 +00:00
api-ref/source Change key "cluster" to "cluster_name" 2022-04-25 19:18:45 +00:00
cinder backup/swift: Add support sending service user token 2022-05-04 07:29:54 +00:00
doc Merge "Added documentation about backup_file_size about memory usage" 2022-05-02 07:21:35 +00:00
etc/cinder Merge "Sync rootwrap.conf from oslo.rootwrap" 2022-03-19 02:54:32 +00:00
playbooks Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02:00
rally-jobs Remove Block Storage API v2 2021-06-04 17:21:28 -04:00
releasenotes backup/swift: Add support sending service user token 2022-05-04 07:29:54 +00:00
roles Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02:00
tools Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore db: Enable auto-generation of database migrations 2022-02-20 19:06:01 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:48 +00:00
.pylintrc Tests: Add alembic to pylint ignores 2022-04-06 11:48:50 -04:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Merge "Drop python3.6 support in testing runtime" 2022-04-29 19:50:34 +00:00
bindep.txt Add libcgroup related packages in bindep.txt 2021-06-15 00:54:55 +00:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 14:11:48 -05:00
driver-requirements.txt [Pure Storage] Fix minimum SDK version required 2021-06-28 18:40:25 -04:00
HACKING.rst Use LOG.warning instead of deprecated LOG.warn 2022-02-09 08:29:02 +09:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
mypy-files.txt mypy: ceph backup driver 2022-03-21 12:56:39 -04:00
README.rst Merge "Refactor README links" 2020-01-22 11:44:36 +00:00
reno.yaml Update release note info 2021-04-16 11:11:41 -04:00
requirements.txt Specify yoga os-brick in requirements 2022-03-07 11:39:01 -05:00
setup.cfg Drop python3.6 support in testing runtime 2022-04-28 09:09:28 +08:00
setup.py Cleanup py27 support 2020-04-17 14:47:10 +02:00
test-requirements.txt Bump mypy version to 0.942 2022-04-11 10:36:26 -04:00
tox.ini Merge "Stop removing .pyc files for unit test runs" 2022-04-29 17:59:56 +00:00

OpenStack Cinder

image

OpenStack Cinder is a storage service for an open cloud computing service.

You can learn more about Cinder at:

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/cinder

If you'd like to contribute, please see the information in CONTRIBUTING.rst

You can raise bugs on Launchpad

Python client

Python Cinderclient