13227 Commits

Author SHA1 Message Date
Zuul
2b88144c05 Merge "Explicitly set the value of heartbeat_in_pthread" 2023-01-05 13:02:20 +00:00
Matt Crees
8b8b4a8217 Explicitly set the value of heartbeat_in_pthread
The ``[oslo_messaging_rabbit] heartbeat_in_pthread`` config option
is set to ``true`` for wsgi applications to allow the RabbitMQ
heartbeats to function. For non-wsgi applications it is set to ``false``
as it may otherwise break the service [1].

[1] https://docs.openstack.org/releasenotes/oslo.messaging/zed.html#upgrade-notes

Change-Id: Id89bd6158aff42d59040674308a8672c358ccb3c
2023-01-05 09:18:13 +00:00
Zuul
bea4535613 Merge "ovn: Change order of deployment" 2023-01-04 13:38:35 +00:00
Zuul
29e96d89b1 Merge "Integrate oslo-config-validator" 2023-01-03 17:40:00 +00:00
Zuul
5b738f6e6b Merge "Remove AvailabilityZoneFilter from enabled_filters" 2023-01-03 16:50:47 +00:00
Zuul
066a24ae1f Merge "Fix some neutron configuration options" 2023-01-02 11:40:56 +00:00
Zuul
d9ff7468ea Merge "Add service-images-pull tag to tasks in the service-images-pull role" 2023-01-02 11:40:35 +00:00
Zuul
98b85b5882 Merge "Rework the Quickstart Guide to make it easier for Newcomers" 2023-01-02 07:28:29 +00:00
Michal Nasiadka
1f71aa563e CI: Support tox4
Depends-On: https://review.opendev.org/866943
Change-Id: Ib3caf7378c1d5e2e9cfe04e36797bd827e99d6c5
2022-12-28 10:13:03 +00:00
Michal Nasiadka
3a94996b41 ovn: Change order of deployment
ovn-controller should be deployed first according to OVN upgrade guide.
Since we are getting newer OVN/OVS versions from RDO/Ubuntu in a cycle,
let's apply that to deployment.

Closes-Bug: #1979329

Change-Id: I017aec611a057db1634cfc2634164b21cb210193
2022-12-22 09:50:40 +01:00
Matt Crees
6c2aace8d6 Integrate oslo-config-validator
Regularly, we experience issues in Kolla Ansible deployments because we
use wrong options in OpenStack configuration files. This is because
OpenStack services ignore unknown options. We also need to keep on top
of deprecated options that may be removed in the future. Integrating
oslo-config-validator into Kolla Ansible will greatly help.

Adds a shared role to run oslo-config-validator on each service. Takes
into account that services have multiple containers, and these may also
use multiple config files. Service roles are extended to use this shared
role. Executed with the new command ``kolla-ansible validate-config``.

Change-Id: Ic10b410fc115646d96d2ce39d9618e7c46cb3fbc
2022-12-21 17:19:09 +00:00
Pierre Riteau
517b0ec0d9 Remove AvailabilityZoneFilter from enabled_filters
The AvailabilityZoneFilter scheduler filter was deprecated in Xena [1].

[1] https://review.opendev.org/c/openstack/nova/+/745605

Change-Id: I86b6c772a15911d88834bd315e778b3919803422
2022-12-20 09:33:37 +01:00
Christian Berendt
73bc7ec71a Add service-images-pull tag to tasks in the service-images-pull role
We sometimes have the requirement that images should explicitly not
be pulled. Using the service-images-pull tag, it is now possible to
skip the actual pull task by using --skip-tags.

Change-Id: Ia00a5ecbcb944c252cd9d0366d8cf1e7ff6327f7
2022-12-19 20:13:17 +01:00
Zuul
62f3c62bb3 Merge "Add git package to the list of dependencies" 2022-12-14 14:29:34 +00:00
Michal Nasiadka
a3f0511cd1 Remove shebang to properly support venv in ansible-core 2.13+
See https://github.com/ansible/ansible/pull/76677

Change-Id: If822dcfc4c1abf7a22be35ffd90fd05ee46cb0d9
2022-12-13 18:21:12 +01:00
Pierre Riteau
a2739db0e8 Fix generation of OpenSearch Dashboards config
The opensearch config playbook was iterating over opensearch_services,
generating a file named opensearch-dashboards.yml containing an empty
JSON dictionary. The next task was generating opensearch_dashboards.yml
which is actually used by OpenSearch Dashboards.

Remove with_dict in the first task to only generate opensearch.yml.

Change-Id: I39cf74916630d27cd34ce0783ba8c3c0d20bbddc
2022-12-13 15:22:56 +01:00
Maksim Malchuk
629710c63c Add git package to the list of dependencies
In the quickstart there is need the git package to install
kolla-ansible from the source for deployment or evaluation and
to clone repository for development.

