Commit Graph

563 Commits

Author SHA1 Message Date
Zuul 506d3bae49 Merge "[Feature] Add skyline deployment capability" 2024-04-16 10:45:07 +00:00
James Denton 2c06a65a75 [Feature] Add skyline deployment capability
This change adds Skyline deployment options to OSA.

New files have been added / integrated into the normal deployment
process to support the use of skyline.

Co-Authored-By: Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk>
Signed-off-by: Kevin Carter <kevin@cloudnull.com>
Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/912333
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/914439
Change-Id: Ia5c8c60fb152e3eb27e2719f6d7032ca62690601
2024-04-05 10:56:31 +00:00
Zuul 5e37cdf534 Merge "Add ovn-bgp-agent to source install requirements" 2024-04-03 17:20:27 +00:00
Zuul f4bf8419e8 Merge "Fix inventory defenition for Cloudkitty" 2024-04-02 17:25:13 +00:00
Zuul da13b8a11d Merge "Define haproxy fact gathering vars at group rather than task level" 2024-04-02 17:25:11 +00:00
Jonathan Rosser dc58e54edf Define haproxy fact gathering vars at group rather than task level
Task vars are higher precedence than inventory group vars so
cannot be overidden except in user_variables (ansible extra vars)
which then become a global setting, which is almost certainly
incorrect for this case.

Change-Id: Ie43e339df50adbe8240ffe43159c28f132e50000
2024-03-28 22:03:45 +00:00
Zuul 2b88403afd Merge "Apply ironic virt_type only for ironic_compute group" 2024-03-28 19:07:32 +00:00
Dmitriy Rabotyagov 959da8cd03 Fix inventory defenition for Cloudkitty
At the moment Cloudkitty is targeted at all LXC hosts along with containers
which is not needed nor intended.

Unfortunatelly there's no really good compatible fix exist, so action from operator is required to handle transition to new naming for
the service.

Change-Id: I9360495e3b3347568969e36e0e96bb1325efd59f
2024-03-22 10:57:51 +00:00
Dmitriy Rabotyagov 4786095e24 Upgrade Gnocchi to 4.6
It is not possible to install Gnocchi 4.5 with 2024.1 due to conflicting
dependency of pyparsing. It is fixed in 4.6 with [1]

[1] a565df6923

Change-Id: I056a4a382abffc2d2b70a0cead787f22dd737fdc
2024-03-08 16:54:13 +01:00
Dmitriy Rabotyagov d588856880 Apply ironic virt_type only for ironic_compute group
With current inventory state, ironic_compute group is not the same as
ironic-compute_hosts, since latter does also include hosts, on which
ironic_compute LXC container resides in LXC scenario.

For example in AIO LXC, 'ironic-compute_hosts' includes aio1, while
ironic_compute - aio1_ironic_compute_container-5fd060b3.

This results in setting `nova_virt_type` for proper nova-compute, that
resides on AIO breaking it.

Change-Id: I47b2e9af86b5dceafe68c7e56e149a8b34c30439
2024-03-08 15:10:52 +01:00
Dmitriy Rabotyagov e72984ca95 Update upstream SHAs
Closes-Bug: #2054224
Change-Id: Idab46a7c557366dabd6979ee08c1332a2d2d7515
2024-03-05 09:18:38 +00:00
Dmitriy Rabotyagov 2a13bc557d Add ovn-bgp-agent to source install requirements
Change-Id: I8f7ec0d29c316bf428caadaf35e18617e5a82d50
2024-03-05 09:15:35 +00:00
Dmitriy Rabotyagov 76bb370450 Fix formatting issue for SPICE HAProxy httpcheck
Due to the issue in formatting healthcheck address was merged with meth
which resulted in invalid haproxy configuration, when SPICE is being used
as a console.

