* Update openstack-ansible-os_tacker from branch 'master'
to c15dc767fd2ea583227e22ca250d5ecbf423900d
- Add quorum queues 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.
In order to ensure upgrade path and ability to switch back to HA queues
we change vhost names with removing leading `/`, as enabling quorum
requires to remove exchange which is tricky thing to do with running
services.
Change-Id: I9b9de6cdfac8ba3a89b874cd920df8d5b01e81f2
* Update openstack-ansible-os_tacker from branch 'master'
to 59c2e45f6d6993cf69dd394711ef32f275e60599
- Fix linters for example playbook
Change-Id: I439d4e817f0a3693758a19ffbd9c84d475977a66
* Update openstack-ansible-os_tacker from branch 'master'
to 610cb662624bc177534ad649b0c34ec9708b8761
- 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.
Change-Id: I7835892960360ddea73ba98ed1cbdc8268d5e71e
* Update openstack-ansible-os_tacker from branch 'master'
to 8d4a5ec633476dc2307a50193a990b34d6a1380e
- 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: I6c0e5e73d0c1842432e506eb8fa9e002f3b9a24a
* Update openstack-ansible-os_tacker from branch 'master'
to 4382257d3f4328830786a97feea0c452aefa7f43
- 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
Change-Id: I9aaf6680c274453a16b6f9879cf488ae2050e71f
* Update openstack-ansible-os_tacker from branch 'master'
to 168e116a36423e46ab3c2bcf5aa7b34f46122a34
- Add TLS support to tacker backends
By overriding the variable `tacker_backend_ssl: True` HTTPS will
be enabled, disabling HTTP support on the tacker 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: Ib5dd3a2494bed81add670e331085294910d7f425
* Update openstack-ansible-os_tacker from branch 'master'
to 3aa5aefb1bddbbac7fbb22ce11fd7426859c628c
- 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: I4ebae4853fc0bc2840d3ea79546f10a12051bea9
* Update openstack-ansible-os_tacker from branch 'master'
to 98e8e3c8e8c8e89c7cdefad9601f99fa0432fc80
- 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: Id85cca75b829d2f07916278d5385d96301c34cf6
* Update openstack-ansible-os_tacker from branch 'master'
to a2800f0d284eaf0b1749dc761d3ecb388fed3bfd
- Add deployment of tacker-scheduler
There's a long-standing bug from 2017 that tacker requires scheduler
service to run. However it seemed no real interest to tacker among OSA
users. Nevertheless it's better late then never fixing it.
Change-Id: I70264ef5ffd6ebb851e4d3c4c86c28ea222f7139
Closes-Bug: #1710874
* Update openstack-ansible-os_tacker from branch 'master'
to 9bdcf00ec419fba647e0f689b675dd9fc834938c
- Remove redundant vars line
This line snuck in with I854ca5c48f487ed140aafcb79e4ac0cd60b83597
probably to bring it in line with other OSA roles, but should already
be covered by the distribution_major_version line above.
Change-Id: Iae73c52c2c29db0952f7d8a5ae35b92088affe5a
* Update openstack-ansible-os_tacker from branch 'master'
to 0e27d6a3a1e8232ffa4ddfa818e4c37c3b4b3c0a
- 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-plugins/+/845690
Change-Id: I9fa323e544849f7c24ccd7b860160bb5756ada28
* Update openstack-ansible-os_tacker from branch 'master'
to d3794939f010941ef4c616155a03ef978e8e5eb7
- 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: I6f1f4a56d8f96c70308b630c149ec87f6c45b832
* Update openstack-ansible-os_tacker from branch 'master'
to 5388201d1d3dc45ab122bf608c0c27f87466141e
- Merge "Use common service setup tasks from a collection rather than in-role"
- Use common service setup tasks from a collection rather than in-role
Change-Id: I3f49bc1ad684755a9e591e3bf079493415a908c1
* Update openstack-ansible-os_tacker from branch 'master'
to a19c326390e7fcb7e42aafe604f110fd3bac2ffb
- 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: I854ca5c48f487ed140aafcb79e4ac0cd60b83597
* Update openstack-ansible-os_tacker from branch 'master'
to 68bdc789cb71660d8e4c6204bbbdd43da40d0513
- 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: I36f5315ad27904c817f4349151fca4181180e811
* Update openstack-ansible-os_tacker from branch 'master'
to 00e386a1a785daf03d5c325e8c13d36ff32afbf7
- 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: I196d4b2e26f803afbd917af729be4183884c7eea
* Update openstack-ansible-os_tacker from branch 'master'
to a0cb1f7b7ca046254d833256d9852c83a2d7365e
- 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: I42d544d80d8fef5be9a68e6ef7090f85d0daa88c
* Update openstack-ansible-os_tacker from branch 'master'
to e89cbd2f4f7662e40f1dd560e234193a544a87a1
- 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: I561d6dfe70b956ce9c67aa3277b7968dcae6e487
* Update openstack-ansible-os_tacker from branch 'master'
to 906e596a81fd10b4c6275ff622c632b740fbe33d
- Update tacker config
Takcer hasn't been paid any attention for a while and current
configuration is not relevant and contain obvious mistakes.
While patch doesn't aim to fully fix all issues, we at least improve
things by removing obvious mistakes.
Change-Id: Ib8b89fa2664e63245b503780e4fc65d813db0e6f
* Update openstack-ansible-os_tacker from branch 'master'
to 0f25273f85a324dbe174e4ea2fc12b62f2082a3e
- 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: I4c18653c53a7d0b26b05a25757721879c0131ff5
* Update openstack-ansible-os_tacker from branch 'master'
to e1a5b3cf2b1d9ef36b8f9cc6173f16b101052aed
- [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to replace policy.json to
policy.yaml and remove deprecated policy.json.
config_template has been choosen instead of the copy, since it can
properly handle content that has been lookuped.
We make a separate task not to restart service when it's not needed.
[1] https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I0606751e4e7707091cd34429deeee01630eb576a
* Update openstack-ansible-os_tacker from branch 'master'
to 6c7e6847b7b9ed7aa5a0cdd1689d14de81290ce8
- Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654
Change-Id: I964783d5d992feff42021e5a3017d89326ea2e70
* Update openstack-ansible-os_tacker from branch 'master'
to f70d823db38d416bae875c4d3e0f2e8f6e169dfc
- 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
Change-Id: I68735b995fe1bce23edb8c092f2199fdde137acd
* Update openstack-ansible-os_tacker from branch 'master'
to ea344492936cdce7b59d7f94c3d34ab0c52cdc36
- Merge "Move tacker pip packages from constraints to requirements"
- Move tacker pip packages from constraints to requirements
This is necessary to use the new pip resolver
Change-Id: I02342575151053c8bdd1a5b22514a82fef0613a2
* Update openstack-ansible-os_tacker from branch 'master'
to 7b869bf073a7646c8ec82282e4a15ef84aad927a
- [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: Ieb586ca22e19b84433b8faea1b27fb66c1e7e9f9
* Update openstack-ansible-os_tacker from branch 'master'
to 74db1fd74799c03f815237d787785430102b4db5
- 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: I1dd906a82e3963d2b4f0497570195885abab0530
* Update openstack-ansible-os_tacker from branch 'master'
- Replace deprecated UPPER_CONSTRAINTS_FILE variable
UPPER_CONSTRAINTS_FILE is deprecated and TOX_CONSTRAINTS_FILE is
the new environment variable name that replaces it [1].
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
[1] https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file
[2] https://review.opendev.org/#/c/722814/
Change-Id: If72cc1e0b6ac3374eabb3309a793478d4fd1d6ec
* Update openstack-ansible-os_tacker 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: I5c92722d5e7c49d0a01c7e9dbd0b254b5bea6dc4
* Update openstack-ansible-os_tacker 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: I065c079fb95f299f90b51e22e8aad42fc5dbb618
* Update openstack-ansible-os_tacker from branch 'master'
- Add centos-8 support
Renaming redhat-7.yml to redhat.yml for centos-8 support.
Change-Id: If16832b24c89a02d04abd947688f291c0d50c7e9
* Update openstack-ansible-os_tacker from branch 'master'
- Merge "Use newer openstackdocstheme and reno versions"
- Use newer openstackdocstheme and reno versions
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I9596b331b8f5227eeb1a6e59bb559b95612c8f3e
* Update openstack-ansible-os_tacker from branch 'master'
- Merge "Update docstheme for style"
- Update docstheme for style
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Change-Id: I58d25d7ab83208be8289bf106e10520b87221981
* Update openstack-ansible-os_tacker from branch 'master'
- Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: Ifd323c3d7b6d17cde3ecef8fdf0d4c90a70a5e1a
Sem-Ver: feature