[blazar] blazar 1.0.0 (queens)
We exuberantly announce the release of: blazar 1.0.0: Reservation Service for OpenStack clouds This release is part of the queens release series. Download the package from: https://tarballs.openstack.org/blazar/ Please report issues through launchpad: https://launchpad.net/blazar For more details, please see below. 1.0.0 ^^^^^ New Features * Lease status is introduced in this release. With this change, transition graphs of statuses of leases, reservations, and events are redefined while keeping backward compatibility. If you update Blazar from an older version, the lease status is automatically updated from *None* at the time of an event or an API call. See state machine documentation for more details. (https://docs.openstack.org/blazar/latest/user/state-machine.html) Changes in blazar 0.4.0-b1..1.0.0 --------------------------------- a72e60d Add a release note of the state machine e98bbf2 Add a document about the state machine 5d3918c Add migration code for updating lease status e7c93fb Add hosts operations to the API reference 9e9c0c6 Add a release note of the resource monitoring 55c98c3 Add a document about the resource monitoring 9e04b42 Support instance reservation healing b43e724 Allow DevStack to install Blazar projects as Python 3 packages 328a8d9 Add DevStack gate jobs for Python3 600992d Fix map issues with Python3 5b32c72 Add an API reference 799a976 Retry event actions 184e089 Fix object difference issues with Python2/3 compatibility d028a4d Fix typo: modify spelling error of Resource 18c873a Zuul: Remove project name 9fa6a13 Support host recovery 2d55a09 Reduce Nova API calls in the host polling monitor e90ff72 Implement host notification monitor plugin 7aae082 Implement host polling monitor plugin 3019f46 Remove commas in setup.cfg package classifiers 3c4f064 Updated from global requirements ca3c913 Fix zip issues with Python3 f709801 Fix JSON serialization issues with Python3 d475d81 Fix filter issues with Python3 9c3ce9a Fix exception message issues with Python3 e3dd52a Updated from global requirements fa2ea77 Updated from global requirements 978d533 Check the reservable field while looking for resources to reserve 193fd11 Delete unused status related fields e36a9b0 Fix iterator issues with Python3 43904f8 Remove mox from requirements e4d30ae Remove bundled in tree tempest plugin 3e27548 Add a status module 7d26023 Add a resource monitoring feature into the manager 95d9e5a Updated from global requirements 576686b Use waiter method to check server status 5b67aba Update database schemas for the resource monitoring b93cc9b Updated from global requirements 05bc2e4 Change lease start date in some test scenarios e0bff07 Fix grammar in exception message 52d6314 Support DevStack installation with WSGI 1f2e722 Refactored blazar tempest plugin 06424f8 Enable uWSGI deployment of the blazar-api service 774b519 Move wsgi app class to api directory 0dc5eee Support update reservation in instance reservation 706a284 zuul: add irrelevant-files section to job 610c096 Updated from global requirements 2b824c5 Spec: Support extra specs in instance reservation 2ae25fd Updated from global requirements 2473ef1 Remove useless configuration samples from the installation document 5cd53f3 Add a termination scenario test ab06116 Remove redundant description of parameter "project_only" a7e47a4 Migrate to Zuul v3 fae9bf8 Make the name of CPUInfo type more friendly d4d9480 Fix paths of images in the state-machine spec 7d1b3b7 Tolerate spaces in extra capability values 0da6818 Remove setting of version/release from releasenotes 76e1f97 Updated from global requirements dbf7ff3 Fix unicode issues with Python 3 5597124 Spec: monitor states of resources e23cf5b Move specs to the appropriate directory 091fed5 Fix the host_get_all_by_queries() method cd4a7ea Add release note for the Hosts panel in blazar-dashboard 489ffd3 Adapt documentation structure to the new standard 76d25c8 Trivial: Remove vim header from source files 2f5e2aa Updated from global requirements ad2b377 Updated from global requirements 8a94535 Spec: define state machines f412be7 Add a validation to create lease API 86101b0 Check if a host is reserved before deleting it 041d385 Update a document cdd4e5d Updated from global requirements 04d70d8 Use correct terminology in instance reservation doc e64d4f3 Improve README db7bfe5 Use the openstackdocstheme Sphinx theme adeb401 Add scenario test of lease expiration Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 53 ++ README.rst | 61 +- api-ref/source/conf.py | 133 ++++ api-ref/source/index.rst | 7 + api-ref/source/v1/hosts.inc | 250 +++++++ api-ref/source/v1/index.rst | 11 + api-ref/source/v1/leases.inc | 523 ++++++++++++++ api-ref/source/v1/parameters.yaml | 498 +++++++++++++ blazar/api/app.py | 59 ++ blazar/api/context.py | 7 +- blazar/api/root.py | 4 +- blazar/api/v1/app.py | 2 +- blazar/api/v1/utils.py | 10 +- blazar/api/v2/controllers/extensions/lease.py | 12 +- blazar/api/v2/controllers/types.py | 6 +- blazar/api/v2/middleware/__init__.py | 7 +- blazar/api/wsgi_app.py | 51 ++ blazar/cmd/api.py | 54 +- blazar/cmd/manager.py | 2 +- blazar/config.py | 7 + blazar/db/api.py | 6 + .../alembic_migrations/versions/0_1_initial.py | 3 +- .../versions/75a74e4539cb_update_lease_status.py | 43 ++ ...2cad1504e_add_fields_for_resource_monitoring.py | 57 ++ ...199a5414_delete_unused_status_related_fields.py | 53 ++ blazar/db/sqlalchemy/api.py | 24 +- blazar/db/sqlalchemy/models.py | 14 +- blazar/db/sqlalchemy/types.py | 2 +- blazar/exceptions.py | 6 +- blazar/manager/exceptions.py | 5 + blazar/manager/service.py | 161 +++-- blazar/monitor/__init__.py | 45 ++ blazar/monitor/base.py | 62 ++ blazar/monitor/notification_monitor.py | 126 ++++ blazar/monitor/polling_monitor.py | 50 ++ blazar/opts.py | 2 +- blazar/plugins/base.py | 64 ++ blazar/plugins/instances/instance_plugin.py | 329 +++++++-- blazar/plugins/oshosts/host_plugin.py | 272 +++++++- blazar/states.py | 99 --- blazar/status.py | 325 +++++++++ .../plugins/instances/test_instance_plugin.py | 553 ++++++++++++++- blazar/utils/openstack/nova.py | 11 +- blazar/utils/plugins.py | 5 +- contrib/tempest/README.rst | 23 - contrib/tempest/tempest/cli/blazarclient.py | 25 - .../tempest/cli/simple_read_only/__init__.py | 0 .../simple_read_only/test_resource_reservation.py | 45 -- .../tempest/tempest/config_resource_reservation.py | 74 -- .../tempest/resource_reservation_client_manager.py | 82 --- contrib/tempest/tempest/scenario/manager_freeze.py | 686 ------------------ .../scenario/resource_reservation_scenario.py | 111 --- .../tempest/scenario/test_host_reservation.py | 194 ------ .../tempest/scenario/test_instance_reservation.py | 180 ----- .../scenario/test_reservation_concurrency.py | 43 -- devstack/plugin.sh | 32 +- devstack/settings | 6 + .../devref/specs/pike/new-instance-reservation.rst | 493 ------------- .../specs/pike/terminate-lease-at-anytime.rst | 154 ---- .../devref/specs/pike/update-reserved-capacity.rst | 148 ---- .../images/statuses_source/event_statuses.xml | 1 + .../images/statuses_source/lease_statuses.xml | 1 + .../statuses_source/reservation_statuses.xml | 1 + .../specs/pike/terminate-lease-at-anytime.rst | 154 ++++ .../legacy/blazar-devstack-dsvm-py35/post.yaml | 15 + .../legacy/blazar-devstack-dsvm-py35/run.yaml | 64 ++ playbooks/legacy/blazar-devstack-dsvm/post.yaml | 15 + playbooks/legacy/blazar-devstack-dsvm/run.yaml | 56 ++ .../notes/host-dashboard-570a9971be1a86ba.yaml | 11 + .../resource-monitoring-622b6ebcb7472cf2.yaml | 12 + .../notes/state-machine-37be751ed54c1c75.yaml | 11 + releasenotes/source/conf.py | 21 +- requirements.txt | 14 +- setup.cfg | 9 +- test-requirements.txt | 15 +- tox.ini | 9 +- 161 files changed, 10363 insertions(+), 5539 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 077fce2..353fcca 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,2 +13,2 @@ kombu!=4.0.2,>=4.0.0 # BSD -oslo.concurrency>=3.20.0 # Apache-2.0 -oslo.config>=4.6.0 # Apache-2.0 +oslo.concurrency>=3.25.0 # Apache-2.0 +oslo.config>=5.1.0 # Apache-2.0 @@ -17 +17 @@ oslo.i18n>=3.15.3 # Apache-2.0 -oslo.log>=3.30.0 # Apache-2.0 +oslo.log>=3.36.0 # Apache-2.0 @@ -20 +20 @@ oslo.middleware>=3.31.0 # Apache-2.0 -oslo.policy>=1.23.0 # Apache-2.0 +oslo.policy>=1.30.0 # Apache-2.0 @@ -22,2 +22,2 @@ oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 -oslo.service>=1.24.0 # Apache-2.0 -oslo.utils>=3.28.0 # Apache-2.0 +oslo.service!=1.28.1,>=1.24.0 # Apache-2.0 +oslo.utils>=3.33.0 # Apache-2.0 @@ -30 +30 @@ Routes>=2.3.1 # MIT -six>=1.9.0 # MIT +six>=1.10.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 7a489fd..d15b059 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8 +7,0 @@ mock>=2.0.0 # BSD -mox>=0.5.3 # Apache-2.0 @@ -12 +11 @@ testscenarios>=0.4 # Apache-2.0/BSD -testtools>=1.4.0 # MIT +testtools>=2.2.0 # MIT @@ -15,2 +14,2 @@ pylint==1.4.5 # GPLv2 -oslotest>=1.10.0 # Apache-2.0 -oslo.context!=2.19.1,>=2.14.0 # Apache-2.0 +oslotest>=3.2.0 # Apache-2.0 +oslo.context>=2.19.2 # Apache-2.0 @@ -20,5 +19,3 @@ reno>=2.5.0 # Apache-2.0 -sphinx>=1.6.2 # BSD -sphinxcontrib-httpdomain>=1.3.0 # BSD -sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0 -oslosphinx>=4.7.0 # Apache-2.0 - +sphinx!=1.6.6,>=1.6.2 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +os-api-ref>=1.4.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org