Alternative Cinder Scheduler Classes
Alternative Classes such as filters, host managers, etc. for Cinder, the OpenStack Block Storage service.
The main purpose of this library is to illustrate the broad range of possibilities of the Cinder Scheduler provided by its flexible mechanisms.
Currently there’s only 2 interesting features, which are the possibility of changing the default provisioning type on volume creation for volumes that don’t specify the type using the provisioning:type extra spec and an alternative calculation of the free space consumption.
Scheduler’s original approach to space consumption by new volumes is conservative to prevent backends from filling up due to a sudden burst of volume creations.
The alternative approach is more aggressive and is adequate for deployments where the workload is well know and a lot of thin volumes could be requested at the same time.
It’s important to notice that even though the Schedulers will be able to understand provisioining:type extra spec it will depend on the backend if this parameter is actually used or not.
Free software: Apache Software License 2.0
Documentation: https://alt-cinder-sch.readthedocs.io.
Features
Can default capacity calculations to thin or thick.
Less conservative approach to free space consumption calculations.
Usage
First we’ll need to have the package installed:
# pip install alt_cinder-sch
Then we’ll have to configure Cinder’s schedulers to use the package:
scheduler_host_manager = alt_cinder_sch.host_managers.HostManagerThin scheduler_default_filters = AvailabilityZoneFilter,AltCapacityFilter,CapabilitiesFilter scheduler_driver = alt_cinder_sch.scheduler_drivers.FilterScheduler
And finally restart scheduler services.
History
0.1.1 (2017-07-03)
Fix compatibility with older versions
Fix thick over subscription value
Improve logging
0.1.0 (2017-07-02)
First release on PyPI.
Metadata
Release files for alt_cinder_sch 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| alt_cinder_sch-0.1.1.tar.gz | 17.0 kB | Without provenance | Details for alt_cinder_sch-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| alt_cinder_sch-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for alt_cinder_sch-0.1.1-py2.py3-none-any.whl |
Total release size: 29.0 kB
Release files / alt_cinder_sch-0.1.1.tar.gz
| Download URL | alt_cinder_sch-0.1.1.tar.gz |
|---|---|
| Size | 17.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d7cfbcaf17762b95ed0c901ec1b3f4bbf12c0944eebb9df5245f01a5d314fc1
|
|
BLAKE2b-256 checksum How to use checksums |
20d2d214e1ea061a8f65cdd91680774eea2de9aedbc5064e07004b1307151339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / alt_cinder_sch-0.1.1-py2.py3-none-any.whl
| Download URL | alt_cinder_sch-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
406a3fdda45adc8013712782621fda370f358038ab33a9cf216860defdfd5c51
|
|
BLAKE2b-256 checksum How to use checksums |
24ccb4c4bdbaf7d7cb697a305fb1feafa5525c6f4899756ff976041133a39a6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for alt_cinder_sch 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.