We are delighted to announce the release of: monasca-api 3.0.0: OpenStack Monitoring as a Service This release is part of the stein stable release series. The source is available from: https://git.openstack.org/cgit/openstack/monasca-api Download the package from: https://tarballs.openstack.org/monasca-api/ Please report issues through: https://bugs.launchpad.net/monasca/+bugs For more details, please see below. 3.0.0 ^^^^^ New Features ************ * Added new tool "monasca-status upgrade check". New framework for "monasca-status upgrade check" command is added. This framework allows adding various checks which can be run before a Monasca upgrade to ensure if the upgrade can be performed safely. * User can configure Cassandra cluster port via configuration option. Default value for port number is "9042". Upgrade Notes ************* * Operator can now use new CLI tool "monasca-status upgrade check" to check if the Monasca deployment can be safely upgraded from N-1 to N release. * "agent_authorized_roles" default value changed to "monasca-agent" to be consistent with rest of Monasca, was configured by default to "agent" so old policy configuration should be checked and adjusted accordingly. * Deprecated configuration option "database.url" has been removed. Please use "database.connection" instead. * The concept of built-in monasca-notification plugins has been removed and the built-in plugins are no longer pre-populated in the database. If you were using the PAGERDUTY, EMAIL or WEBHOOK notification plugin you should explicitly enable it in the monasca- notification config file. Deprecation Notes ***************** * Configuration file path /etc/monasca/api-config.conf and /etc/monasca/api.conf are deprecated. Use the standard path /etc/monasca/monasca-api.conf or the configuration dir (supported via oslo.config) /etc/monasca/monasca- api.conf.d/any_config_name.conf Changes in monasca-api 2.8.0..3.0.0 ----------------------------------- a936c123 Replace openstack.org git:// URLs with https:// 66d08c2b README.rst: make it us-ascii 7ebd8a90 Remove Java build job 1f0df6a9 Configure Cassandra cluster port e18ed3f0 Improve tests coverage 55a172c0 Remove redundant code 189056a5 Update default docker monasca-api conf 6409d064 Set up DB schema in DevStack plugin using Alembic de0e82eb Fix docker hub login variable 036b9cb5 Use new default persister configuration file cf7ca7ae Push Docker images to Docker Hub e6b9af00 Use global job for building docker image cde6b1c6 Add monascalog-python3-tempest 9066b698 Add keystonemiddleware to oslo-config-generator conf 96e13dad Replace api-config.conf with monasca-api.conf 67513278 Remove unused exception c89669d6 zuul: Also kafka logs and some configs during CI run d033c1cf Use PYTHON2.7 for npm 73b4c4ab Support standard config file path for monasca-api cd94a9ca Configure system encoding format c9cb514a Add python3.5 classifier to setup.cfg ff0c1cc6 Remove built-in plugins from database schema 1732c175 Add python3 tempest tests 4a5be7b2 Change openstack-dev to openstack-discuss 35fc6cf7 Migrate DevStack plugin to Ubuntu Bionic f4f67924 Update documentation for pagination limit d4a8e2ed Disable unnecessary service in tempest test a1ccce72 Skip authentication for version and healthcheck endpoints ed71d768 Switch tempest test to zuul3 native 2d907595 Add session life time configuration for grafana 10e271b0 Fix Keystone http_check in devstack 22be5aa5 Add "monasca-status upgrade check" for pre-upgrade d1fd4969 Remove deprecated database.url option 7f0a05a5 Disable building Java package 93d012bd Replace usage of get_legacy_facade() with get_engine() 917676e8 Remove setup.py check from pep8 job 856a969d Set proper default agent authorized role bbf1d9f1 Add link to `Administration guide` on frontpage 67b7a9ba Remove pykafka from lower-constraints Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 184 ++- README.rst | 4 +- config-generator/README.rst | 2 +- .../{api-config.conf => monasca-api.conf} | 3 +- devstack/README.md | 2 +- devstack/Vagrantfile | 6 +- devstack/files/debs/monasca-api | 13 +- devstack/files/grafana/grafana.ini | 7 + devstack/files/monasca-agent/http_check.yaml | 2 +- .../files/monasca-notification/notification.yaml | 4 + devstack/files/schema/mon_mysql.sql | 198 --- devstack/files/schema/mon_postgresql.sql | 227 ---- devstack/lib/notification.sh | 2 +- devstack/lib/persister.sh | 7 +- devstack/plugin.sh | 113 +- devstack/settings | 2 +- lower-constraints.txt | 2 +- monasca_api/api/alarms_api_v2.py | 2 +- monasca_api/api/core/request.py | 2 +- monasca_api/api/server.py | 2 +- monasca_api/cmd/monasca_db.py | 2 +- monasca_api/cmd/status.py | 61 + .../common/messaging/message_formats/exceptions.py | 17 - .../repositories/cassandra/metrics_repository.py | 3 +- .../sqla/alarm_definitions_repository.py | 51 - .../common/repositories/sqla/alarms_repository.py | 37 +- .../repositories/sqla/notifications_repository.py | 4 +- .../common/repositories/sqla/sql_repository.py | 4 +- monasca_api/conf/cassandra.py | 4 + monasca_api/conf/database.py | 35 - monasca_api/conf/security.py | 2 +- monasca_api/config.py | 51 +- .../db/alembic/versions/00597b5c8325_initial.py | 15 +- ...083b298bb7_remove_builtin_notification_types.py | 52 + .../versions/6b2b88f3cab4_add_sub_alarm_state.py | 3 +- monasca_api/db/fingerprint.py | 62 +- monasca_api/healthcheck/keystone_protocol.py | 2 +- monasca_api/v2/reference/alarm_definitions.py | 2 +- playbooks/docker-publish.yml | 12 + playbooks/legacy/monasca-tempest-base/post.yaml | 15 - playbooks/legacy/monasca-tempest-base/run.yaml | 84 -- ...asca-status-upgrade-check-c37e6910c2eb0150.yaml | 12 + releasenotes/notes/fix-cassandra-cluster-port.yaml | 4 + .../notes/oslo-policy-345ff286820badc6.yaml | 6 + ...emove-database-url-option-efd6c09b771063c0.yaml | 5 + ...otification_plugins_in_db-140ece49106b4a5a.yaml | 6 + ...standard-config-file-path-a4c1a29d9d3fcc07.yaml | 7 + requirements.txt | 1 + setup.cfg | 4 +- tox.ini | 3 +- 72 files changed, 2918 insertions(+), 936 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index c6a3a727..1754ab40 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,0 +11 @@ oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0 +oslo.upgradecheck>=0.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org