RETIRED, further work has moved to Debian project infrastructure
Go to file
Gorka Eguileor 535e717970 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
2017-05-18 10:38:58 +02:00
api-ref/source Add documentation for invalid filter keys 2017-05-17 09:11:27 +08:00
cinder NFS Backup: Fix overwritting backups 2017-05-18 10:38:58 +02:00
doc Correct typo of cinder doc 2017-05-15 14:02:08 +08:00
etc/cinder Merge "Remove unused fallocate method/filter" 2017-05-16 11:38:39 +00:00
rally-jobs Fix rally job gate-rally-dsvm-cinder-ubuntu-xenial-nv 2017-04-11 16:11:50 +08:00
releasenotes NFS Backup: Fix overwritting backups 2017-05-18 10:38:58 +02:00
tools Merge "Add driver supported status to dict output format" 2017-03-27 20:58:49 +00:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Add driver list to doc build 2016-07-26 11:09:05 -05:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.testr.conf Move integrated tests to 'functional' directory 2016-02-09 23:28:27 +02:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 15:03:44 +08:00
HACKING.rst Remove hacking check for log translation 2017-03-18 03:00:12 -05:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Optimize the link address 2017-04-08 15:03:44 +08:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
driver-requirements.txt Add driver-requirements.txt 2017-03-09 12:18:03 -05:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
requirements.txt Updated from global requirements 2017-05-04 13:20:13 +00:00
setup.cfg Merge "Remove deprecated cinder.middleware.sizelimit" 2017-04-18 16:19:11 +00:00
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Remove dependecy testrepository 2017-05-02 11:55:24 +00:00
tox.ini Merge "Add bandit-baseline to tox.ini" 2017-03-29 22:29:40 +00: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 http://bugs.launchpad.net/cinder

Python client

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