We are enthusiastic to announce the release of: openstack-ansible-os_aodh 14.0.0: os_aodh for OpenStack Ansible This release is part of the newton release series. Download the package from: https://tarballs.openstack.org/openstack-ansible-os_aodh/ For more details, please see below. 14.0.0 ^^^^^^ New Features ************ * The os_aodh role now supports the ability to configure whether apt/yum tasks install the latest available package, or just ensure that the package is present. The default action is to ensure that the latest package is present. The action taken may be changed to only ensure that the package is present by setting "aodh_package_state" to "present". Upgrade Notes ************* * Installation of aodh and its dependent pip packages will now only occur within a Python virtual environment. The "aodh_venv_enabled" and "aodh_venv_bin" variables have been removed. * The variable "aodh_apt_packages" has been renamed to "aodh_distro_packages". * The os_aodh role always checks whether the latest package is installed when executed. If a deployer wishes to change the check to only validate the presence of the package, the option "aodh_package_state" should be set to "present". * The aodh-api init service is removed since aodh-api is deployed as an apache mod_wsgi service. * The Aodh data migration script should be run to migrate alarm data from MongoDB storage to Galera due to the pending removal of MongoDB support. Bug Fixes ********* * Aodh has deprecated support for NoSQL storage (MongoDB and Cassandra) in Mitaka with removal scheduled for the O* release. This causes warnings in the logs. The default of using MongoDB storage for Aodh is replaced with the use of Galera. Continued use of MongoDB will require the use of vars to specify a correct "aodh_connection_string" and add pymongo to the "aodh_pip_packages" list. Changes in openstack-ansible-os_aodh 13.0.0..14.0.0 --------------------------------------------------- 9f398e0 Remove 'ignore_errors: true' in favor of 'failed_when: false' 5c64fd0 Use dictionary for service group mappings dda7abd Update tox.ini tests target for stable/newton ff3a346 Update ansible-role-requirements to stable/newton 37d88bc Update default git branch to stable/newton 30f4658 Use centralised test scripts 4a37aca Update UPPER_CONSTRAINTS_FILE for stable/newton 987d696 Update .gitreview for stable/newton 5845161 Revert dynamic includes for inventory-based conditionals 260c8db Force Ansible to use dynamic includes f1e930d Update homepage with developer documentation page ed2ddcd Update testing bits for consistency 33b71ba Ansible 2.1.1 role testing f02ee50 Compress test execution logs 52b7dd4 Rename package lists (and related vars) appropriately 636a14d Enable log collection after functional testing 52df852 Work around Ansible vcpu fact bug on ppc64le a6fcaa9 Add SNI support via OS packages for os_aodh role 7d9061e Make all linting tests use upper-constraints 9940f7b Add apt-get update to run_tests 39a5500 Update extra required system packages for Centos bfc3fe0 [DOCS] - Removing tags: and category: 57137cb Updated from global requirements 9fce7bb [DOCS] - Remove overview from TOC f62a6ca Add python packages for SNI support in tests 8f95f03 [DOCS] - Adding doc comments to defaults file 67ac051 Remove aodh-api init setup 12da326 Move other-requirements.txt to bindep.txt fd4346e [DOCS] Move aodh configs from developer docs 3fe0992 Allow Aodh to use Gnocchi as a source for alarms 54919fe Update required system packages for Xenial eed6692 Include ansible commands for ansible linting b54031a Disable stderr logging 62bec21 Add project group to role 212ced7 Fix runlevel typo in upstart template 7a0841f Add ability to change apt/yum package state 6939484 Ensure that mode is a string 2eabf74 Fix ansible performance issue 87cde1d Fix bug in RPC config that broke Rabbit SSL support c3b7030 Support Vagrant testing with Xenial b4c3dab Update testing script for xenial d5eeadc Test aodh role using the aodh tempest plugin a205887 Ensure that doc linting is included in the linters test 267081c Update aodh.conf template to account for deprecations ac2ee29 Re-add oslo_messaging_rabbit configuration 50b7224 Ensure that Apache is installed 442fcb0 Define keystone region name. 4f04932 Optimise pip install tasks e25e511 Support service-specific rabbitmq clusters 1cd9e6e Remove openstack_hosts from test requirements dd4a642 Serve the aodh-api using mod_wsgi d95c404 Remove unnecessary overrides of service variables 2c8717b Use plugins repo version of the human_log callback plugin 3c558c2 Updated from global requirements 8381818 Remove duplicates from .gitignore ffdca6b Implement doc8 checks for docs a4cdbf5 Update sphinx configuration 53a0426 Cleanup/standardize usage of tags 4d5b233 Removing unused tasks file 4a3b4d7 Update the virtualenv paths only when we have a new venv be9271b Update tox configuration 30da818 Only install to virtual environment 9fb5cf4 Fix ansible-lint complaint about directory permissions c897e48 Remove mongodb vars from the aodh func tests b7f6326 Remove duplicate usage of the galera role in aodh func test dc1e3df DOC - Adding details on required variables for the role cc92c92 Add release note for Mongo to Galera changes be90607 Implement Ubuntu 16.04 support with SystemD f249d7e Clean up container cache prep in tests 783512f Pin test-requirements to match OpenStack requirements 6ebc7b4 Address Ansible bare variable usage ae2e55b Convert default from MongoDB to MySQL storage 25db7ac Remove pip_lock_down dependency e9cf8b4 Consistency for multi-os in the includes c3a216c Verbose option has been deprecated from oslo.log 77e621a Add .swp files to .gitignore c2603d8 Change pip install task state to 'latest' d674996 Remove py_from_git role fd5991d Add dependencies for paramiko 2.0 b4e3f82 Remove Liberty releasenote index 16b8407 Fail fast when required secrets are not present c032ce4 Clarify role documentation and remove duplication d0d97ce blacklist Ansible 1.9.6 ca5020c Updated role using the Multi-Distro framework 84553c6 Add reno scaffolding for release notes management a7630cb Switch defaults/tests to use master branch Diffstat (except docs and test files) ------------------------------------- .gitignore | 8 +- .gitreview | 1 + CONTRIBUTING.rst | 2 - README.rst | 51 ++- Vagrantfile | 26 +- bindep.txt | 41 +++ defaults/main.yml | 93 +++--- examples/playbook.yml | 28 ++ handlers/main.yml | 45 ++- manual-test.rc | 33 ++ meta/main.yml | 11 +- other-requirements.txt | 16 - releasenotes/notes/.placeholder | 0 .../notes/add-xenial-support-5c117335b7b7b407.yaml | 3 + ...os_aodh-only-install-venv-3c80a0a66824fcd7.yaml | 5 + ...package-list-name-changes-4d5ad2e6ff5ecae2.yaml | 4 + .../notes/package-state-b032231a3cc99ee0.yaml | 13 + .../removed-aodh-api-init-9e2406629196efff.yaml | 4 + .../notes/use-galera-storage-d1a51c051d2740ad.yaml | 14 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 281 +++++++++++++++++ releasenotes/source/index.rst | 9 + releasenotes/source/mitaka.rst | 6 + releasenotes/source/unreleased.rst | 5 + setup.cfg | 2 +- setup.py | 11 +- tasks/aodh_apache.yml | 65 ++++ tasks/aodh_db_setup.yml | 19 ++ tasks/aodh_init_common.yml | 29 ++ tasks/aodh_init_systemd.yml | 56 ++++ tasks/aodh_init_upstart.yml | 26 ++ tasks/aodh_install.yml | 136 ++------ tasks/aodh_install_apt.yml | 48 +++ tasks/aodh_post_install.yml | 33 +- tasks/aodh_pre_install.yml | 24 +- tasks/aodh_service_add.yml | 103 ------- tasks/aodh_service_setup.yml | 84 ++++- tasks/aodh_upstart_common_init.yml | 46 --- tasks/aodh_upstart_init.yml | 58 ---- tasks/main.yml | 60 +++- templates/aodh-api-wsgi.py.j2 | 22 ++ templates/aodh-httpd.conf.j2 | 16 + templates/aodh-ports.conf.j2 | 3 + templates/aodh-systemd-init.j2 | 25 ++ templates/aodh-systemd-tempfiles.j2 | 4 + templates/aodh-upstart-init.j2 | 26 +- templates/aodh.conf.j2 | 18 +- test-requirements.txt | 19 +- tox.ini | 158 ++++++---- vars/debian.yml | 31 ++ 63 files changed, 1681 insertions(+), 975 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index 3422d65..8fdd8d8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,9 @@ -ansible-lint<=2.3.9 -ansible>=1.9.1,<2.0.0 -bashate -flake8 +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. +bashate>=0.2 # Apache-2.0 +flake8<2.6.0,>=2.5.4 # MIT +pyasn1 # BSD +pyOpenSSL>=0.14 # Apache-2.0 +requests>=2.10.0 # Apache-2.0 +ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD @@ -7,2 +12,4 @@ flake8 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 -oslosphinx>=2.5.0 # Apache-2.0 +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD +oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +doc8 # Apache-2.0 +reno>=1.8.0 # Apache2