Closes-Bug: #1999370
Change-Id: Ia623694c801c03b151944947141551ecbc1d24f5
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2022-12-12 19:12:01 +03:00
58b2e4621a Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I550ed74f2eb52713728ddcbe4c2d6a9570548411
2022-12-09 13:23:34 +00:00
a9f0948d82 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: I8f24a2318b5bd5ff60a235c093db022344dec644
2022-12-09 13:23:30 +00:00
Michal Nasiadka
ae3de342e4 Monasca reno followup polish
Change-Id: I2db0ddcdacb1502878609f51c4252210c8d5fd6c
15.0.0.0rc1
2022-12-08 15:06:46 +01:00
Michal Nasiadka
48a4153887 Tidy up renos for Monasca and dependencies
Change-Id: Ieb2f4ee5d4c64c92e589d4da63c5b66472052163
2022-12-08 12:18:35 +00:00
Ramona Beermann
3288c70b20 Rework the Quickstart Guide to make it easier for Newcomers
There are too many ways in one guide for the deployment. This
makes it hard for newcomers to stay at one track and get a working
installation. I reworked this from many possible ways to two.
Only virtual enviroment and non virtual enviroment. For the
developer guide I will make a new patchset.

Signed-off-by: Ramona Beermann <rautenberg@osism.tech>
Change-Id: I0c8739077ad41609596f7687bf2fd3628eb082c5
2022-12-08 09:51:41 +01:00
Michal Nasiadka
f128d19957 Remove kafka, storm, zookeeper
Their cleanup has been added to monasca cleanup command.

Change-Id: I19a846e2683ae70b33ca64d2aba7ac71eb724588
2022-12-08 06:50:15 +00:00
Zuul
a1910abe35 Merge "ovn: Change NB/SB connection setup to allow usage of inactivity probe" 2022-12-07 15:49:41 +00:00
Pierre Riteau
ce28cbc0d8 docs: Fix reference to Libvirt TLS
Change-Id: I2df1eff4e9eda42127db5b0bfed4f84b6955c763
2022-12-06 11:39:23 +01:00
Zuul
ff7b431695 Merge "CI: Cleanup rocky9 upgrade jobs" 2022-12-06 09:58:29 +00:00
Bartosz Bezak
60b39ccd40 [release] Tidy up release notes for Zed
Change-Id: If98434d7941cf319b0689441827290791f596a04
2022-12-05 12:47:08 +01:00
Michal Nasiadka
717dcdbc6f CI: Cleanup rocky9 upgrade jobs
Remove commented out rocky9 upgrade jobs, we'll add them after
the backport to stable/yoga.

Change-Id: Iade49b7834df909e19bbce49b85e258ee650436d
2022-12-01 15:52:57 +01:00
Zuul
113242c864 Merge "Replace ElasticSearch and Kibana with OpenSearch" 2022-12-01 14:38:51 +00:00
Michal Nasiadka
e1ec02eddf Replace ElasticSearch and Kibana with OpenSearch
This change replaces ElasticSearch with OpenSearch, and Kibana
with OpenSearch Dashboards. It migrates the data from ElasticSearch
to OpenSearch upon upgrade.

No TLS support is in this patch (will be a followup).

A replacement for ElasticSearch Curator will be added as a followup.

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

Co-authored-by: Doug Szumski <doug@stackhpc.com>
Co-authored-by: Kyle Dean <kyle@stackhpc.com>
Change-Id: Iab10ce7ea5d5f21a40b1f99b28e3290b7e9ce895
2022-12-01 10:27:50 +00:00
Michal Nasiadka
b32d456ea2 ovn: Change NB/SB connection setup to allow usage of inactivity probe
We have been using --db-nb-create-insecure-remote=yes - that results
a TCP method is set by ovn-ctl script to run ovsdb-server.

Downside is - we can't configure inactivity probe on that connection.

Closes-Bug: #1917484
Change-Id: I550aa4fe92aadea2a49ca5aff49c0183609b9470
2022-11-30 11:01:22 +00:00
Zuul
de7d9c237c Merge "Removal of dockerSDK check for other container engines" 2022-11-29 14:00:35 +00:00
Michal Nasiadka
63a7968d8d ovn: Break out role into ovn-db and ovn-controller roles
Instead of handling everything in one role - let's have small
fit-for-purpose roles, because in reality these are two hosts
roles and performance should be better with this approach.

[1]: https://docs.ovn.org/en/latest/intro/install/ovn-upgrades.html

Change-Id: I8f9dbe9d950323f16375ad5e1dbaedfb1be6585f
2022-11-28 13:52:30 +01:00
Ivan Halomi
652b9cfe0e Removal of dockerSDK check for other container engines
Typo fix and adding condition on not checking docker SDK version
when container engine is not docker

This is a followup to Ic30b67daa2e215524096ad1f4385c569e3d41b95
Signed-off-by: Ivan Halomi <i.halomi@partner.samsung.com>
Change-Id: Iafa24db06ad46bcfe250451ed98bc3c48d8a5138
2022-11-28 12:11:11 +00:00
Pierre Riteau
68376d6f31 Remove allow_overlapping_ips configuration option
This option was removed from Neutron in the Zed release [1]. This can be
backported to Yoga where the default value was changed to True [2].