Closes-Bug: #2052891
Change-Id: I38b2ff6887382164e4b28852274ec6dfee4d7d78
2024-02-11 17:17:24 +01:00
Dmitriy Rabotyagov 48eed425ef Add tempest tests for Blazar
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/904785
Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_blazar/+/904791
Change-Id: I05ff19772a4df012cced134c81c9befd3d33d3b5
2024-02-01 21:35:00 +00:00
Dmitriy Rabotyagov e9febf5689 Bump upstream SHAs on master
Change-Id: I5033a41c2995ea12e5588b4c446d38efda735bb7
2024-01-19 18:00:35 +01:00
Dmitriy Rabotyagov 2a54cef636 Return back /healtcheck URI verification
With [1] we have implemented monitoring of helatcheck middleware [2]
for services that does support it. However during refactoring [3] URI was missed
which potentially might have regression for some services. Due to another bug [4] this could be easily missed previously, since only L4 checks
were issued rather then L7.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/864424
[2] https://docs.openstack.org/oslo.middleware/latest/reference/healthcheck_plugins.html
[3] https://review.opendev.org/c/openstack/openstack-ansible/+/887285
[4] https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/903463

Change-Id: Ief4e81d6b6708d5830d753408d279bd6dea8fd52
2024-01-10 19:09:36 +00:00
Dmitriy Rabotyagov 4203aa26c6 Modify RGW client format
With changes to config_template module that restored usage of {% raw %} tags [1]
renderring of mapping keys, if they're defined as variables, was broken.

Ansible, by design [2], does not render mapping keys. Moreover, it was not
working as intended anyway, since renderring happened in post-copy stage
so same records were not merged together, which resulted in #1812245

As such behaviour is expected by Ansible design, instead of adding some
workaround in config_template module, I suggest working around issue
by defining troublesome mapping with Jinja, that will allow it to render properly.

[1] https://review.opendev.org/c/openstack/ansible-config_template/+/881887
[2] https://github.com/ansible/ansible/issues/17324#issuecomment-685102595

Closes-Bug: #2048036
Related-Bug: #1812245
Change-Id: I8a32736239c6326d817c620451799c13d5d8938c
2024-01-04 14:41:59 +00:00
Dmitriy Rabotyagov 6d4ca83f2c Switch back to track master
Once we've branched it's time to switch back to tracking master and continue 2024.1 development

Change-Id: I15a2e706ec97c617475b2a2f13022147adf94ee1
2023-12-14 09:47:31 +00:00
Zuul 2f7bf0c0f0 Merge "Fix http-check ordering for services" 2023-12-13 00:18:13 +00:00
Dmitriy Rabotyagov 6a276938e7 Fix http-check ordering for services
Despite not being documented, order of http-check options are important

Defining `expect` before `check` leads to configuration error. In order to
avoid that we fix some defenitions of haproxy_services variable.

Related-Bug: #2046223

Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/903463
Change-Id: I6153e1ba5a4c45e2ed78d69da73e6524e3911db0
2023-12-12 11:46:36 +00:00
Zuul c9f50fd949 Merge "Bump roles and upstream version for 28.0.0.rc1" 2023-12-11 11:01:35 +00:00
Dmitriy Rabotyagov 1403962a83 Bump roles and upstream version for 28.0.0.rc1
Change-Id: Icd2a692cd0077d1fb1b9cf9ae0572dc7878c70b4
2023-12-08 15:52:21 +00:00
Dmitriy Rabotyagov 7b4640d5fb Add variable to control queues redundancy
Since we have 2 redundancy scenarios that are controlled independnetly
and are exclusive, we add variable to disable any queues redundancy.
This also allows to adjust logic of classic queues versioning, since usage
of CQv2 with classic mirrored queues may result in reduced performance
as CQv2 do not have optimizations for mirrored queues [1]

[1] https://blog.rabbitmq.com/posts/2023/05/rabbitmq-3.12-performance-improvements/#classic-queues-massively-improved-classic-queues-v2-cqv2

Change-Id: I81c7e9ce0ed090d7b87ba865c7dd5b4b706701d5
2023-12-08 15:52:10 +00:00
Zuul 038dd1b41b Merge "Disable RabbitMQ quorum queues by default" 2023-12-03 21:42:22 +00:00
Zuul 12c27cdd96 Merge "Fix classic queues version policy" 2023-12-01 15:15:03 +00:00
Dmitriy Rabotyagov f33a8b1836 Disable RabbitMQ quorum queues by default
During PTG we agreed to disable quorum queues by default during this
cycle and wait for improvements proposed as part of [1] before enabling
it by default.

