13824 Commits

Author SHA1 Message Date
Zuul
0dac9eb93d Merge "Fix mariadb role when used with check mode" 2024-02-15 14:13:18 +00:00
Michal Nasiadka
63cf525af5 CI: Increase RADOS timeout for cephadm jobs
Default timeout is 5 and we're often hitting that on our poor man's
Ceph.

Change-Id: Ide92b3c32150c0045b0723155f94b21ea9cdce66
2024-02-14 10:02:35 +00:00
Michal Nasiadka
fe155496e1 CI: Switch cephadm jobs to redis
etcd is flakey and complaining over slow disk

Change-Id: I1f5191015b53bdb218cfeaa43586ecf2d71a161e
2024-02-13 12:46:23 +01:00
Zuul
07bbf1707f Merge "[CI] Enable testing horizon" 2024-02-09 13:03:12 +00:00
Zuul
92286fa7ee Merge "Fix horizon deployment" 2024-02-09 12:57:33 +00:00
Zuul
23909f1b9e Merge "CI: Run SLURP upgrade job" 2024-02-09 10:41:54 +00:00
Zuul
35352a6be0 Merge "Rework horizon role to support local_settings.d" 2024-02-08 20:45:20 +00:00
Zuul
8ccdc1898e Merge "Rename horizon settings filenames" 2024-02-08 16:09:17 +00:00
Michal Nasiadka
09fb029569 CI: Run SLURP upgrade job
Change-Id: I246b14c9b547c6a0ff0be68ad57e723839cc3275
2024-02-08 13:13:35 +00:00
Zuul
54451a814b Merge "openvswitch: Set fail_mode to standalone for external bridges" 2024-02-08 11:38:15 +00:00
Michal Arbet
05462c471c [CI] Enable testing horizon
Change Ib7f72b2663199ef80844a412bc436c6ef09322cc
disabled horizon testing. This patch enabling
horizon tests again.

Change-Id: Iff670525c91c8adbcf2a01288b12456cb4a31809
2024-02-07 16:13:27 +01:00
Michal Arbet
4108aea879 Fix horizon deployment
New horizon release use [1] for cache backend
instead of [2] as it was in previous versions.

This patch:

1. Removes override from config and
   configure only memcached endpoints, not backend
   specification itself. This will avoid bugs
   in future in case BACKEND will be switched again.

2. Remove 'memcached' context from kolla_address filter
   and use 'url' as [1] don't support inet6:[{address}]
   for ipv6 but supports [{address}] which 'url' provides.

[1] django.core.cache.backends.memcached.PyMemcacheCache
[2] django.core.cache.backends.memcached.MemcachedCache

Change-Id: Ie3a8f47e7b776b6aa2bb9b1522fdd4514ea1484b
2024-02-07 16:13:27 +01:00
Michal Arbet
b5aa63dee1 Rework horizon role to support local_settings.d
This patch implements horizon's preferred way how
to configure itself described in docs [1],

[1] https://docs.openstack.org/horizon/latest/configuration/settings.html

Depends-On: https://review.opendev.org/c/openstack/kolla/+/906339
Change-Id: I60ab4634bf4333c47d00b12fc4ec00570062bd18
2024-02-07 16:13:26 +01:00
Michal Nasiadka
5016b3efaf openvswitch: Set fail_mode to standalone for external bridges
That is the ovs-vsctl default but Ansible module is failing in
reconfigure step - and secure breaks external connectivity in
OVN.

From OVS docs:
fail_mode: optional string, either secure or standalone

When  a controller is configured, it is, ordinarily, responsible
for setting up all flows on the switch. Thus, if the  connection
to  the  controller fails, no new network connections can be set
up. If the connection to the controller stays down long  enough,
no  packets can pass through the switch at all. This setting de‐
termines the switch’s response to such a situation.  It  may  be
set to one of the following:

standalone
    If  no  message is received from the controller for three
    times  the  inactivity  probe  interval   (see   inactiv‐
    ity_probe), then Open vSwitch will take over responsibil‐
    ity for setting up flows.  In  this  mode,  Open  vSwitch
    causes  the  bridge  to act like an ordinary MAC-learning
    switch. Open vSwitch will continue to retry connecting to
    the controller in the background and, when the connection
    succeeds, it will discontinue its standalone behavior.

secure 
    Open vSwitch will not set up flows on its  own  when  the
    controller  connection  fails  or when no controllers are
    defined. The bridge will continue to retry connecting  to
    any defined controllers forever.

The default is standalone if the value is unset, but future ver‐
sions of Open vSwitch may change the default.

Change-Id: Ica4dda2914113e8f8349e7227161cb81a02b33ee
2024-02-07 13:34:50 +00:00
Zuul
074d8b0ebf Merge "Enable HAProxy Prometheus metrics endpoint" 2024-02-07 10:33:24 +00:00
Zuul
53f2c582d9 Merge "Update keystone service user passwords" 2024-02-07 10:07:30 +00:00
Michal Arbet
d0b93a631d Fix mariadb role when used with check mode
This patch adds check_mode: false to tasks
in restart_services.yml which just checking
some WSREP status and if port is UP.

