python-cinderclient/releasenotes/notes/support-bs-mv-3.66-5214deb20d164056.yaml
Brian Rosmaita c3c15f6cb2 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
2021-09-02 18:48:28 -04:00

10 lines
445 B
YAML

---
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.