RETIRED, further work has moved to Debian project infrastructure
Go to file
Gorka Eguileor bc1e8d6782 NFS Backup: Fix overwritting backups
When using the NFS backup driver if we do multiple backups using the
same container we end up overwriting older backups.

The issue comes from a misunderstanding in the Posix backup driver of
the purpose of the "prefix" metadata used in the ChunkedBackupDriver
base class.

This prefix is for the name of the backup objects to store, but unlike
the prefix for the volumes, here it must be unique as the base driver
will only add numbers to identify the chunk (for the volume we add the
volume id).  Unfortunately the Posix driver just assumed that the prefix
had the same meaning as the prefix for volumes thus making one backups
override one another.

This patch changes the prefix generated by the Posix driver so we have
the following format: "volume_$VOL_ID_$TIMESTAMP_backup_$BACK_ID", thus
allowing multiple backups in the same container.

The new name is backward compatible with existing backups because the
new prefix will only be used on new backups as the prefix for already
existing backups is stored in the DB.

Change-Id: I2903c27633facde6370d95ba0b9e06025ccaef26
Closes-Bug: #1628768
(cherry picked from commit 535e717970)
(cherry picked from commit 640b9dc2b7)
2017-05-23 16:42:53 +02:00
api-ref/source Merge "Fixed request/response parameters in doc" 2016-09-15 20:22:34 +00:00
cinder NFS Backup: Fix overwritting backups 2017-05-23 16:42:53 +02:00
doc Prepare for using standard python tests 2017-02-03 09:34:01 +01:00
etc/cinder NetApp: Refresh directory before waiting 2017-05-14 00:57:56 +00:00
rally-jobs Disable Rally backup-related scenarios 2016-02-15 20:44:52 +02:00
releasenotes NFS Backup: Fix overwritting backups 2017-05-23 16:42:53 +02:00
tools Prepare for using standard python tests 2017-02-03 09:34:01 +01:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:25:22 +00:00
.gitignore Add driver list to doc build 2016-07-26 11:09:05 -05:00
.gitreview Update .gitreview for driverfixes/newton 2017-05-07 14:59:44 +00:00
.testr.conf Move integrated tests to 'functional' directory 2016-02-09 23:28:27 +02:00
CONTRIBUTING.rst Update CONTRIBUTING.md to CONTRIBUTING.rst 2015-11-10 23:10:38 +08:00
HACKING.rst Fix broken link in HACKING.rst 2016-07-01 15:08:43 +05:30
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Use openstack.org URLs in README 2016-03-02 14:33:25 -05:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
requirements.txt Updated from global requirements 2016-11-10 11:46:20 +00:00
run_tests.sh Remove remaining oslo-incubator code from Cinder 2016-03-09 10:49:18 -06:00
setup.cfg Let setup.py compile_catalog process all language files 2016-08-24 14:56:04 -04:00
setup.py Updated from global requirements 2015-09-18 16:37:17 +00:00
test-requirements.txt Updated from global requirements 2016-08-26 09:09:56 +00:00
tox.ini Update UPPER_CONSTRAINTS_FILE for driverfixes/newton 2017-05-07 14:59:45 +00:00

README.rst

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 http://bugs.launchpad.net/cinder

Python client

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