* Update openstack-ansible-os_aodh from branch 'master'
to c6b7df85a87fe200e0b8e0e140f8c30d739e0cac
- Add quorum support for service
This change implements and enables by default quorum support
for rabbitmq as well as providing default variables to globally tune
it's behaviour.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/896017
Change-Id: I02d380104ffc9507fdbf660db2627b0b1930f9ec
* Update openstack-ansible-os_aodh from branch 'master'
to bf019ab6d79d441bf19885cd19f2d0402e9653a5
- Fix linters and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.
With that we also update metdata to reflect current state.
Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/888223
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/888517
Change-Id: I53c0166beb446802641c701f6e43d5e317f9d54a
* Update openstack-ansible-os_aodh from branch 'master'
to eeb070c6823e1d25368d10a1d846972e30c99cb8
- Merge "Use proper galera port in configuration"
- Use proper galera port in configuration
While <service>_galera_port is defined and used for db_setup
role, it's not in fact used in a connection string for oslo.db.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/888517
Change-Id: I6299827be3828931f9c796edb655aae8f1fcff23
* Update openstack-ansible-os_aodh from branch 'master'
to 19a539d8b7fb6fe241aaae29d7fbfe835d6460e6
- Define constraints file for docs and renos
Right now we are not using any constraints for docs and releasenotes builds.
This has resulted in docs job failures once Sphinx 7.2.0 has been released.
The patch will ensure that constraints are used an we should not face
simmilar issue again.
TOX_CONSTRAINTS_FILE is updated by Release bot once new branch is created,
so it should always track relevant constraints.
Some extra syntax-related changes can apply, since patch is being passed
through ConfigParser, that does not preserve comments and align indenting.
Change-Id: Ida35a2a1e00284d4d3b6b27fa800ce532d09e9a8
* Update openstack-ansible-os_aodh from branch 'master'
to 4b2134df19205a916e396bf0e1e18a9e263a78ef
- Add TLS support to aodh backends
By overriding the variable `aodh_backend_ssl: True` HTTPS will
be enabled, disabling HTTP support on the aodh backend api.
The ansible-role-pki is used to generate the required TLS
certificates if this functionality is enabled.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/879085
Change-Id: Ibb4d7b465f07fff6c172b38aa647fd8d6a4fcd43
* Update openstack-ansible-os_aodh from branch 'master'
to ec2caff080c2e10db37fb99000898e895e989512
- Ensure service is restarted on unit file changes
At the moment we don't restart services if systemd unit file is changed.
We knowingly prevent systemd_service role handlers to execute
by providing `state: started` as otherwise service will be restarted twice.
With that now we ensure that role handlers will also listen for systemd
unit changes.
Change-Id: Ic56d5d1bd1ead8fd6bb642913370fa206799256f
* Update openstack-ansible-os_aodh from branch 'master'
to 7000e35a6c7e66ca58db9931f6264115609250ff
- Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I003e0137edc97b7ae64c3de84df3a276d22ef01d
* Update openstack-ansible-os_aodh from branch 'master'
to c87f251c5acf63b66c4083e39adecf180dbcace8
- Install git into aodh containers
If venv_wheel_build_enabled is default to False, aodh will fail to clone
and install repositories due to missing git binary.
Related-bug: #1995535
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_ceilometer/+/864962
Signed-off-by: Matthew Thode <mthode@mthode.org>
Change-Id: Ied5a4defa1351dced468a7215e5c84fe30a58c24
* Update openstack-ansible-os_aodh from branch 'master'
to f6ff84cdcc68890bb5c5bd2ac5fa4890fe0bae0a
- Remove redundant vars line
This line snuck in with I6e1931e55c3b492ea0b5eb6e093c7cb5f5e826ac
probably to bring it in line with other OSA roles, but should already
be covered by the distribution_major_version line above.
Change-Id: Ia84ef13bb31b52e7f3875ed731cf06ddbcdb5951
* Update openstack-ansible-os_aodh from branch 'master'
to 3e94523ec73c1c3197ad3c4f820f0c55c2cd306d
- Support service tokens
Implement support for service_tokens. For that we convert
role_name to be a list along with renaming corresponding variable.
Additionally service_type is defined now for keystone_authtoken which
enables to validate tokens with restricted access rules
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_gnocchi/+/846347
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/845690
Change-Id: I883d84859811714362c5b58f33dfae808317bfdc
* Update openstack-ansible-os_aodh from branch 'master'
to 1f5f88d80eece34a20b189a1c67f8bbe07382a52
- Switch sphinx language to en
With sphinx release of 5.0.0, they changed default for language variable
to 'en' from None. With that current None valuable is not valid and should
not be used.
Change-Id: Id2e8e24364a743fc5154e5c2e63fa1f5eaeb1f2c
* Update openstack-ansible-os_aodh from branch 'master'
to a71e9a533928e2a86b2b5c64ef0dcfd613188ee8
- Merge "Use openstack uri proto"
- Use openstack uri proto
Align aodh role with others and use
openstack_service_<type>uri_proto variables as default ones
to define protocol being used for endpoints.
Change-Id: Idbc68f7496fd57f98fc77b9d0e345e576b51d108
* Update openstack-ansible-os_aodh from branch 'master'
to 7c9db91baa019708de9c17734a5d85b6571f4508
- Merge "Ensure libxml2 is installed on debian systems"
- Ensure libxml2 is installed on debian systems
Closes-Bug: 1958434
Change-Id: I8ad644ed723e05058be92e5f67a4d7b7542a7071
* Update openstack-ansible-os_aodh from branch 'master'
to 88c914ac6b9c763172dc9b2dc5ccb25ee6f509e3
- Refactor use of include_vars
Use a first_found lookup instead of a with_first_found loop so that
the 'paths' parameter can be used.
This ensures that only vars from the role are included, and not vars
from a parent calling role. This can happen when a parent role has
a higher priority vars file available for inclusion than the role
it calls.
Change-Id: I6e1931e55c3b492ea0b5eb6e093c7cb5f5e826ac
* Update openstack-ansible-os_aodh from branch 'master'
to b6307058ec11621dd905b37a592ae28b37e3398c
- Database connection pooling improvements
- Implemented new variable ``connection_recycle_time`` responsible for SQLAlchemy's connection recycling
- Set new default values for db pooling variables which are inherited from the global ones.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819424
Change-Id: Id7b0c26409a0d1b33a679201655a4dd08bacc57a
* Update openstack-ansible-os_aodh from branch 'master'
to 4546eb97eea1c2c25703f413e74f35f4fee4e9b7
- Use config_template as a collection
Since we still use ceph-ansible that has their own implementation of
config_template module it's worth to use mentioned module as a collection
explicitly.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/819814
Change-Id: I8012108a59b52156fefc0d73011465066f922c4e
* Update openstack-ansible-os_aodh from branch 'master'
to bc541db1a2f314156f2116ecb1df556ac9223282
- Refactor galera_use_ssl behaviour
With PKI role in place in most cases you don't need to explicitly
provide path to the CA file because PKI role ensures that CA is trusted
by the system overall. In the meanwhile in PyMySQL [1] you must either
provide CA file or cert/key or enable verify.
Since current behaviour is to provide path to the custom CA we expect
certificate being trusted overall. Thus we enable cert verification when
galera_use_ssl is True.
[1] 78f0cf99e5/pymysql/connections.py (L267)
Change-Id: Ie02010583c9c9fc82211065cedac4fc120a31318
* Update openstack-ansible-os_aodh from branch 'master'
to bcedd4e7c22e6c3061c433c272bbd138936c961d
- Changed minversion in tox to 3.18.0
The patch bumps min version of tox to 3.18.0 in order to
replace tox's whitelist_externals by allowlist_externals option:
https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23
Change-Id: Ic6bf814245e150811c3edb33f94ab5105ce76c8a
* Update openstack-ansible-os_aodh from branch 'master'
to a38daa515d8dda3120af8d6cf4088bc9ae009d1f
- Replace linters test with integarted one
We've created integrated linters check job a while back and it's successfully
working for several releases. At the moment we experience difficulties
with future maintenance of the linters check from the openstack-ansible-tests
repo. So instead of fixing current one, we replace it with modern version of
the test.
Change-Id: I1f3746d04f1d339709db2d06d5af1158a39ebd0c
* Update openstack-ansible-os_aodh from branch 'master'
to 18c511c63bfa7c8aaa6b5614badb13257042878f
- Merge "[reno] Stop publishing release notes"
- [reno] Stop publishing release notes
Since we copy all release notes to the integrated repo there is not need
in publishing release notes for each repository. We should only verify their
validity and linting.
Change-Id: I16984f76ef7b8962fa3d242ba0d5b24cca98b4e6
* Update openstack-ansible-os_aodh from branch 'master'
to 3b304fbbf66a4d912655e3d82a1673c6c62bae36
- Merge "Use ansible_facts[] instead of fact variables"
- Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654
Change-Id: I83375d4d96fee13c21dc133dbf5a5b8ed64b826a
* Update openstack-ansible-os_aodh from branch 'master'
to aa0b8ee1ce5d7cb84639bf513d43598d7c7e6c74
- Merge "Remove references to unsupported operating systems"
- Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7 are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible
Depends-On: Ia88b8e606a19ad8ee20665e125df1079b0a771ff
Change-Id: I88c4317a711ec9c8e00b13a2f4deede1e53830b1
* Update openstack-ansible-os_aodh from branch 'master'
to c6392f979709ea92473c56c1fe2f47de0d1cb351
- Merge "Move aodh pip packages from constraints to requirements"
- Move aodh pip packages from constraints to requirements
Change-Id: I73773536938dff9f768381a333c5fa02c98e9d55
* Update openstack-ansible-os_aodh from branch 'master'
to d6d0cd22ed0b35f787ca135d6d3ced4d129244e8
- Use global service variables
Instead of overriding each service separatelly it might make
sense for deployers to define some higher level variable that
will be used first or fallback to default variable.
Change-Id: I74376cc3c20df54663ffbec5daa7413853391714
* Update openstack-ansible-os_aodh from branch 'master'
- Reduce number of processes on small systems
Even the most modest 4C/8T system would run with the maximum 16 processes
due to the calculation being VCPU*2.
We devide amount of CPUs to number of threads for hyperthreaded CPUs
Change-Id: Iab8ed570cb6f60afc09f4ae47b97c49c8e61072d
* Update openstack-ansible-os_aodh from branch 'master'
- Trigger uwsgi restart
When we were migrating service to uwsgi usage, we clean forgot to
trigger uwsgi restart on service config change.
Change-Id: I267740e0a2c342e1ac3277a236d8a7f23830134b
* Update openstack-ansible-os_aodh from branch 'master'
- Revert "Remove CI jobs to allow db setup patch to merge"
This reverts commit f6f96e8b9c22f9a36b65a510a788ab10d4e64394.
Depends-On: https://review.opendev.org/754722
Change-Id: I89a9a94f29460cda10b284e2ca14c046967a922d
* Update openstack-ansible-os_aodh from branch 'master'
- Use the utility host for db setup tasks
Move it to the service setup host (defaults to utility[0]) instead
of the galera[0] host, and use galera_address (defaults to internal VIP)
as the endpoint instead of a local connection on the db host.
Change-Id: I1171b6a45563e4eccf45e8840e5dd332001ff3b7
* Update openstack-ansible-os_aodh from branch 'master'
- Remove CI jobs to allow db setup patch to merge
This requires patches to merge at the same time in os_panko,
os_gnocchi and os_aodh which is not possible.
Change-Id: Ic7c98be2464650a89ab2472e34d5f764639b0133
* Update openstack-ansible-os_aodh from branch 'master'
- Define condition for the first play host one time
We use the same condition, which defines against what host some "service"
tasks should run against, several times. It's hard to keep it the same
across the role and ansible spending additional resources to evaluate
it each time, so it's simpler and better for the maintenance to set
a boolean variable which will say for all tasks, that we want to run
only against signle host, if they should run or not now.
Change-Id: Ia57c07c583be6e3fb9582b1d4a2da0deb4854154