summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorBrian Rosmaita <rosmaita.fossdev@gmail.com>2021-08-31 19:10:00 -0400
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2021-09-02 18:48:28 -0400
commitc3c15f6cb2f50ec5bb2ae561d8fc61f27fae80d2 (patch)
tree0c4b45b90812c8300d061bb2cd0be8d92668b58c /releasenotes
parent45cebe406fdabd5f3636cb78d85ac934ca735a08 (diff)
downloadpython-cinderclient-c3c15f6cb2f50ec5bb2ae561d8fc61f27fae80d2.tar.gz
Support Block Storage API mv 3.66
Block Storage API mv 3.66 enables snapshots of in-use volumes without requiring a 'force' flag. For backward compatibility, the API silently accepts force=true, even though the 'force' flag is considered invalid for that call. That behavior is replicated in the client, where --force with a true value is silently accepted. The --force option is not advertised in the shell and an option value that doesn't evaluate to true raises an UnsupportedAttribute error. Similar behavior from the v3 Snapshot class, except it raises a ValueError under similar circumstances. Change-Id: I7408d0e3a5ed7f4cbcaf65cf3434ad60aaed511d
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/support-bs-mv-3.66-5214deb20d164056.yaml9
1 files changed, 9 insertions, 0 deletions
diff --git a/releasenotes/notes/support-bs-mv-3.66-5214deb20d164056.yaml b/releasenotes/notes/support-bs-mv-3.66-5214deb20d164056.yaml
new file mode 100644
index 0000000..c4028b0
--- /dev/null
+++ b/releasenotes/notes/support-bs-mv-3.66-5214deb20d164056.yaml
@@ -0,0 +1,9 @@
+---
+features:
+ - |
+ Adds support for Block Storage API version 3.66, which drops the
+ requirement of a 'force' flag to create a snapshot of an in-use
+ volume. Although the 'force' flag is invalid for the ``snapshot-create``
+ call for API versions 3.66 and higher, for backward compatibility the
+ cinderclient follows the Block Storage API in silently ignoring the
+ flag when it is passed with a value that evaluates to True.