13593 Commits

Author SHA1 Message Date
Zuul
a53052ede3 Merge "Add support for multiple ceph files" 2023-06-16 16:51:23 +00:00
Michal Arbet
fdf2385f14 Add support for multiple ceph files
This patch is adding a feature for an option to copy different
ceph configuration files and corresponding keyrings for cinder,
glance, manila, gnocchi and nova services.

This is especially useful when the deployment uses availability
zones as below example.

  - Individual compute can read/write to individual ceph
    cluster in same AZ.
  - Cinder can write to several ceph clusters in several AZs.
  - Glance can use multistore and upload images to
    several ceph clusters in several AZs at once.

Change-Id: Ie4d8ab5a3df748137835cae1c943b9180cd10eb1
2023-06-14 10:18:11 +02:00
Zuul
d690016418 Merge "Fix the Cyborg service" 2023-06-13 10:16:16 +00:00
Zuul
7f67352176 Merge "opensearch-dashboard: fix permissions" 2023-06-13 08:56:50 +00:00
Zuul
917d540af5 Merge "Clarifies misleading error on ceilometer role`s precheck task" 2023-06-13 06:01:03 +00:00
Mathias Fechner
5aaab8dc20 opensearch-dashboard: fix permissions
Fix permissions for opensearch-dashboard data directory.

Closes-bug: #2020152

Change-Id: Ie4cec7649d89df5b8bb306563da2c62ea0cdd2c0
Signed-off-by: Mathias Fechner <fechner@osism.tech>
2023-06-12 20:43:03 +02:00
Zuul
9e70532ccb Merge "Fix Venus containers start issue" 2023-06-12 14:00:18 +00:00
Zuul
02f97f2bc2 Merge "Fix passwords.yml permissions" 2023-06-12 08:37:48 +00:00
Maksim Malchuk
8c8dad0187 Fix Venus containers start issue
The venus containers failed to start with an error
(venus_api container):
/usr/local/bin/kolla_start: line 24: exec: venus-api: not found
because of [1] and also changes the encoding of the files form
dos to unix introduced in [2].

1. https://opendev.org/openstack/venus/src/branch/master/setup.cfg#L29-L30
2. If3562bbed6181002b76831bab54f863041c5a885

Change-Id: I8bee27882c15e39a3d2946787d56bc90db994887
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-06-07 21:56:16 +03:00
Maksim Malchuk
aff8e4a065 docs: Correct indentation in quickstart (again)
Followup on I34fd1dcb52cffd9d545d10526109772aeebc2393

Change-Id: I3a14f85fbe5be6ae635774c49872e17f5daea805
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-06-07 16:36:13 +00:00
Stephen Finucane
3c38224f3e docs: Correct indentation in quickstart
Where a list item has multiple paragraphs, the additional paragraphs
must be indented by three spaces (i.e. the level of the first paragraph)
to be considered part of the list item.

Change-Id: I34fd1dcb52cffd9d545d10526109772aeebc2393
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2023-06-07 16:42:27 +01:00
Maksim Malchuk
e8250d2824 Fix the Cyborg service
According to the documentation [1] type of the Cyborg service should
be 'accelerator' and description 'Acceleration Service'. Also, this
change fixes incorrect endpoint URLs, and not configures an admin
endpoint [2] because the documentation [1] not updated yet.

1. https://docs.openstack.org/cyborg/latest/install/common.html
2. Icf3bf08deab2c445361f0a0124d87ad8b0e4e9d9

Closes-Bug: #2020080
Change-Id: I002db50cbad5a90e479498e605bdeab343e129c7
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-06-07 17:04:06 +03:00
Zuul
05bcccbdeb Merge "docs: Remove redundant section about vagrant-vbguest" 2023-06-04 10:04:33 +00:00
Maksim Malchuk
5fd8117098 Fix passwords.yml permissions
The kolla-genpwd, kolla-mergepwd, kolla-readpwd and kolla-writepwd
commands now creates or updates passwords.yml with correct
permissions. Also they display warning message about incorrect
permissions.

Closes-Bug: #2018338
Change-Id: I4b50053ced9150499d1d09fd4a0ec2e243cf938b
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-05-31 14:22:34 +03:00
Matt Crees
d30d1fd655 Correct [pci] syntax in Nova SRIOV documentation
The ``[pci]`` options in the Nova SRIOV documentation are incorrect.
``alias`` is a JSON object but mentioned as a list of object here.
``through_whitelist`` is deprecated [1] in favour of ``device_spec``.

[1] https://docs.openstack.org/nova/2023.1/configuration/config.html#id116

Closes-Bug: #2019985
Change-Id: I4f9bce297bc3385f9749e4221f4721c1841700a1
2023-05-30 15:30:36 +00:00
Michal Nasiadka
86a3da5d7f CI: cephadm - set rbd application on pool creation
Change-Id: I15af98faedd81cccbc10e2cc7dab4205a35684be
2023-05-26 14:49:51 +02:00
b26d25eb47 Update master for stable/2023.1
Add file to the reno documentation build to show release notes for
stable/2023.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.

