12818 Commits

Author SHA1 Message Date
Zuul
0950b464f0 Merge "horizon: move horizon_enable_tls_backend to group_vars" 2021-12-31 11:11:03 +00:00
Zuul
18f0f54536 Merge "Use Docker healthchecks for storm services" 2021-12-31 10:16:12 +00:00
Jeffrey Zhang
6e3f741ace Continue to run all actions if one action failed in curator
This patch also configure delete indices action before close indices.
more info check curator source code[0].

[0] ac5db911a1/curator/cli.py (L217-L224)

Change-Id: I9fb4b25514f5890adfac2f4007ec4a819fc9f566
Closes-Bug: #1954720
2021-12-31 09:48:56 +00:00
Michal Arbet
f3d5425808 Make cron logfile minsize,maxsize configurable
This patch is moving minsize and maxsize logrotate
options to defaults and use them in template.

Change-Id: Ic2dfc747faedef8a7a4bc5e61db7c0cb5bf93e88
2021-12-31 09:44:08 +00:00
Pierre Riteau
56fc74f231 Move project_name and kolla_role_name to role vars
Role vars have a higher precedence than role defaults. This allows to
import default vars from another role via vars_files without overriding
project_name (see related bug for details).

Change-Id: I3d919736e53d6f3e1a70d1267cf42c8d2c0ad221
Related-Bug: #1951785
2021-12-31 09:26:25 +00:00
Zuul
2a7823b5cb Merge "CI: future-proof return semantics in check-failure.sh" 2021-12-30 21:49:16 +00:00
Zuul
e5e1fad6b3 Merge "Add ovn_sb_connection to octavia.conf" 2021-12-30 17:30:18 +00:00
Zuul
dbe9bbc2ad Merge "Add ironic-inspector policy configuration" 2021-12-30 15:22:33 +00:00
Mark Goddard
613b00cccf CI: future-proof return semantics in check-failure.sh
In case we add further check functions, use a return rather than exit.

Change-Id: Ie2a53028802ecde628bc9fe0b4e3236bdb588cf9
2021-12-30 14:42:37 +00:00
Radosław Piliszek
72221aa9f0 fluentd: remove legacy parsing config
After we remove the problematic, legacy "parser" plugin, the
config only needs the new, modern syntax.
This removes warnings that were logged.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/823071
Change-Id: I33aa06de6ce88288769a8291ebd59e78e07cdbaf
2021-12-29 13:37:47 +00:00
Radosław Piliszek
581544a037 [CI] Check fluentd errors
We consider them critical and prefer to fail the jobs.

Change-Id: I3c2475522f8f37e3b608d3c321aee27277fc9dee
2021-12-29 10:15:55 +00:00
Ching Kuo
1077a9a4e7 Add ovn_sb_connection to octavia.conf
This commit added ovn_sb_connection to octavia.conf otherwise it will
try to connect to ovn-sb-db using the default address which is
127.0.0.1 while the ovn-sb-db listen on the IP address of the
api_interface.

Closes-Bug: #1950111

Change-Id: I9cb9a0365d00ffd70562b4b3e83493ec09bd52c2
2021-12-29 10:38:23 +08:00
Radosław Piliszek
1a3c4f1bbf fluentd: add modern parsing config
To satisfy the needs of the modern parser plugin.