[1] https://review.opendev.org/c/openstack/neutron/+/837286
[2] https://review.opendev.org/c/openstack/neutron/+/807848

Change-Id: Ibcd81a3a5f4b8de60459b3a4cfc30a50a06a436f
2022-11-23 21:17:18 +01:00
Pierre Riteau
92d6e27c5e Fix some neutron configuration options
Move metadata_workers from neutron.conf to metadata_agent.ini.

Remove unknown option placement/os_region_name: we already have
placement/region_name which is the correct one.

This can be backported to previous releases.

Change-Id: I710b5364244d976020656e1ee68e89f337cb3086
2022-11-23 21:12:09 +01:00
Zuul
093e28aba1 Merge "Revert "Generate ovn-chassis-mac-mappings on ovn-controller group"" 2022-11-23 16:57:17 +00:00
Bartosz Bezak
826fd12a11 Revert "Generate ovn-chassis-mac-mappings on ovn-controller group"
This reverts commit 8bf8656dbad3def707eca2d8ddd2c9bfed389b86.

Reason for revert: Setting ovn-chassis-mac-mappings on network nodes 
is causing mac flooding [1] [2] for traffic between external ports, 
and very slow troughput in consequence.
OVN HA Chassis priorities between gateways should probably be managed
by Neutron [3]

[1] https://mail.openvswitch.org/pipermail/ovs-discuss/2020-September/050691.html
[2] https://mail.openvswitch.org/pipermail/ovs-discuss/2022-May/051837.html
[3] https://mail.openvswitch.org/pipermail/ovs-discuss/2022-October/052068.html

Change-Id: Ia3b279d7e2c08464fda1a5dc41518296f559e93f
2022-11-23 13:16:59 +00:00
Zuul
83a51bbb30 Merge "Allow setting any_errors_fatal true for gather-facts" 2022-11-22 10:08:57 +00:00
Zuul
cf1a2a9211 Merge "Adds a wrapper script to run ovs-vsctl commands in the container" 2022-11-22 10:02:51 +00:00
Michal Nasiadka
fb447eb70a Improve kolla-ansible error on missing Ansible
Also improve the error message to point out currently supported
Ansible version.

Change-Id: Iabd11f03ff789f7fab8bec068bc9b4fb4dd1a2be
2022-11-22 06:23:04 +00:00
Doug Szumski
04d3bb3666 Monasca removal followup
A few minor fixes were noted in this review [1], and they
are addressed here.

TrivialFix

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

Change-Id: If30d9c2b48615dfb54edcb8d782c4c24b968ac4b
2022-11-18 14:55:04 +00:00
Michal Nasiadka
8f6298c845 cinder: Pure roce followup
Seems we missed this in Ic1eed7d19e9b583e22419625c92ac3507ea4614d

Change-Id: Ib8505b8cde4a018737d10da1576248e349215fb3
2022-11-17 13:20:23 +01:00
Zuul
a28af74982 Merge "Add NVMe-RoCE Cinder driver support for Pure Storage" 2022-11-16 20:57:24 +00:00
Zuul
0e4bdb9cac Merge "Generate ovn-chassis-mac-mappings on ovn-controller group" 2022-11-15 16:52:07 +00:00
Zuul
df71af446c Merge "Remove support for deploying OpenStack Monasca" 2022-11-15 13:37:10 +00:00
Bartosz Bezak
8bf8656dba Generate ovn-chassis-mac-mappings on ovn-controller group
Previously ovn-chassis-mac-mappings [1] has been added only to
ovn-controller-compute group. However external ports are being
scheduled on network nodes, therefore we need also do that there.

Closes-Bug: 1995078

[1] https://github.com/ovn-org/ovn/blob/v22.09.0/controller/ovn-controller.8.xml#L239

Change-Id: Ie62e9220bad56262cad602ca1480e6ca65827819
2022-11-15 14:12:52 +01:00
Will Szumski
a82443481e Adds a wrapper script to run ovs-vsctl commands in the container
Libvirt needs to be able to plug ports into openvswitch bridges.
It does this using the ovs-vsctl command, which it searches for
in $PATH[1, 2]. This change will optionally install a wrapper
script that executes the ovs-vsctl commands in the context of the
openvswitchd container. This is useful when running libvirt on the
host whilst still running openvswitch in a container. The advantage
of this method over install the packages on the host is that it
ensures client compatability with the daemon. The default is set
to false as the wrapper could overwrite ovs-vsctl installed on the
host.

[1] ee51ab86c2/src/util/virnetdevopenvswitch.c (L59)
[2] a89b17c2a7/docs/kbase/internals/command.rst (id3)

Closes-Bug: #1995409
Change-Id: Iaa6bfb012ae847f5f6aa0a1fc1c27970ac265f93
2022-11-15 10:16:02 +00:00
Zuul
0ea486b6ce Merge "docs: Octavia OVN provider" 2022-11-14 12:59:55 +00:00
Mark Goddard
6c0c2b9850 docs: Octavia OVN provider
Change-Id: Ib3dba0a3741d918a189edfa43041207a59392f07
2022-11-14 12:35:42 +00:00