This also adds a separate job that will test scenario with enabled quorum
queues.

[1] https://review.opendev.org/q/topic:bug-2031497

Change-Id: I0807cc1ed991fd85f9f74d4a360d3fd23cde227c
2023-11-27 10:23:49 +00:00
Dmitriy Rabotyagov 8907ce8ee4 Remove glance_available_stores logic from group_vars
This logic has been added to handle TLS condition for glance when ceph
is used.
However, it was never working as `ceph` is not a valid store type, since
it should be `rbd` instead. At the same time logic around available
stores is way more complex.

Needed-By: https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/901034
Change-Id: I426be7d21ba9267879eadf282f5dd055485b37c3
2023-11-24 08:37:24 +00:00
Dmitriy Rabotyagov 22bc3a5fb1 Fix classic queues version policy
Switch of the policy for classic to version 2 has been wrong in inital
patch [1] both in format and policy name. This patch aims to fix
policy defenition.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/895806

Change-Id: I163126097459d5d07563c384b7f92f8ecccb78f2
2023-11-20 19:33:16 +01:00
Zuul fb3a6964fc Merge "Explicitly add localhost to inventory.ini" 2023-11-10 12:15:37 +00:00
Damian Dabrowski 8f3c02d2da Explicitly add localhost to inventory.ini
Because implicit localhost is not a part of 'all' or any other group,
playbooks executed with '--limit' may not take it into account.
The problem was extensively described in bug #2041717.

This change explicitly adds localhost to OSA inventory to avoid
unexpected behavior.

Closes-Bug: #2041717
Change-Id: Ib44ed22d7132b42a4185a91f12c66ced5a1a6209
2023-11-01 00:32:57 +00:00
Zuul 99171dfb6a Merge "Deprecate OpenDaylight support" 2023-10-31 11:49:49 +00:00
Zuul 7d4bd297bd Merge "Replace deprecated httpchk with send" 2023-10-30 18:27:04 +00:00
Zuul f0db52b224 Merge "Map default value of rabbitmq_management_ssl to haproxy_ssl" 2023-10-27 11:14:26 +00:00
Dmitriy Rabotyagov 4245f268fb Deprecate OpenDaylight support
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/897421
Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/897461
Change-Id: I40ae5f158a7658cb2a6fa3b99cc64468281e5ad0
2023-10-27 06:27:16 +00:00
Zuul 1bf1880eec Merge "Track stable/2023.2 SHAs for upstream projects" 2023-10-26 23:20:08 +00:00
Dmitriy Rabotyagov 66b3736654 Map default value of rabbitmq_management_ssl to haproxy_ssl
At the moment all haproxy backends are defined if TLS should be used by
using `haproxy_ssl` variable. If deployer don't want to have SSL, they
are supposed to use the variable for that. However, the only service that
is not respecting that is RabbitMQ management interface.

As a result haproxy fails with the invalid configuration, since
certificates are not provisioned when `haproxy_ssl` is False.
So configuration at the end is invalid as reffer to the certificate
that does not exist on the host and was not even issued.

Change-Id: Idc924d4ee485c8e6efc15b90df90ba5021a106e4
2023-10-26 18:28:25 +02:00
Dmitriy Rabotyagov ceea75feea Track stable/2023.2 SHAs for upstream projects
Since 2023.2 has been released, we're switching to track and test code
against 2023.2 stable branch and update SHAs to the HEAD of the branch.

Change-Id: I59951bce68fb898a3b0845b5c5f2443e5d57e3bb
2023-10-26 15:42:40 +00:00
Dmitriy Rabotyagov f4be49b6fe Replace deprecated httpchk with send
We have replaced httpchk in previous patch [1] while missing to cover
RGW with the change.

[1] https://review.opendev.org/c/openstack/openstack-ansible/+/887285