Closes-Bug: #2052501
Change-Id: I92a591900d85138a87991a18dd4339efd053ef1b
2024-02-06 10:39:34 +01:00
Zuul
1b96b89df0 Merge "openvswitch: use Ansible modules to set up bridge" 2024-02-06 09:02:34 +00:00
Zuul
e838c679ac Merge "reno: Update master for unmaintained/yoga" 2024-02-05 18:36:52 +00:00
de6878a819 reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: I3ebb137938de8f9333c89173974656712e89c17f
2024-02-05 16:06:51 +00:00
Michal Nasiadka
90e9dc9e56 openvswitch: use Ansible modules to set up bridge
Change-Id: Iaf337c4a44bf065e96d6f30598e519ffc78de554
2024-02-05 15:24:55 +00:00
Michal Arbet
43272acfc3 Rename horizon settings filenames
The purpose of this patch is to make it easier to
review changes, because renaming and changing the
file in one patch will generate diff when the entire
file will be deleted on the one hand and new file
(actually just renamed) will be new on the other hand,
which is hard to review.

Change-Id: I17a16ce746faa8898a457cadbb6f996f964a5b6f
2024-02-05 14:36:55 +01:00
Michal Nasiadka
2830e42627 openvswitch: add external-ids:hostname
It's been introduced in [1] and seems to be used by ovn-controller.

[1]: https://patchwork.ozlabs.org/project/openvswitch/patch/1458866450-1967-1-git-send-email-russell@ovn.org/

Change-Id: I90e91f2923d58eb3c70e8d6efdc4e1212fbdc14f
2024-02-05 12:43:16 +00:00
Zuul
d0db5dc9fc Merge "Sync development quickstart doc" 2024-02-02 16:56:28 +00:00
Zuul
e7ffb3b85e Merge "Generate hostnqn" 2024-02-02 16:56:26 +00:00
Zuul
5cc1c68570 Merge "Remove outdated comments in dev mode docs" 2024-02-02 15:34:39 +00:00
Bartosz Bezak
fc439e74a8 Sync development quickstart doc
The development quickstart document has not been updated for a
while, and it has become desynchronized with the regular quickstart.

Change-Id: I6b14623b73b0032df94f0f633659a1b6dfc15dea
2024-02-02 16:11:35 +01:00
Zuul
50ad7c6681 Merge "Configure missing nova services to expose vendordata over configdrive" 2024-02-02 11:42:14 +00:00
Zuul
c9737d2446 Merge "Disable new defaults and scope for Ironic (RBAC)" 2024-02-01 08:05:49 +00:00
Bartosz Bezak
d77372e86a Disable new defaults and scope for Ironic (RBAC)
Ironic started enforcing new RBAC policies [1]. Kolla/Kayobe
CI jobs are failing, as K-A doesn't have service role support.
Moreover Ironic RBAC is not yet stable enough [2].
Disable enforcing new policies until fix merges and Kolla
Ansible service role support is added.

[1] https://review.opendev.org/c/openstack/ironic/+/902009
[2] https://review.opendev.org/c/openstack/ironic/+/907148

Related-Bug: #2051837

Change-Id: I424cff6ac96dfe0dd5dc58afca2b785f494c9f02
2024-01-31 12:52:19 +00:00
Grzegorz Koper
0376f9dd8d Configure missing nova services to expose vendordata over configdrive
Closes-Bug: #2049607

Change-Id: I14ae2be2e19ad06e3190e2e948bac7ce77e80d4b
2024-01-30 14:47:14 +01:00
Michal Arbet
f0b7bf33ab [CI] Test neutron DNS integration and designate
This patch adds tests for neutron and designate DNS
integration.

Tests are based on scenarios described below in [1][2].

[1] https://docs.openstack.org/neutron/latest/admin/config-dns-int.html
[2] https://docs.openstack.org/neutron/latest/admin/config-dns-int-ext-serv.html

Change-Id: I3953f760458285e5c9a818599492c6176e857dde
2024-01-30 09:56:46 +01:00
Michal Arbet
6f847610b5 Fix neutron DNS integration
This patch basically does a simple thing, on the basis
of a variable neutron_dns_integration it enables/disables
DNS integration.

There is also precheck added which checks whether dns_domain
in neutron.conf has a non-default value if DNS integration is
enabled as this is requirement.

[1] https://docs.openstack.org/neutron/latest/admin/config-dns-int.html
[2] https://docs.openstack.org/neutron/latest/admin/config-dns-int-ext-serv.html#config-dns-int-ext-serv

Closes-Bug: #2049503

