13544 Commits

Author SHA1 Message Date
Célestin Matte
4b52e11528 Fix ansible-lint warnings related to jinja spacing
Change-Id: I901c0a57efcb6cbaaac43f64f2243fff7d7980c8
2023-09-18 15:44:39 +02:00
Zuul
65079b4dc1 Merge "keystone: ensure bool for two parameters" 2023-09-18 12:26:24 +00:00
Zuul
b69aa4ea08 Merge "ceilometer: process custom event_pipeline.yaml with merge_yaml" 2023-09-18 10:18:03 +00:00
Zuul
ff9d69d247 Merge "Configure Nova libvirt.num_pcie_ports to 16 by default" 2023-09-18 10:08:24 +00:00
Christian Berendt
c9a4b36e52 keystone: ensure bool for two parameters
* keystone_enable_federation_openid
* enable_keystone_federation

Closes-Bug: #2036390

Change-Id: Ieef1dce006c339643ad4fa544218c6482c2ad32c
2023-09-18 11:09:39 +02:00
Christian Berendt
50abf90f59 ceilometer: process custom event_pipeline.yaml with merge_yaml
Allow more flexibility by adding a host specific template. Also
using the merge_yaml action allow us to drop the logic around deciding
which template to use.

Change-Id: I41a3226679c622e5e98df074cee195e8436ea45b
2023-09-15 11:22:49 +02:00
Michal Nasiadka
f6d0ffd61c ovn: Fix broken deployment/reconfig on Ubuntu
Initially Ubuntu/Debian used /var/run/openvswitch as default OVN run dir,
it seems it has changed long time ago - but we haven't picked that up on latest
OVN DB refactor.

Adding in OVN and OVN upgrade Debian jobs to enhance coverage.

Closes-Bug: #2035584

Change-Id: I78967c4499269578ac921ad9a553946b65e1293f
2023-09-14 09:41:09 +00:00
Zuul
428acfe97f Merge "CI: Remove redundant set/unset_cirros_image_q35_machine_type" 2023-09-13 17:27:35 +00:00
Bartosz Bezak
1d747e8587 CI: Remove redundant set/unset_cirros_image_q35_machine_type
it is already in test_openstack_logged function

