13256 Commits

Author SHA1 Message Date
Stanislav Dmitriev
0b62db7cc4 Set scheduler.max_attempts for nova conductor
In order to honour configured max number of attempts
it has to be presented in nova.conf inside of
nova_conductor container, otherwise the default value
of 3 will be used

Closes-Bug: #2003587
Change-Id: I928af332b8658223444594f96417830233057284
2023-01-20 17:10:52 -05:00
Zuul
5ca408f875 Merge "CI: Rename jobs - drop source part" 2023-01-20 08:33:48 +00:00
Michal Nasiadka
3348c6ef8d CI: Rename jobs - drop source part
Change-Id: Ib69642056e760bad0e4ea13576502f0e08115259
2023-01-19 12:07:22 +01:00
Zuul
32dce70f09 Merge "Drop skydive" 2023-01-19 10:26:01 +00:00
Zuul
08267a59ce Merge "Stop firewalld config during kolla genconfig" 2023-01-18 16:26:19 +00:00
Zuul
1b5f64c013 Merge "Remove use_forwarded_for configuration option" 2023-01-18 13:15:56 +00:00
Zuul
7c79d73ec1 Merge "Remove [trustee]/auth_uri option from heat.conf" 2023-01-18 13:09:55 +00:00
Zuul
9e245b151d Merge "CI: Avoid running tgtd if BASE_DISTRO is rocky" 2023-01-18 12:52:55 +00:00
Pierre Riteau
941abf9ec2 Disable new defaults and scope for Nova API policies (RBAC)
Nova changes to RBAC [1] are breaking Kolla Ansible and causing most CI
jobs to fail. Disable these changes until we can adapt.

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

Change-Id: I506697d2b374e74a6b066c788bd2d61edc8d4876
2023-01-17 16:14:49 +01:00
Pierre Riteau
0357bc6de0 CI: Avoid running tgtd if BASE_DISTRO is rocky
Change-Id: Iac88aece372102835b03f7e0e5684d0285857e97
2023-01-16 14:28:20 +01:00
Michal Nasiadka
1aa1cae159 CI: Rework docker_custom_option
It's not supported in ansible-collection-kolla since Zed release,
and Kolla executed Kolla-Ansible CI jobs fail on it, because
they build images.

Change-Id: Ib0358f780a77af152225761a4aa3b6acbea2eeaf
2023-01-16 13:16:55 +00:00
Pierre Riteau
943fedee62 Remove [trustee]/auth_uri option from heat.conf
According to the code, docs and oslo-config-validator, this
configuration option is not supported.

Change-Id: I34410e5267d527ec629748f35771f227183810b6
2023-01-16 13:30:56 +01:00
Pierre Riteau
bbe8374fe9 Remove use_forwarded_for configuration option
This option has never been supported by Glance.

Change-Id: I08113292ec862d6ef72b870dcf12577bf02d3771
2023-01-16 13:20:18 +01:00
Zuul
24dc34615a Merge "Fix issue with genconfig and octavia_auto_configure" 2023-01-16 12:17:58 +00:00
Zuul
786a2e226e Merge "CI: Run validate-config at the end of deploy" 2023-01-16 12:04:12 +00:00
Zuul
383dfc21d6 Merge "Fix prechecks in check mode" 2023-01-16 11:14:45 +00:00
Zuul
b2a7d2d750 Merge "Drop remnants of install_type" 2023-01-16 10:07:37 +00:00
Will Szumski
2bf4d4db4e Fix issue with genconfig and octavia_auto_configure
Makes sure the facts required to generate octavia.conf are available
when using genconfig.

This change also ensures that the necessary tasks run when using Ansible
check mode.

Closes-Bug: #1987299
Change-Id: Ib8fbee2d3abdcfd2eae0f9b3e9b69eeb0e3086e0
2023-01-16 09:11:27 +01:00
Matt Crees
09df6fc1aa Add a flag to handle RabbitMQ high availability
A combination of durable queues and classic queue mirroring can be used
to provide high availability of RabbitMQ. However, these options should
only be used together, otherwise the system will become unstable. Using
the flag ``om_enable_rabbitmq_high_availability`` will either enable
both options at once, or neither of them.

There are some queues that should not be mirrored:
* ``reply`` queues (these have a single consumer and TTL policy)
* ``fanout`` queues (these have a TTL policy)
* ``amq`` queues (these are auto-delete queues, with a single consumer)
An exclusionary pattern is used in the classic mirroring policy. This
pattern is ``^(?!(amq\\.)|(.*_fanout_)|(reply_)).*``

Change-Id: I51c8023b260eb40b2eaa91bd276b46890c215c25
2023-01-13 15:40:08 +00:00
Michal Nasiadka
fb8d77a146 CI: Use nodepool.public_ipv4 if nodepool.private_ipv4 is empty
We've noticed cases where nodepool.private_ipv4 is empty, probably
caused by [1] or a change in nodepool provider configuration.

[1]: https://review.opendev.org/c/zuul/nodepool/+/862522

Change-Id: Ibeca7d99571d9f6d4d1b90277121d685d73c9a59
2023-01-13 13:03:31 +00:00
Mark Goddard
46aeb9843f Fix prechecks in check mode
When running in check mode, some prechecks previously failed because
they use the command module which is silently not run in check mode.
Other prechecks were not running correctly in check mode due to e.g.
looking for a string in empty command output or not querying which
containers are running.

This change fixes these issues.

Closes-Bug: #2002657
Change-Id: I5219cb42c48d5444943a2d48106dc338aa08fa7c
2023-01-12 14:27:36 +00:00
Michal Nasiadka
18567711a4 Drop remnants of install_type
Change-Id: I110c642da925a5f6b3bd071e7844c20fda673c66
2023-01-12 15:15:08 +01:00
Zuul
10ca82c243 Merge "Set previous_release to zed" 2023-01-12 13:10:25 +00:00
Zuul
74f64a19f1 Merge "ovn: add ovn-monitor-all variable" 2023-01-12 12:33:43 +00:00
Jack Hodgkiss
86870bd7f8
Stop firewalld config during kolla genconfig
Prevent the haproxy-config role from attempting to modify firewalld when
running kolla-ansible genconfig.

Closes-Bug: #2002522
Change-Id: Ie8a524cc944aa8cb9cf0999b1b8da79f30b40092
2023-01-11 12:03:49 +00:00
Bartosz Bezak
5f492f1390 Set previous_release to zed
Change-Id: Ie9832bd9cae497e7dbd2a03661361c125d8ec15a
2023-01-10 11:59:17 +01:00
Michal Nasiadka
673ca8c7e7 Drop skydive
Change-Id: I8855bd60c2fd77f33fb55d4123131a94327bd166
2023-01-05 14:55:53 +01:00
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
Pierre Riteau
a7fcf1fcdf CI: Run validate-config at the end of deploy
Change-Id: I40021caf3f94e718ea42d9ef77e5d9c77c3133de
2022-12-22 14:01:07 +00:00
labedz
20355edb2b ovn: add ovn-monitor-all variable
Setting ovn-monitor-all to 'true' will configure
ovn-controller to monitor all OVS database records
unconditionally. That will release some CPU resource
from OVS Southbound DB but will increase number of events
coming to ovn-controller.

Default value is 'false'.

Change-Id: I291e166013d8c88f00e84ceaf308251c352c9a79
2022-12-22 10:13:15 +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