Sem-Ver: feature
Change-Id: I870c0569a1e175ac5df59fc495812ba81c5147e6
2023-05-26 08:39:39 +00:00
Zuul
0fc3418b8f Merge "Fix the fluentd regexp to collect the logs" 2023-05-24 13:50:25 +00:00
lishuliang
900c2d20bb Fix the fluentd regexp to collect the logs
The default value of logging_context_format_string and
logging_user_identity_format has changed [1][2][3].
This is to correct fluentd to use the same format.

[1]ebdee7f399
[2]7ed065f38d

[3]https://review.opendev.org/c/openstack/oslo.log/+/838185

Closes-Bug: #1872220

Change-Id: Ide0079ef4d28e3a3fa60288a74b936531c52ce60
2023-05-24 09:04:18 +00:00
Michal Nasiadka
1769a49115 opensearch: alter path after using rpm/deb packaging
opensearch-dashboards now use a dedicated user

Depends-On: https://review.opendev.org/c/openstack/kolla/+/883941
Change-Id: I6908f52f824a97a5a4a2bead92b7b2e5cdebdb9f
2023-05-24 08:48:45 +00:00
Dr. Jens Harbott
f849403a92 Fix log collection
Setting the CONTAINER_ENGINE env var was missed in one spot in [0].

[0] I395d2bdb0dfb4b325b6ad197c8893c8a0f768324

Change-Id: I29868d59cbef2bd5707ab20d2c30a2d8f6d6060e
2023-05-23 18:13:44 +02:00
Zuul
8661c1bbed Merge "neutron: Add neutron-ovn-agent support" 16.0.0.0rc1 2023-05-19 13:42:55 +00:00
Zuul
62be98f90c Merge "Add container engine option to scripts" 2023-05-19 11:59:56 +00:00
Michal Nasiadka
07815a21da neutron: Add neutron-ovn-agent support
Depends-On: https://review.opendev.org/c/openstack/neutron/+/878535
Change-Id: I05d8b29b59a7de76da488f68775547a8f0f11d0f
2023-05-19 10:20:16 +00:00
Michal Nasiadka
10fc1b748a ansible: bump min to 2.13 and max to 2.14.2
We limit to 2.14.2 due to a regression in ansible-core [1] that breaks
conditional include_task loops in handlers. This is used for controlled
restarts of MariaDB and RabbitMQ.

[1]: 65366f663d

Change-Id: I57425680a4cdbf0daeb9b2cc35920f1b933aa4a8
Co-Authored-By: Michal Nasiadka <michal@stackhpc.com>
2023-05-18 20:04:48 +01:00
Léo Gillot-Lamure
4ed432e084 docs: Remove redundant section about vagrant-vbguest
The section just after this one says the exact same thing with more details, so
we can remove it.

Change-Id: Iaa6c5a092b471728eec6f89d05546091aa4b17d9
2023-05-18 18:13:44 +02:00
Sean Mooney
ddadaa282e always add service_user section to nova.conf
As of I3629b84d3255a8fe9d8a7cea8c6131d7c40899e8 nova
now requires the service_user section to be configured
to address CVE-2023-2088. This change adds
the service user section to the nova.conf template in
the nova and nova-cell roles.

Related-Bug: #2004555
Signed-off-by: Sven Kieske <kieske@osism.tech>
Change-Id: I2189dafca070accfd8efcd4b8cc4221c6decdc9f
(cherry picked from commit a77ea13ef1991543df29b7eea14b1f91ef26f858)
(cherry picked from commit 03c12abbcc107bfec451f4558bc97d14facae01c)
(cherry picked from commit cb105dc293ff1cdb11ab63fa3e3bf39fd17e0ee0)
(cherry picked from commit efe6650d09441b02cf93738a94a59723d84c5b19)
2023-05-16 04:20:21 +00:00
Zuul
be1ca8a910 Merge "Fix Bash variable expansion issues in openrc file" 2023-05-16 01:58:48 +00:00
Pierre Riteau
f1b4098261 Remove kolla-ansible-ubuntu-binary-upgrade job
This job is not required since Zed dropped binary images. The job
definition was already deleted.