Change-Id: I2d092b4cf6dc6527d1c3c5e172349e480c2366d3
2023-09-13 14:22:53 +02:00
Zuul
01faefc4c4 Merge "Add Quickstart Developer Guide" 2023-09-12 19:00:04 +00:00
Zuul
ecbf9da158 Merge "CI: Add back ARA logging" 2023-09-12 13:32:27 +00:00
Zuul
dd554466c3 Merge "CI: add q35 hardware machine type to tests" 2023-09-11 16:15:12 +00:00
Zuul
b5aa2890c1 Merge "cleanup: fix cleanup containers" 2023-09-11 15:22:14 +00:00
Zuul
5951488027 Merge "CI: add block support to validate-all-file.py" 2023-09-11 15:14:38 +00:00
Zuul
cc73e9ee71 Merge "Revert "CI: retry smoke tests and instance creation"" 2023-09-11 15:14:35 +00:00
Jeffrey Zhang
b8e77deeef Configure Nova libvirt.num_pcie_ports to 16 by default
When using the 'q35' machine type, by default, it allows only
a single PCIe device to be hotplugged. Nova currently sets
'num_pcie_ports' to "0" (defaults to libvirt's "1"), which is
not sufficient for hotplug use.

The max value is 28, but 16 is enough in most cases.

More info please check

* [0] https://libvirt.org/pci-hotplug.html
* [1] https://marcin.juszkiewicz.com.pl/2018/02/19/hotplug-in-vm-easy-to-say/
* [2] https://review.opendev.org/c/openstack/nova/+/545034

Co-Authored-By: Bartosz Bezak <bartosz@stackhpc.com>

Change-Id: I7b8063566837aeb947927b7d6858417982b63deb
Closes-Bug: 1909063
2023-09-11 12:56:02 +00:00
Bartosz Bezak
30fca662bc CI: add q35 hardware machine type to tests
Change-Id: If9636aaa76a7dc094223c3f096d96c96ecd0c8e7
2023-09-11 10:29:06 +02:00
Christian Berendt
9dc2b019a2 senlin: add missing cafile parameter
The cafile parameter in the authentication section is required
in the senlin.conf configuration file when working with
self-signed certificates.

Change-Id: I3cd43cc7f43782a6c1d701a3e5b977bbc42e3719
2023-09-08 18:24:02 +02:00
Zuul
da2d8e8b83 Merge "Remove duplicate whitespace" 2023-09-08 11:27:55 +00:00
Michal Nasiadka
49cb1ce4b0 CI: add block support to validate-all-file.py
This change also refactors code a bit to allow additional checks
in the same os.walk loop

Change-Id: Ib40af3ee309c773afba4776183d162327a9a0e1c
2023-09-08 08:12:10 +00:00
Zuul
e38f5e0c23 Merge "ovn: Improve clustering" 2023-09-06 10:08:43 +00:00
Zuul
df44a7fb16 Merge "Prevent libvirtd reload when only generating config" 2023-09-05 18:21:51 +00:00
Michal Nasiadka
7cc4bf6203 ovn: Improve clustering
Currently clustering steps are very static, if for a reason first
node in the inventory fails and gets re-introduced - K-A will create
a second empty cluster on that node.

This patch changes the approach and checks if cluster exists, if it
does - chooses a donor for the new node from currently running
node set.

Also it fixes node replacement - it removes old node from cluster
(that has the same ip address as newly provisioned node).

Closes-Bug: #1875223

Change-Id: Ia025283e38ea7c3bd37c7a70d03f6b46c68f4456
2023-09-05 09:18:38 +00:00
Maksim Malchuk
c278c8cbd9 Add forgotten release note for 892427
Followup on Ief8dca4e27197c9576e215cbd960da75f6fdc20c

Related-Bug: #1879557
Change-Id: I2865fb8bb24994db8687a15fd8106bfa7a55d4da
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-09-05 08:14:29 +00:00
Michal Nasiadka
3d228bf1a8 Revert "CI: retry smoke tests and instance creation"
This reverts commit 2524ec422d2f8ff74a27282067f7a99fecc676f2.

Reason for revert: I don't think we need it anymore

Change-Id: I9f2871cf3de1a09952fc5c236da2f78e4d930bf5
2023-09-04 11:57:27 +00:00
Zuul
375ecdde07 Merge "Add forgotten release note for 886747" 2023-09-04 08:59:59 +00:00
Zuul
a7756fa3a0 Merge "Configure OVN to emit "need to frag" packets in case of MTU mismatch" 2023-09-04 08:59:56 +00:00
Maksim Malchuk
28c8fab601 Add forgotten release note for 886747
Followup on I0401bfc03cd31d72c5a2ae0a111889d5c29a8aa2

Related-Bug: #2024664
Change-Id: I97914485f4392a4f303f32056d0b471948dbc84c
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-09-04 11:24:34 +03:00
Jan Gutter
73dcad3263
CI: Add back ARA logging
Up till now the ARA plugin has been pinned to a very old version,
and is no longer functional.

This installs a much newer version of ARA and adds a README file
to guide developers on how to view the sqlite file.

The ARA plugin is installed by default, but not activated. This
is intended to catch a small amount of regressions and
integration failures.

Developers can enable the plugin by adding the string `#ara`
to their commit message. This avoids extra load on the CI.

Change-Id: Id8328e374c9590b1363026fa2b2b24e191183987
2023-09-03 16:43:13 +01:00
Zuul
26ba26cd18 Merge "Fix designate-producers not running properly" 2023-08-31 21:29:35 +00:00
Zuul
dc42b98e7a Merge "Change regex for the multiline parser at the fluentd rabbitmq input" 2023-08-31 10:29:50 +00:00
Zuul
b3c13d22ff Merge "Use better default bind address for ironic-tftp" 2023-08-30 17:03:38 +00:00
Zuul
33e652bde6 Merge "Fixes WEBSSO_KEYSTONE_URL Value" 2023-08-30 14:50:37 +00:00
Zuul
93ab4914e9 Merge "Drop useless DUMMY_ENVIRONMENT environment for cron container" 2023-08-30 14:49:27 +00:00
Zuul
3bdcaa2ed1 Merge "Fixes task name in notify module to the actual task name" 2023-08-30 14:49:25 +00:00
joek-office
b9f2ad94a7 Change regex for the multiline parser at the fluentd rabbitmq input
Related-Bug: #2015184

Closes-Bug: #2015184

Change-Id: I6ea0949d58e38e2cda41c9702001e7bd500f23f1
2023-08-30 12:25:00 +00:00
Robin Klostermeyer
9a9c8fe794 Add ironic-prometheus-exporter
This commit adds the ironic-prometheus-exporter, following the
conventions used by the previously integrated exporters. '[The] Ironic
Prometheus Exporter is a Tool to expose hardware sensor data in the
Prometheus format through an HTTP endpoint.'[0]

Prometheus has been enabled in CI jobs to ensure test coverage.

[0] https://opendev.org/openstack/ironic-prometheus-exporter

Depends-On: https://review.opendev.org/c/openstack/kolla/+/874415

Change-Id: I6d421effd833d2e0524dd0b81736445c9a730ea9
2023-08-30 09:24:56 +02:00
Juan Pablo Suazo Sarrocchi
95317e5df2 Fixes task name in notify module to the actual task name
An OVS-DPDK task had part of its name capitalized,
presumably due to the newly added ansible linter,
but this change was not reflected in the notify
module which calls the task. This results in an
inability to deploy openstack with OVS-DPDK.

This commit fixes the name of the task in the
notify module.

Closes-Bug: #2033413
Change-Id: Iae8a937bb2c35d2eb83e2c4522d829a6cfe25f0d
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
2023-08-29 12:51:44 -04:00
Pierre Riteau
f6e83f92c7 Remove duplicate whitespace
Change-Id: Ica155c5da29d36a3f944eb6a4a0ef5af88b01358
2023-08-29 14:43:16 +02:00
Bartosz Bezak
cf8283928e Configure OVN to emit "need to frag" packets in case of MTU mismatch
It is useful when external network's MTU is lower then internal
geneve networks.
Host kernel needs to be in version >= 5.2 for this option to work.
All Kolla supported host operating systems have higher kernel version.

Change-Id: Id64e99b07e2bb5e6c97b784f4ffedafc7e7de188
2023-08-29 10:08:53 +00:00
Erik Olof Gunnar Andersson
8e3c168908 Fix designate-producers not running properly
Kolla is setting the producer tasks to None, and this
disables all producer tasks.

Starting with the next release of Designate a new task
was added to the producer named increment_serial that
is now critical path for incrementing the serial for each zone.
fb9c2da977

Closes-Bug: #1879557
Change-Id: Ief8dca4e27197c9576e215cbd960da75f6fdc20c
2023-08-29 10:07:32 +00:00
Bartosz Bezak
106a21fb6c Fix D001 Line too long in mariadb-guide
Change-Id: I0aff87f0392b43671c6e9fc3fae3cdb0f7ce118a
2023-08-29 11:27:10 +02:00
Michal Nasiadka
40cf91aab6 cleanup: fix cleanup containers
Currently the script only stops containers and removes services,
without disabling service or removing symlink - which renders the
service in a not-found state.
After we disable and stop - some of the services end up in failed
state (due to wrong exit codes for various reasons) - running
reset-failed fixes that.

Change-Id: I637783ce758dbf1c2a7b4b99aa6b61e2c5ca1460
2023-08-28 13:05:02 +00:00
Maksim Malchuk
b205dad892 Drop useless DUMMY_ENVIRONMENT environment for cron container
Since I033c51704bfb806f6515db26b8159fae12469ba5 the DUMMY_ENVIRONMENT
environment for cron container is useless, lets drop it.

Trivial-Fix

Change-Id: Id8bf642a57b54ecafe0ee6981e044b1aba872ef7
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-08-27 02:20:46 +03:00
Matt Crees
b86c304a29 Enable RabbitMQ HA queues by default
Sets the variable ``om_enable_rabbitmq_high_availability`` to ``true``
by default. An upgrade will therefore require some manual steps to
migrate from transient to durable queues. Note that this will be
caught by this precheck:
https://review.opendev.org/c/openstack/kolla-ansible/+/880274

Also updates the CI upgrade jobs to perform this migration. This will
need to be removed in Caracal.

Related-Bug: #2031294

Change-Id: I26a70d4722aaa4663eced5f5337840474c7b961c
2023-08-25 10:10:04 +00:00
Matt Crees
60282285bd Add command to force reset the state of RabbitMQ
This command can be invoked with ``kolla-ansible rabbitmq-reset-state``.
This is primarily designed to be used when enabling HA queues[1].

As such, this also updates the RabbitMQ documentation to use this
command.

[1] https://docs.openstack.org/kolla-ansible/latest/reference/message-queues/rabbitmq.html#high-availability

Change-Id: I6ad95a3618fc1a34af56657ef99ef14dc979f17a
2023-08-25 10:09:58 +00:00
Michal Nasiadka
d1a52b5816 debian: Add Bookworm Host OS support
Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/892323

Change-Id: I11db700511233aa60229ee65d0cc96e46aafdf90
2023-08-24 19:08:36 +00:00
Zuul
0765e276fe Merge "glance/neutron: drop nbproc and add nbthread support" 2023-08-21 15:03:28 +00:00
Rodolfo Díaz
59204b2fee Fixes WEBSSO_KEYSTONE_URL Value
Change I60162b54bc06e158534d29311d4474b34750c64d
removed the `/v3` prefix from the WEBSSO_KEYSTONE_URL
variable. However, keystone endpoints do in fact
have the `/v3` prefix, and Horizon expects the
WEBSSO_KEYSTONE_URL variable to already contain
the prefix.

This patch adds the prefix again so that SSO
works with Horizon again.

Closes-Bug: #2028921
Change-Id: I5799f7a6fa4f52c2904b14fc02ed18443f4194bd
Signed-off-by: Juan Pablo Suazo <jsuazo@whitestack.com>
2023-08-21 14:19:01 +00:00
Michal Nasiadka
30fce65b2a glance/neutron: drop nbproc and add nbthread support
Change-Id: I42f9f182a2dab8563008e8b817ac58a69b72b062
2023-08-18 12:21:41 +00:00