Needed-By: https://review.opendev.org/c/openstack/kolla/+/823071
Co-Authored-By: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I2b748d0544c14bebefe8c62aa5aafaaa5371ce53
2021-12-28 17:51:26 +00:00
Mark Goddard
1fd1f131e7 Remove unused template wsgi_python.conf.j2
We stopped using this file in Queens
(https://review.opendev.org/494635), but the file was not removed at
that time.

Change-Id: Ibe5fb291e7c39965f5c4ff5ee4ea0bb1f8e6e9c2
Closes-Bug: #1840158
2021-12-28 14:37:33 +00:00
Radosław Piliszek
df2a29e483 Fluentd cleanup
We no longer have to support multiple fluentd versions and rely
on the workaround.

Change-Id: Id4083a9f07317fc04467e52176850f3909703169
2021-12-28 14:33:02 +00:00
Zuul
54bc017ae1 Merge "Remove Monasca Log Metrics service" 2021-12-27 22:00:24 +00:00
Zuul
42fd0a795e Merge "Stop creating non-keystone admin endpoints" 2021-12-27 15:06:12 +00:00
Radosław Piliszek
8cc569306a Deprecate storage_interface variable
Per [1] and exchange on IRC.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-December/026437.html

Change-Id: I322500e7204eb129d7bf085006627e8c4aaaa934
2021-12-23 15:37:03 +00:00
Mark Goddard
c358a2d586 Revert "Use friendly target names in Prometheus"
This reverts commit 4ff65b7661ea06e9fa8631c4eb82232e03af77d7.

Reason for revert: adds assumptions about inventory_hostname being resolvable.

Closes-Bug: #1955563
Change-Id: Ifa2b2ea8622f56c34b8f7f37fee53133272ff925
2021-12-23 15:14:33 +00:00
Radosław Piliszek
f8457d2e41 [docs] swift: fix mentions of interfaces config
Change-Id: I27496528c684c993a3e470265ba86cc29c136c7b
2021-12-23 15:03:44 +00:00
Mark Goddard
9e89af6f59 bifrost: preempt change in defaults for TFTP and HTTP boot paths
Bifrost in Yoga will change the default TFTP and HTTP boot directories
to reside under /var/lib/ironic/. We already avoid the cross-filesystem
linking issue that the patch aims to address, by overriding
tftp_master_path. Avoid this breaking us by reverting to the previous
defaults.

Needed-By: https://review.opendev.org/c/openstack/bifrost/+/822743

Change-Id: Idc54c78c618ae90b4d933c2c401bb1789b0abd36
2021-12-23 10:21:42 +00:00
likui
867f1ddaea Delete the logrotate files because they do not have separate logs
Change-Id: I67995073b92d6ea9ccc208ae96e8a6045369b801
2021-12-23 16:15:42 +08:00
Margarita Shakhova
590cd71893 Add ironic-inspector policy configuration
Fix configuration for ironic role in order to apply custom
policies for ironic-inspector API

Closes-Bug: #1952948
Change-Id: Id454c693f570e99ea58d2a6231f01a84b80ca56a
2021-12-22 05:49:55 -05:00
Zuul
97db1b89d7 Merge "Add way to change logrotate scheduling" 2021-12-21 23:53:30 +00:00
Zuul
4c3d17c569 Merge "[docs] Mark init-runonce properly" 2021-12-21 18:46:46 +00:00
Zuul
b9d39af030 Merge "ovn: configure ovn in ovsdb only on ovn-controller hosts" 2021-12-21 18:46:39 +00:00
Zuul
86bca63351 Merge "Fix aodh wsgi config file in Debuntu binary" 2021-12-21 18:29:08 +00:00
Zuul
f4e9c618f4 Merge "Support copying static Vendordata file into Nova API container" 2021-12-21 18:29:03 +00:00
Zuul
efdc335d4d Merge "kibana: do not send cluster statistics to Elastic" 2021-12-21 16:01:32 +00:00
Mark Goddard
4c6d777868 horizon: move horizon_enable_tls_backend to group_vars
This variable is referenced by horizon_listen_port, which becomes
undefined outside of the horizon role. One symptom of this is that
the hostvars variable becomes undefined when referenced for debugging
purposes.

This issue was introduced by Ibb5ad1a5d1bbc74bcb62610d77852d8124c4a323,
which has been backported to Victoria.

This change fixes the issue by moving horizon_enable_tls_backend to
group_vars.

TrivialFix

Change-Id: I1fc4e2a24fe096a49434d7e16851e63efd25d74c
2021-12-21 15:29:08 +00:00
Zuul
111b86476c Merge "Added upgrade note for separate nova and cinder keys." 2021-12-21 14:29:49 +00:00
Radosław Piliszek
ef8c4274d2 [CI] Test Ironic on Debian
Change-Id: Idc3e39716bcb0dccadbd0f72c2a354616b1acb38
2021-12-21 12:52:16 +00:00
Zuul
6cf9d1301e Merge "Use Docker healthchecks for zookeeper services" 2021-12-21 12:35:37 +00:00
Zuul
2bf4470fc4 Merge "Drop vmtp" 2021-12-21 12:16:06 +00:00
Dr. Jens Harbott
479a78706a Stop creating non-keystone admin endpoints
The admin interface for endpoints never had any real use, the
functionality was the same as for the public or internal endpoints,
except for Keystone. Even for Keystone with API v3 it would no longer
really be needed, but it is still being required by some libraries that
cannot be changed in order to stay backwards compatible.

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: Icf3bf08deab2c445361f0a0124d87ad8b0e4e9d9
2021-12-21 13:09:36 +01:00
abraden
e0e8ddf757 Added upgrade note for separate nova and cinder keys.
Closes-Bug: 1928690
Change-Id: I1bf7c272c782134511e6553a1e2a4b7220556802
2021-12-21 11:46:00 +00:00
Radosław Piliszek
0cbdedd0a3 Drop vmtp
Details in the attached reno.

Change-Id: I438a453ca522493524fdb9760c1edb330916084b
2021-12-21 07:29:32 +00:00
Zuul
0f460f56de Merge "[Security] Add log4j vulnerability mitigation in Elasticsearch" 2021-12-20 22:10:08 +00:00
Radosław Piliszek
1c93c8eab6 [docs] Mark init-runonce properly
This is a docs amendment to let users know that calling
init-runonce is not a required deployment step and it may not work
for them if they modified the defaults.

Change-Id: Ia3922b53d91a1a820447fec6a8074b941edc2ee9
2021-12-20 18:08:34 +00:00
Zuul
16db562f87 Merge "Use Docker healthchecks for neutron-bgp-dragent service" 2021-12-20 16:06:11 +00:00
Zuul
78c7952d83 Merge "Update noVNC URL for noVNC >= 1.0.0" 2021-12-20 15:01:02 +00:00
likui
f17bd2db77 Add logrotate to libvirt service
Change-Id: I5d6af3707c3de4466699f1a0e6ff2f2e2fe4e123
2021-12-20 19:44:49 +08:00
Mark Goddard
80a32c3c74 cinder: restart services after upgrade
This patch is roughly an adaptation of
Ia6fc9011ee6f5461f40a1307b72709d769814a79 for cinder.

During an upgrade, cinder pins the version of RPC calls to the minimum
seen across all services. This ensures that old services do not receive
data they cannot handle. After the upgrade is complete, all cinder
services are supposed to be reloaded to cause them to check again the
RPC versions of services and use the new latest version which should now
be supported by all running services.

There is a second issue in that it takes some time for the upgraded
services to update the cinder services database table with their new
version. We need to wait until all cinder services have done this
before the restart is performed, otherwise the RPC version cap will
remain in place. There is currently no interface in cinder available for
checking these versions, so as a workaround we use a configurable
delay with a default duration of 30 seconds, as we do for nova.

This change restarts all cinder services after an upgrade, after a 30
second delay.

Closes-Bug: #1954932
Related-Bug: #1833069

Change-Id: I9164dc589386d2c2d4daf1bf84061b806ba9988d
2021-12-18 09:42:24 +00:00
Zuul
a681494528 Merge "Bump timeout for grafana startup" 2021-12-16 15:13:17 +00:00
Piotr Parczewski
ecbd96bebb [Security] Add log4j vulnerability mitigation in Elasticsearch
Change-Id: I2d4a4fab35771723be82a1c8b98dbe4cc3164f58
2021-12-16 08:40:41 +00:00
Zuul
db789efce0 Merge "Update dnsmasq logging" 2021-12-09 14:31:39 +00:00
Michal Nasiadka
675d4f55d5 bifrost: set IPA deploy logs dir to /var/log/kolla/ironic
By default those are saved in /var/log/ironic/deploy.
Change of path was introduced by [1] since Victoria.

[1]: https://review.opendev.org/c/openstack/bifrost/+/742854

Change-Id: I0fb69a06d6565d633f9ea0e37e0a780a70bb0ced
2021-12-09 11:34:51 +01:00
Dr. Jens Harbott
f8f34e0c47
Bump timeout for grafana startup
The initial migrations when starting grafana for the first time may
sometimes take much longer than 20s, we have seen samples up to near
60s. Allow 120s to have some margin. Also make the timeout parameters
configurable.

Closes-Bug: 1769962
Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: If9186d8aa65150c492657550064789e211dbb570
2021-12-09 08:05:57 +01:00
Seena Fallah
e4af0c03d2 ovn: configure ovn in ovsdb only on ovn-controller hosts
Based on some variables like tunnel_interface_address that are not present in nodes without ovn-controller like controller nodes this task will be failed because of undefined variable

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Change-Id: Ic511bf6479438f9288a008afb2aae43083a4e69f
Closes-Bug: #1953367
2021-12-06 19:43:00 +03:30
Dmitry Tantsur
10616fb19a Prepare tests for the Ironic combined service
In I51bf7226aea145dc7c8fd93d61caa233ca16c9c9 we are introducing a way to
run Ironic API and conductor in one process. In the Bifrost change
I9faecfe6ece6d3c35396e3378c1e3930a487e130 we are switching Bifrost to
it, which breaks the Kolla job.

This change makes get_logs.sh aware of the new service. Also drop
RabbitMQ since Bifrost hasn't supported it for a while already.

Change-Id: I30ac6bd4332dacbdce1f5e25bd6a97d2982b208e
2021-12-06 11:39:14 +01:00