Change-Id: If642af90f433c3ed02eee5a556d4eaffa3f50a22
2023-10-26 12:09:31 +02:00
Dmitriy Rabotyagov 285c8a04ad Switch classic queues to version 2
Usage of version 2 of classic queues is highly advised, since RabbitMQ
3.13 is going to remove support of version 1 [1]

[1] https://blog.rabbitmq.com/posts/2023/05/rabbitmq-3.12-performance-improvements/#classic-queues-massively-improved-classic-queues-v2-cqv2

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/895804
Change-Id: I83cd385e3ec50d6bf66a34609be147a398a7940e
2023-10-05 11:42:14 +00:00
Dmitriy Rabotyagov 48847ab076 Update Senlin SHA
New Senlin SHA is fixing upgrade jobs

Change-Id: Idb530cbe11c641182079d258c95423a84c8aa8af
2023-09-04 16:57:01 +00:00
Zuul dd3e54cc82 Merge "Replace HA policies for RabbitMQ with quorum" 2023-09-03 11:15:10 +00:00
Zuul ae61cb1609 Merge "Do not add all computes as OVN gateways" 2023-09-02 20:57:50 +00:00
Zuul 390681d85d Merge "Enable multiple console proxies when required in deployments" 2023-09-01 17:45:10 +00:00
Andrew Bonney 66d0dc7626 Enable multiple console proxies when required in deployments
When Nova is deployed with a mix of x86 and arm systems
(for example), it may be necessary to deploy both 'novnc' and
'serialconsole' proxy services on the same host in order to
service the mixed compute estate.

This patch introduces a list which defines the required proxy
console types.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/890521

Change-Id: I5ed49878c192516a504a4a77902271214800c5b8
2023-09-01 08:00:00 +00:00
Jonathan Rosser a831e4b6c1 Fix ansible_ssh_extra_args extra newline
This breaks the use of the ansible synchronize module
when the parameter use_ssh_args is true with an error
from ssh via rsync that there is an unknown parameter.

Removing the newline makes the synchronize module
work correctly.

Change-Id: Ib7fc3068ecc339e02d641196513c1b676a9a9f69
2023-08-31 15:58:02 +00:00
Dmitriy Rabotyagov cc9e72b7f0 Do not add all computes as OVN gateways
At the moment all compute nodes are explicitly added as
OVN gateway nodes. At the same time one of recommended setups
are to not pass public networks to compute hosts and have
standalone network nodes that are running ovn gateways which is
not possible to configure with current setup.

Change-Id: If99ddc47d32acf41cdb542b4e56d90b6e3589a56
2023-08-23 16:13:24 +02:00
Dmitriy Rabotyagov 62fb57b2d7 Replace HA policies for RabbitMQ with quorum
HA policies were replaced with quorum queues [1] and discuouraged and
marked for removal in 4.0 [2]

Based on that we perform migration from HA queues to quorum,
since they're already supported in oslo.messaging.

Patches per-service are required to enable quorum queues in service
configuration.

This also adjusts upgrade doc to contain a variable required for
proper nova cell update on changed vhost.

[1] https://www.rabbitmq.com/quorum-queues.html
[2] https://blog.rabbitmq.com/posts/2021/08/4.0-deprecation-announcements/

Change-Id: Icd5eabcad4801b454f29b388613d7241bb9b0ad0
2023-08-23 13:39:47 +02:00
Zuul e88ba9b917 Merge "Respect haproxy_bind_internal_lb_vip_* variables" 2023-08-22 13:07:37 +00:00
Zuul 84c074b6ee Merge "Bump upstream SHAs" 2023-08-22 10:35:21 +00:00
Dmitriy Rabotyagov a8c1590983 Respect haproxy_bind_internal_lb_vip_* variables
At the moment we assume that haproxy should be fine listening on
internal_lb_vip_address, but in real life deployments these are FQDN
and in case of using DNS RR, this assumption is invalid.

We can be smarter and check if haproxy_bind_internal_lb_vip_* variables
are defined, and fallback to previous behaviour if not.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/852039
Change-Id: Ic0b9646d566425878930eb88745e35f9e6cc2e11
2023-08-22 07:58:02 +00:00