Change-Id: Ie3b8653ec309146f8e354a7afe4ae66dfbe6f8cd
2023-05-15 21:59:30 +02:00
FelipeAFV
296de45b30 Clarifies misleading error on ceilometer role`s precheck task
Signed-off-by: FelipeAFV <ffigueroa@whitestack.com>

Closes-Bug: #2009518
Change-Id: I8c4b0053f2f16b6d243462c4b8117748d26143a0
2023-05-12 01:07:49 +00:00
Zuul
bfd75b1f05 Merge "CI: retry smoke tests and instance creation" 2023-05-08 14:45:46 +00:00
Michal Nasiadka
2524ec422d CI: retry smoke tests and instance creation
Sometimes services have problems connecting to the database
or rmq on upgrade jobs, and we're not retrying the test.

Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/882344

Change-Id: I9fca3d4336375b72d09633b51c8596e0c08abbf9
2023-05-08 10:05:49 +00:00
Matt Crees
46c2b60d9f Correct ovn-ctl --db-nb-pidfile usage in templates
The flags ``--db-nb-pid`` and ``--db-sb-pid`` are corected to be
``--db-nb-pidfile`` and ``--db-sb-pidfile`` respectively. See here for
reference:
6c6a7ad1c6/utilities/ovn-ctl (L1045)

Closes-Bug: #2018436
Change-Id: Ic1e8768374566eb2198302807ecc644a19cd3062
2023-05-04 10:33:51 +01:00
Martin Hiner
53e8b80ed3 Add container engine option to scripts
This patch add a way to choose container engine inside tool and test
scripts. This is in preparation for Podman introduction but still
leaves Docker as default container engine.

Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com>
Change-Id: I395d2bdb0dfb4b325b6ad197c8893c8a0f768324
2023-04-28 16:16:55 +02:00
Matt Crees
d9451f49f3 Add support for checking Octavia cert expiration
Adds a flag ``kolla-ansible octavia-certificates --check-expiry <days>``
to the ``octavia-certificates`` command to check if the certificates
will expire within a given number of days.

Change-Id: I869b8afd85fe282d823ecf3593aa22f94a61b2a0
2023-04-27 15:22:12 +01:00
Zuul
92ddbdfbc1 Merge "octavia: Fix hm-interface after bumping openstack collection" 2023-04-27 09:28:36 +00:00
Sven Kieske
c899ff26f7
Deprecate Sahara and Vitrage
as agreed in the Kolla meeting:

https://meetings.opendev.org/meetings/kolla/2023/kolla.2023-04-19-13.00.html

Signed-off-by: Sven Kieske <kieske@osism.tech>

Change-Id: I099a5328e0837e1f5dcf7f21b7fd7bea1748456d
2023-04-26 15:35:01 +02:00
Michal Nasiadka
c0d0866785 octavia: Fix hm-interface after bumping openstack collection
New openstack collection modules have changed output
dicts/variable names - adapting to that.

Also changing octavia amphora image to focal, since bionic
hasn't been rebuilt since May 2021.

Closes-Bug: #2012255
Change-Id: Icf38a52472d02ef7d69bcd3716afb16e859d44a2
2023-04-26 13:13:31 +00:00
Maksim Malchuk
df6472e0af Fix Bash variable expansion issues in openrc file
Sometimes passwords, URLs and other values of the variables can
contain special symbols, for example the dollar sign, using these
values can lead to unpredictable attempts of the variable expansions
in the Bash scripts, such as openrc file, so we need to use single
quotes for all variables values.

Change-Id: Ib2aabadd0ffd6a8dc2591245f29b4478e03d92fc
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-04-25 14:46:11 +03:00
Zuul
6c3738a84c Merge "Designate: provide certificates file to use for neutron client requests" 2023-04-24 14:40:38 +00:00
Zuul
3b24d77c48 Merge "Fix faulty precheck for RabbitMQ" 2023-04-24 09:55:10 +00:00
Maksim Malchuk
31e0d374bd Designate: provide certificates file to use for neutron client requests
Closes-Bug: #1919464
Change-Id: I64a5185627f98bcaf471ed8ccf0fd8f314769404
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-04-23 01:13:32 +03:00
Zuul
e8091acefc Merge "Add check_mode: false to Nova upgrade checks" 2023-04-21 07:39:16 +00:00
Zuul
861e9467ad Merge "Revert "ansible: bump min to 2.13 and max to 2.14"" 2023-04-20 13:20:52 +00:00
Magnus Lööf
fdacf9d1d9 Fix faulty precheck for RabbitMQ
When using externally managed certificates, according to [1],
one should set `kolla_externally_managed_cert: yes` and ensure
that the certificates are in the correct place.

However, RabbitMQ precheck still expects the certificates to be
available on the controller node. This is incorrect.

Fix by not running the tasks in question when `kolla_externally_managed_cert: yes`

[1] https://docs.openstack.org/kolla-ansible/latest/admin/tls.html

Closes-Bug: 1999081
Related-Bug: 1940286
Signed-off-by: Magnus Lööf <magnus.loof@basalt.se>
Change-Id: I9f845a7bdf5055165e199ab1887ed3ccbfb9d808
2023-04-20 13:28:39 +02:00
Zuul
557b1272ff Merge "Trivial fix - add int filter for rabbitmq definitions" 2023-04-20 11:15:16 +00:00
Dr. Jens Harbott
b98a71e5d4 Revert "ansible: bump min to 2.13 and max to 2.14"
This reverts commit 9867060b6b3bd36aad121b53b9e5dddfca8a8e4c.

Reason for revert: seems this broke some jobs

Change-Id: I1ca81214ece403351c0a522ea05bf07802e4c4c0
2023-04-20 09:26:11 +00:00
Zuul
226eb2aa99 Merge "Configure coordination in default for masakari-api" 2023-04-20 09:11:13 +00:00
Michal Arbet
d1b24a4137 Trivial fix - add int filter for rabbitmq definitions
Change-Id: I1d8021a1bc780449e3ca96183c6f4abaed17b382
2023-04-19 21:27:20 +02:00
Zuul
6873931f1d Merge "cli: fix find globals.d" 2023-04-19 18:29:39 +00:00