1f96b386b3
This patch adds support to revert to snapshot for NFS, FC and iSCSI drivers with FlexVol pool. Adds a method on client_cmode to rename a NFS volume file using the file-rename-file zapi call. The revert steps are: 1. Create a clone volume file/LUN from snapshot. 2. Change the original volume file/LUN path to a temporary path. 3. Change clone file/LUN path to the original path. 4. Delete the volume file/LUN on temporary path. If any step fails, the original volume file/LUN is preserved and the clone file/LUN is deleted. For NFS, ONTAP clone file is not supported on FlexGroup pool, in this case the generic implementation will perform the revert to snapshot. Implements: blueprint ontap-revert-to-snapshot Co-Authored-By: Fabio Oliveira <fabioaurelio1269@gmail.com> Change-Id: I347f0ee63d8d13ff181dd41a542a006b7c10b488 |
||
---|---|---|
api-ref/source | ||
cinder | ||
contrib/block-box | ||
doc | ||
etc/cinder | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
driver-requirements.txt | ||
mypy-files.txt | ||
reno.yaml | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
OpenStack Cinder
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