* Update openstack-ansible-os_blazar from branch 'master'
to 54813d6be4c194fa603f9433243ab84f9a4b6595
- Enabled memcached usage for token caching
As of today blazar warns out on startup that using the in-process token
cache is deprecated for quite a while. In order to get rid of this warning
we add memcached configuration for keystone token.
Change-Id: Ibd80231bdb1dfe2e66e69c4538a2129c7f84c92f
* Update openstack-ansible-os_blazar from branch 'master'
to 21f304634e4a61aeab6b0197a9a853d2c521d830
- Add variable to define list of manager plugins
In order to be more flexible regarding required plugins, we implement a
new variable that will allow to set a list of enabled filters for blazar.
With that we also enable floatingip plugin that has been added to Blazar
a while ago.
Change-Id: Iaff9284eec3a57a6470afb5e912cad17970baa2f
* Update openstack-ansible-os_blazar from branch 'master'
to 06291ec0e654514b74011b0a787c9de7f7a91a68
- Create required freepool aggregate
For normal functioning of Blazar reservation it expects a nova agregate exist
to be used for host reservation.
Thus, to make deployment more convenient for deployer we add fuctionality
of creating such aggregate.
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/904786
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/878794
Change-Id: I7f56b8c8f2394d5fae1476441c8e2e2a5f07467c
* Update openstack-ansible-os_blazar from branch 'master'
to 856b4401a1149a70392494fea418e960bb81f883
- 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.
Change-Id: If9a9ee764dd41767aaa1285903eb3c21cc0da40c
* Update openstack-ansible-os_blazar from branch 'master'
to 41554792a3f7b79a66d949a06f0e627b5f753bb3
- Fix linter errors for example playbook
Change-Id: Ibb32523ef2e96b5dd6def8182c591a9792b59fac
* Update openstack-ansible-os_blazar from branch 'master'
to 72cc94356a7a8f6d6e4eb59ec9d99fa2ebfd88ae
- Merge "Fix linters and metadata"
- 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: Ic97b301d704d3bc19142315a69724c05f3cad875
* Update openstack-ansible-os_blazar from branch 'master'
to 8242307cf7899af935e09a354c2ec33b82e19b24
- 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: I753c328569e1ee6d69a0ad2168b6493a3c7438f9
* Update openstack-ansible-os_blazar from branch 'master'
to 8b39e84ec10f5ae4a3f6475ec2e7cef63796c566
- Add TLS support to blazar backends
By overriding the variable `blazar_backend_ssl: True` HTTPS will
be enabled, disabling HTTP support on the blazar 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: Ic784cb180ff4cbc81c230b0a3a62015a71ea3f99
* Update openstack-ansible-os_blazar from branch 'master'
to c9d10f41fad8bcee0f3604727007b8034a7fa67f
- Add uWSGI support to blazar
This patch adds uWSGI support to os_blazar role. All openstack services
should stay behind uWSGI.
It's also required for upcoming TLS backend feature. Blazar does not
have native TLS support so it needs to be handled by uWSGI.
Change-Id: I65511de4d5014a28f0f91536f9dbaf96fcb8e7a2
* Update openstack-ansible-os_blazar from branch 'master'
to c1418e167a8b3d0725d8fdcbade9cc9b8895cc28
- Fix blazar_service_type
As described in [1], blazar_service_type should be set to 'reservation'.
Otherwise blazar CLI won't be able to find its endpoint.
[1] https://docs.openstack.org/blazar/latest/install/install-without-devstack.html
Change-Id: I01874c617e5da75010c54b64901c90a986468807
* Update openstack-ansible-os_blazar from branch 'master'
to 8c0744496b777d2a04c40701600b8bb93a01a613
- 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: I001ffdb5eedfb8d17edd593dfb1818c5b1bd02df
* Update openstack-ansible-os_blazar from branch 'master'
to d643b6026faf3f49a19ff8c31e3a7991f41ee69c
- 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: Id6725ddfc8f014b0fe85c39d40f67cdbad89e818
* Update openstack-ansible-os_blazar from branch 'master'
to 1ed399ce86e79936b9ee9ece8ca8893d9bc8ecf9
- Remove redundant vars line
Introduced by the discreet commit 'update to the latest'
Change-Id: I4dac82dd4e6a51a7b0fc99ec80c5ae2fa7981ea7
* Update openstack-ansible-os_blazar from branch 'master'
to 711160baeac765eaa6248d9ffad0a8011349520e
- 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: I3a1c2d87a39eaf342411f3b607bc909f924944cb
* Update openstack-ansible-os_blazar from branch 'master'
to 1a5758969a402916fda7dd2923074d4f8e7edf92
- 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: Ic60f8576f17e513622c036bd88c9602d82f04c33
* Update openstack-ansible-os_blazar from branch 'master'
to 99d47ee2c7b595507eae92e58d9ffddba9950f45
- 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: Ib6b44ea47b092463994f1a44e70113cad1d00687
* Update openstack-ansible-os_blazar from branch 'master'
to b616643319079ffd820003cefd2ae231a2201d74
- 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: Ibd7e65b25fca496a6393692c6952c9604430ec92
* Update openstack-ansible-os_blazar from branch 'master'
to 7e7b7347f7b4c5d8af3789548ad9c98f5c2e8cfb
- 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: Ib4a0581c5bbe2b14abcd80f97ac2e36ec0dbf4b1
* Update openstack-ansible-os_blazar from branch 'master'
to c5d1740fbeaa0a55321f972f9ef1bec698c6d4ec
- 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: I8abcf60dcc8a264c221de89ff01906edf3ce8a39
* Update openstack-ansible-os_blazar from branch 'master'
to 956c84d1a448c35d5265422eb6bad09cb6be22d6
- 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: I7042118a17d533c472f09bb2098bbc3c01195477
* Update openstack-ansible-os_blazar from branch 'master'
to d4ca9d3483a0d4cdcb7dd9bf3512d89ac527a4ec
- Clean up debian blazar_distro_packages
Sync packages instaklled for debian and redhat. We don't need these
packages to be installed to all blazar containers instead of being devel
ones.
Change-Id: I2f49f5c0badb730cafef6b53c9c99db362285dd8
* Update openstack-ansible-os_blazar from branch 'master'
to f8a2116875a858cbc2c342816561f5ad9ebf66b1
- 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: I953e69dbd07f724562ee6c913a944d0fdf45192e
* Update openstack-ansible-os_blazar from branch 'master'
to d0323e9bb1dbd5be70d9d8d25a977b3afdb1ba66
- 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: Id3033cfd18f074c8665d0c9f580ec4076415c599
* Update openstack-ansible-os_blazar from branch 'master'
to 6e8ccf3f89da7d0eb1d4d959e5eb80eb103aaf80
- Merge "Allow to override blazar policy files"
- Allow to override blazar policy files
We implement `blazar_policy_overrides` variable in order to allow
management of balazar policy files when needed.
Change-Id: I581a9c9659d3d023eb40cf2c6dfc2d01fa0a7464
* Update openstack-ansible-os_blazar from branch 'master'
to e89bd175d5125e1c2d3b396a96accd0ff3097ddc
- Use ansible_facts[] instead of fact variables
See https://github.com/ansible/ansible/issues/73654
Change-Id: Ib92816da66e068fc119c55118f07873e5dba748a
* Update openstack-ansible-os_blazar from branch 'master'
to 8eb1734656b1b91d22ad5f648cb9376173ba5843
- 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: I3781543c5f5005d578a4010ac8ff41dbdcc8407a
* Update openstack-ansible-os_blazar from branch 'master'
to 40944ad5a3e1de7967d207f397353094ef295d3a
- 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: I8d9b29e345501f7a2475b43144d98169c553e1db
* Update openstack-ansible-os_blazar from branch 'master'
to 746e9a48952b41fedf35ec4c9b025f92674c91f4
- Move blazar pip packages from constraints to requirements
This is necessary to support the new pip resolver
Change-Id: I5ce52c9e5a39c376652cba7b13a1e0e50b784aa7
* Update openstack-ansible-os_blazar from branch 'master'
to d7ce529278f23b83bcb5cea376de9c1c455828d8
- Merge "Use global service variables"
- 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: Ifb25edf453f04594303d391c4e1dd245f6400c2b
* Update openstack-ansible-os_blazar from branch 'master'
- Merge "Define condition for the first play host one time"
- 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: I6f1937c329292028e772fbe96d2466000726e4b7
* Update openstack-ansible-os_blazar 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: I731f05f07a92696292c1aa5bdde99089d34566a3
* Update openstack-ansible-os_blazar from branch 'master'
- Add centos-8 support
Renaming redhat-7.yml to redhat.yml for centos-8 support with python3-antlr3 for debian distro.
Change-Id: I91c3b848bb0967d282742113d16326018aa7f7b9
* Update openstack-ansible-os_blazar 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: Idd9ce45c7bbcf115f9f43bdd3a59fc27d2835c5a