OpenStack Block Storage (Cinder)
Go to file
whoami-rajat 0ba501e021 Make volume soft delete more thorough
When a volume record is soft-deleted in the database,
dependent records in other tables (for example,
Transfers, VolumeGlanceMetadata, etc.) must be soft
deleted as well.  Otherwise, we will get FK dependency
errors when the database is purged.

This patch adds that support for VolumeAttachment table.
(other tables were already covered, just refactored)

Also adds tests.

Conflicts:
    test-requirements.txt

    Note: conflict is due to gate fixing patch in Stein
    I9f0fec25444ed865d56d0d250fb6d840ab5b4095, which is
    not applicable in Rocky.

Co-authored-by: Rajat Dhasmana <rajatdhasmana@gmail.com>
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>

Change-Id: Ibfa6c4ba2f162681756ec3203991351345b65346
Related-Bug: #1542169
Depends-On: https://review.opendev.org/#/c/704688/
(cherry picked from commit a5bb17bdfc)
(cherry picked from commit dd2ba49004)
2020-02-03 17:58:54 +00:00
api-ref/source Fix api-ref title levels and index 2019-02-27 10:27:27 -06:00
cinder Make volume soft delete more thorough 2020-02-03 17:58:54 +00:00
contrib/block-box Merge "Update "auth_url"" 2018-07-25 09:25:44 +00:00
doc Cap sphinx for py2 to match global reqs 2020-01-24 12:34:58 +00:00
etc/cinder Merge "Remove tee from volume.filters" 2018-07-16 19:18:31 +00:00
playbooks/legacy/cinder-tempest-dsvm-lvm-lio-barbican OpenDev Migration Patch 2019-04-19 19:27:10 +00:00
rally-jobs Switch Rally Task To format V2 2017-10-13 08:37:57 +00:00
releasenotes Merge "Add context to cloning snapshots in remotefs driver" into stable/rocky 2019-10-07 21:23:23 +00:00
tools Add keystoneauth options to list_opts 2018-07-23 12:02:08 +08:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Change blockbox to block-box 2018-07-10 14:20:53 +08:00
.gitreview OpenDev Migration Patch 2019-04-19 19:27:10 +00:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Remove experimental openSUSE 42.3 job 2019-08-19 21:16:24 +02:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 15:03:44 +08:00
HACKING.rst Remove note about mox 2018-07-16 08:36:07 -04:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Add blueprints and releasenotes link to README 2018-06-30 11:36:53 +08:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
bindep.txt Do not explicitly list thin provisioning tools for RPM 2018-01-02 10:52:44 -06:00
driver-requirements.txt Unity: add thick volume support 2018-07-13 11:02:01 +08:00
lower-constraints.txt Make volume soft delete more thorough 2020-02-03 17:58:54 +00:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
requirements.txt Add sphinx-feature-classification based support matrix 2018-08-07 09:35:32 -05:00
setup.cfg add resource filters to the included data_files 2019-01-11 11:47:46 +00:00
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Make volume soft delete more thorough 2020-02-03 17:58:54 +00:00
tox.ini Make sure we install cinder requirements during the correct tox phase 2019-05-13 22:21:41 +02:00

README.rst

Team and repository tags

image

CINDER

You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.

Getting Started

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

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

For developer information please see HACKING.rst

You can raise bugs here https://bugs.launchpad.net/cinder

Python client

https://git.openstack.org/cgit/openstack/python-cinderclient