We joyfully announce the release of: cinderlib 1.0.0: Direct usage of Cinder Block Storage drivers without the services This release is part of the train release series. The source is available from: https://opendev.org/openstack/cinderlib Download the package from: https://tarballs.openstack.org/null/ Please report issues through: https://bugs.launchpad.net/cinderlib/+bugs For more details, please see below. 1.0.0 ^^^^^ New Features ************ * Enhance volume extend functionality in cinderlib by supporting the refresh of the host's view of an attached volume that has been extended in the backend to reflect the new size. A call to volume.extend will automatically extend the view if the volume is locally attached and connection.extend will do the same when run on a non controller host. * Fake unused packages: Many packages that are automatically imported when loading cinder modules are only used for normal Cinder operation and are not necessary for cinderlib's execution. For example when loading a Cinder module to get configuration options but without executing the code present in the module. We now fake these unnecessary packages, providing faster load times, reduced footprint, and the possibility for distributions to create a cinderlib package or containers with up to 40% fewer dependencies. Bug Fixes ********* * Bug #1821898: Improve compatibility with Cinder drivers that access the DB directly. This allows cinderlib to support IBM SVC. * Bug #1819706: Support setting attach_mode on attach and connect calls. * Bug #1849339: Cloning doesn't store the source volume id. * Bug #1849828: In-use volume clone status is in-use instead of available. * Bug #1852629: Extending an LVM raised an exception, even though the volume was extended. For in-use volumes the node that had the volume attached wouldn't see the new size. * Bug #1836724: Fix create snapshot from a volume with volume type. * Bug #1854188: Work with complex configuration options like ListOpt, DictOpt, and MultiOpt with dict items. Changes in cinderlib 0.9.0..1.0.0 --------------------------------- 27efeaa Add missing release notes bd316fa Patch release note 085cb4e Fix complex configuration options b74a3f0 Fix Python 3 functional tests run 6f989af Enhance extend functionality b7f27bb Fix LVM extend volume b76eae9 Fix cloning metadata storage 76d0164 Fake unused packages b6cebca Update the constraints url c41ba10 [Trivial] Use yaml.safe_load() in the test suite. 4bf0520 Don't run functional gates on doc-only changes 8f85976 Add pdf build support 8e3c695 Add default volume type flow in dbms persistence plugin 2d24b65 Follow Up: Fixing NITs bee4135 Add validation and validated documentation fd90bc6 Bump the openstackdocstheme extension to 1.20 385e6f4 Add support for IBM SVC 4610703 zuul: change the cinderlib test runner into a role a6c33c2 Sync Sphinx requirement 8b9eeac Add list_supported_drivers test 0b27b64 [DOC]:Correct variable name kv d6bec90 Fix: Snapshot creation with volume types c44afc9 Fix cleanup of persistence tests 8974ba2 Bump openstackdocstheme to 1.20.0 a18218a Add Python 3 Train unit tests 33b7ae1 add python 3.7 unit test job 46565c4 OpenDev Migration Patch ad2f19e OpenDev Migration Patch c97367d Run functional tests with memory persistence 1e52ad6 Support setting attach_mode Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- .zuul.yaml | 24 +- CONTRIBUTING.rst | 4 +- bindep.txt | 41 ++ cinderlib/__init__.py | 1 + cinderlib/_fake_packages.py | 170 ++++++++ cinderlib/cinderlib.py | 100 ++++- cinderlib/nos_brick.py | 26 +- cinderlib/objects.py | 60 ++- cinderlib/persistence/base.py | 65 ++- cinderlib/persistence/dbms.py | 34 +- devstack/README.rst | 6 +- lower-constraints.txt | 2 +- playbooks/cinder-gate-run.yaml | 27 +- playbooks/setup-ceph.yaml | 11 + releasenotes/notes/IBM-SVC-667322aa2b4ac24d.yaml | 5 + .../notes/attach_mode-0cc9cec91dff0fc3.yaml | 4 + .../notes/enhance-extend-687d8e9c4a58e517.yaml | 8 + .../notes/fake-packages-7d5c55e6169f1096.yaml | 12 + releasenotes/notes/fix-clone-28b18ddb420ff676.yaml | 6 + .../notes/fix-lvm-extend-e46b0eadf1cd59ec.yaml | 6 + .../notes/snapshot-vol-type-20e4403ed5a8b0a5.yaml | 4 + ...ort-comple-config-options-39ba50c6c9165cc3.yaml | 5 + releasenotes/source/conf.py | 5 - setup.cfg | 3 +- tox.ini | 39 +- 49 files changed, 2144 insertions(+), 205 deletions(-)
participants (1)
-
no-reply@openstack.org