13465 Commits

Author SHA1 Message Date
Michal Nasiadka
b3ef7a9943 CI: venus - replace elastic with opensearch in gate deps
Change-Id: I4c5ade2d687684f37df83b44a852d88c77067680
2023-08-07 09:51:32 +02:00
Zuul
1938f555e3 Merge "Correct glance.conf example in external Ceph guide" 2023-08-04 11:49:34 +00:00
Zuul
e0b212d72d Merge "Fix L3 agent docs typo" 2023-08-02 09:48:56 +00:00
Zuul
4bfd9d85cd Merge "zun: Fix capsule functionality and tests" 2023-08-01 13:15:46 +00:00
Jake Hutchinson
bb05f3b862 Fix L3 agent docs typo
Change-Id: I149bc646d2e5fb1e32be9c94c6a8d75fd92893e1
2023-07-28 10:46:59 +01:00
Paul Arthur
acf9375edc Fix loop label syntax error with ansible-core 2.15
Labels are supposed to be strings, but prior to
https://github.com/ansible/ansible/pull/80040 Ansible
did not enforce this.

Change-Id: Iefad160be12f1b5e689a74a82714857fa867d69a
Signed-off-by: Paul Arthur <paul.arthur@flowerysong.com>
2023-07-27 18:05:47 +00:00
Zuul
af2ccd1572 Merge "Trivial: Add deploy-containers for skyline" 2023-07-27 10:37:17 +00:00
Zuul
7dbe8184de Merge "haproxy: support single external frontend" 2023-07-25 10:11:17 +00:00
Doug Szumski
bacd6c7f4f Fix OpenSearch Dashboards health check
The OpenSearch Dashboards container does not have a health
check defined when created. This causes the container to always
restart when reconfigured, even if no change has been made.

Change-Id: I0b437a77aeb61bc5ae9238f900a1fa00cbc34e18
Partial-Bug: #2028362
2023-07-21 16:54:34 +01:00
Matt Crees
618d056369 Correct glance.conf example in external Ceph guide
Under the Glance section of the external Ceph guide, to enable
copy-on-write the config heading should be ``[DEFAULT]``, rather than
``[GLOBAL]``. For reference, see the Glance docs:
https://docs.openstack.org/glance/latest/configuration/glance_api.html#DEFAULT.show_image_direct_url

Closes-Bug: #2017643
Change-Id: I2d77e01637ecae0bd10319eac4bc75340dd6f61f
2023-07-17 22:14:36 +02:00
Michal Arbet
6baa18a666 Trivial: Add deploy-containers for skyline
Change-Id: I7ea236f59a7ede1f5a9ab4c60e7e5aba907ea5b8
2023-07-17 21:25:44 +02:00
Michal Nasiadka
778523816b zun: Fix capsule functionality and tests
Change-Id: I7b998b34881084a68669dc9351ea1937c61534fa
2023-06-29 17:37:09 +02:00
Michal Nasiadka
49d891e85f CI: drop ceph jobs ulimit config for EL9
It's not needed anymore, since both Ceph and ansible-collection-kolla
are setting that by default.

Also fix test-core-openstack so it doesn't delete a server before
volume attachment test.

Change-Id: I20bd352479ee5562514084d0d11063e45e8b956a
2023-06-29 13:27:34 +00:00
Michal Nasiadka
4bc410c6ca haproxy: support single external frontend
Use case: exposing single external https frontend and
load balancing services using FQDNs.

Support different ports for internal and external endpoints.

Introduced kolla_url filter to normalize urls like:
- https://magnum.external:443/v1
- http://magnum.external:80/v1

Change-Id: I9fb03fe1cebce5c7198d523e015280c69f139cd0
Co-Authored-By: Jakub Darmach <jakub@stackhpc.com>
2023-06-29 01:44:00 +02:00
Michal Nasiadka
a0e614ee10 loadbalancer: Add option to not define track script
We've seen issues in CI when keepalived haproxy check script returns
an error and keepalived is switching to backup and then again to primary
on a single node environment.

Closes-Bug: #2025219

Change-Id: Iba62e76b3cf83f3ade6df81288d2d77129ffc725
2023-06-28 08:58:51 +00:00
Zuul
1e9f19aa6b Merge "Use friendly prometheus instance labels" 2023-06-22 17:01:47 +00:00
Zuul
0126e0900e Merge "Fix issue with octavia security group rules creation" 2023-06-22 15:42:32 +00:00
Zuul
3497cb6fb8 Merge "Fixing kolla_container_engine option" 2023-06-22 11:18:03 +00:00
Michal Arbet
f1bb97dd85 Fix issue with octavia security group rules creation
This patch fixing issue with octavia security group
rules creation when using IPv6 configuration for octavia
management network.

Closes-Bug: #2023502
Change-Id: I3f8fbb0632ec6ecdc9f3820ebbcf01480de59e1f
2023-06-21 11:19:51 +02:00
wu.chunyang
45ec9c020b Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to: https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: Ic2915f1b57a75d1865f5c239111c0859f76073f2
2023-06-21 09:47:26 +08:00
Zuul
e637978e26 Merge "Set previous_release to stable/2023.1" 2023-06-20 15:53:42 +00:00
Bartosz Bezak
309793d425 Set previous_release to stable/2023.1
Change-Id: Idbbd02b966922d5857ed54bac57668f0cf22113c
2023-06-20 10:43:20 +02:00
Dawud
eef3ff3084 Use friendly prometheus instance labels
Replaces the instance label on prometheus metrics with the inventory
hostname as opposed to the ip address. The ip address is still used as
the target address which means that there is no issue of the hostname
being unresolvable. Can be optionally enabled or set to FQDNs by
changing the prometheus_instance_label variable as mentioned in the
release notes.

Co-Authored-By: Will Szumski <will@stackhpc.com>
Change-Id: I387c9d8f5c01baf6054381834ecf4e554d0fff35
2023-06-20 06:44:10 +00:00
Zuul
d5bfc5a05c Merge "Refactor MariaDB and RabbitMQ restart procedure" 2023-06-20 06:12:49 +00:00
Ivan Halomi
72f2945c10 Fixing kolla_container_engine option
Hardcoded docker value in commands is not supported anymore
and kolla_container_engine is used instead.

Change-Id: I25d9563c82842ac51d41467ff7b4144b306fdb12
Signed-off-by: Ivan Halomi <i.halomi@partner.samsung.com>
2023-06-19 13:27:20 +02:00
Maksim Malchuk
0104f3e334 Fix Bifrost: remove an extra curly bracket
Closes-Bug: #2024314
Change-Id: I608b84905fa69346a33a1cef10f159b3412cbfd7
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2023-06-18 23:13:52 +03:00
Mark Goddard
6c037790f2 Refactor MariaDB and RabbitMQ restart procedure
Ansible 2.14.3 introduced a change that broke the method used for
restarting MariaDB and RabbitMQ serially [1][2]. In
I57425680a4cdbf0daeb9b2cc35920f1b933aa4a8 we limited to 2.14.2 to work
around this. Ansible upstream claim this behaviour was unintentional,
and will not fix it.

This change moves to a different approach where we use separate plays
with a 'serial' keyword to execute the restart.

This change also removes the restriction on the maximum supported
version of 2.14.2 on ansible-core - any 2.14 release is now supported.

[1] 65366f663d
[2] https://github.com/ansible/ansible/issues/80848

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

Change-Id: I5a12670d07077d24047aaff57ce8d33ccf7156ff
2023-06-17 21:02:49 +00:00
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