Change-Id: I90f0f8dcec6fa0112179f050d96e9d9db5956cf8
2024-01-30 09:56:45 +01:00
Michal Arbet
66c4f72c50 Enable instance usage audit only when ceilometer is enabled
This patch disables periodic compute.instance.exists
notifications when designate is enabled.

Related-Bug: #2049503
Change-Id: I39fe2db9182de23c1df814d911eec15e86317702
2024-01-30 09:48:35 +01:00
Alex-Welsh
ffd6e3bf32 Update keystone service user passwords
Service user passwords will now be updated in keystone if services are
reconfigured with new passwords set in config. This behaviour can be
overridden.

Closes-Bug: #2045990
Change-Id: I91671dda2242255e789b521d19348b0cccec266f
2024-01-29 15:05:09 +00:00
Zuul
416851ce9d Merge "[CI] Fix podman cross-dependency build" 2024-01-26 17:07:07 +00:00
Michal Arbet
2624e93852 [CI] Fix podman cross-dependency build
Change-Id: I3501e6bf17ccb94adfcdb62956dceba9d67b0881
2024-01-26 13:23:59 +01:00
Zuul
d690177e58 Merge "ironic: only bootstrap ironic-tftp when service is enabled" 2024-01-24 23:41:31 +00:00
Zuul
eb21d4f929 Merge "Fix OpenSearch upgrade tasks idempotency" 2024-01-24 16:45:01 +00:00
Zuul
07199f5d1f Merge "update openstack_previous_release_name var for bobcat" 2024-01-24 15:36:42 +00:00
Bartosz Bezak
364cbaa5a9 update openstack_previous_release_name var for bobcat
Change-Id: Ib0325c12cf965e7df7c1ac6b17ca87187a4cb91d
2024-01-24 12:57:14 +01:00
Dr. Jens Harbott
6ec1dc97e2 Update horizon local settings for Django 4
As horizon is now using Django 4 after a recent requirements update, we
need to clean our config from settings that were long deprecated and now
no longer work.

[0] https://review.opendev.org/c/openstack/horizon/+/891828
[1] https://review.opendev.org/c/openstack/horizon/+/827092

Change-Id: I47533a2ad436578c98503284c25db4fd51896506
2024-01-24 06:49:38 +00:00
Pierre Riteau
14052dd742 Remove outdated comments in dev mode docs
Pike has been EOL for years and there is only one image type.

Change-Id: Ida9402dfc69c1ccfaa30c03a80481c8bc269d51b
2024-01-23 22:53:56 +01:00
Michal Arbet
47ddac4131 Bump ansible-lint version
The version that we were capping to is no longer compatible with latest
upper-constraints.txt, so let us free float again.

The resulting linting errors are included for now to unblock the gate,
these will still need to be discussed or fixed later.

NOTE(kevko): Temporarily disabling horizon deployment, as it's not
possible to unblock gates without it

Co-Authored-By: Michal Arbet <michal.arbet@ultimum.io>
Change-Id: Ib7f72b2663199ef80844a412bc436c6ef09322cc
2024-01-22 22:49:46 +01:00
Zuul
86ac820457 Merge "Drop more remnants of install_type" 2024-01-18 11:46:44 +00:00
Pierre Riteau
76f5d0cb1d Drop more remnants of install_type
Change-Id: I8e5e42db48c6235deb93dcb185e044fce983ba5a
2024-01-17 15:51:54 +01:00
Bartosz Bezak
1d38ff5e9c use docker_custom_config override for Kolla CI upgrade jobs
In Kolla CI K-A upgrade job needs docker_custom_config override
as docker_registry var is being used both for docker daemon
config - for kolla images build, and kolla-ansible container images
sources - where we're using quay.io mirror.
docker_custom_config gets precedence in docker daemon
configuration.

docker_custom_config was removed in [1].

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

Change-Id: I1e890223faf25b1169a49e22a9529f90806d2f3a
2024-01-17 13:37:28 +00:00
Matt Crees
e502b65ba1 Fix OpenSearch upgrade tasks idempotency
Shard allocation is disabled at the start of the OpenSearch upgrade
task. This is set as a transient setting, meaning it will be removed
once the containers are restarted. However, if there is not change in
the OpenSearch container it will not be restarted so the cluster is left
in a broken state: unable to allocate shards.

This patch moves the pre-upgrade tasks to within the handlers, so shard
allocation and the flush are only performed when the OpenSearch
container is going to be restarted.

Closes-Bug: #2049512
Change-Id: Ia03ba23bfbde7d50a88dc16e4f117dec3c98a448
2024-01-17 10:57:52 +00:00
Zuul
77c18fa615 Merge "CI: Use 2023.2 as previous_release" 2024-01-15 22:00:18 +00:00
Zuul
3490b0f14e Merge "Test haproxy single external frontend" 2024-01-12 21:06:10 +00:00