13661 Commits

Author SHA1 Message Date
Doug Szumski
4168b46cff Fix Horizon WSGI application log parsing
Like other WSGI services in Kolla Ansible, the Horizon WSGI application
handles log output via the `wsgi.errors` object. See [1] for further
information. The problem is that this log output is written to a file called
`horizon.log`, causing it to processed as an 'Oslo log' in the Fluentd
processing pipeline. Since the log format doesn't match the expected format,
this results in parsing errors.

This fix renames the log file and adjusts the format to match other WSGI
applications. The logs are then processed in the same way as other WSGI
application logs, resolving the issue.

[1] https://modwsgi.readthedocs.io/en/master/user-guides/debugging-techniques.html

Change-Id: I93777d1c53920f5470c78356e6b3a4064fbe04b4
Closes-Bug: #1898174
2023-11-28 14:43:18 +00:00
Zuul
a20532de03 Merge "Fix octavia's proxysql configuration" 2023-11-27 11:36:52 +00:00
Zuul
5472fa729a Merge "Fix expose prometheus externally with single frontend" 2023-11-27 09:54:47 +00:00
Zuul
e50c99d1e1 Merge "Fix proxysql get mariadb_backup_database_password" 2023-11-23 14:52:29 +00:00
Zuul
303421ee5c Merge "Fix typo" 2023-11-23 14:24:30 +00:00
Zuul
887b47604f Merge "Move [oslo_policy] back inside Jinja if block" 2023-11-23 13:15:33 +00:00
Pierre Riteau
ab77177d2d Fix typo
Change-Id: Id6ca24c058fabf0c68bcb5b6d1e58175aaf531eb
2023-11-23 10:05:00 +00:00
Zuul
d6844dc895 Merge "Fix an issue with prometheus scraping itself" 2023-11-23 02:44:46 +00:00
Michal Arbet
ff7856258e Fix octavia's proxysql configuration
The patch [1] mentioned below added the jobboard
functionality to the octavia role, but unfortunately
it incorrectly implemented the functionality of users
and rules for proxysql.

This patch fixes this bug.

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

Closes-Bug: #2044293
Change-Id: I6524fabad19b438113db4affe05f5586db99dff4
2023-11-22 20:49:32 +01:00
Zuul
bad6759ee4 Merge "Fix glance-api failed to start privsep daemon" 2023-11-22 15:37:17 +00:00
Zuul
449683c5aa Merge "Configure CloudKitty with Prometheus basic auth" 2023-11-22 11:24:45 +00:00
Zuul
84f0a37e49 Merge "Fix grafana prometheus datasource" 2023-11-22 08:47:22 +00:00
Will Szumski
2c9dc5da03 Fix expose prometheus externally with single frontend
Closes-Bug: #2043831
Change-Id: I010fabd255d93d5329de82af2b5d21c8fa7d93c4
2023-11-22 07:30:26 +00:00
Pierre Riteau
4131eb458d Configure CloudKitty with Prometheus basic auth
Closes-Bug: #2044226
Change-Id: I5e17152584b758c9ca4f1cc14520337f979584b7
2023-11-22 07:08:19 +00:00
Pierre Riteau
c2bd891405 Move [oslo_policy] back inside Jinja if block
This avoids generating an empty [oslo_policy] section in nova.conf when
no custom policy file is defined.

Change-Id: I23fae8387573e7f37eda0f2a09cd937239afd93f
2023-11-21 21:39:13 +00:00
Zuul
151f510a6c Merge "Remove Glance and Neutron TLS proxies from fluentd input config" 2023-11-21 16:08:41 +00:00
Zuul
4e74d5964b Merge "Adding mariadb_port to wsrep sync status so alterative ports can be used" 2023-11-21 11:58:20 +00:00
Zuul
57a8ff033f Merge "Deprecate Masakari" 2023-11-21 07:32:17 +00:00
Zuul
bd63dfd1e4 Merge "Set HAProxy server timeout for openstack exporter" 2023-11-18 09:31:29 +00:00
Zuul
d9272118a2 Merge "keystone: do not report changed on tasks that list" 2023-11-17 19:16:17 +00:00
Zuul
e89b474b16 Merge "Deploy Glance and Cinder Backup with S3 backend support" 2023-11-17 19:11:49 +00:00
Zuul
f4cd334b9f Merge "keystone: Add support for OIDC options" 2023-11-17 19:01:31 +00:00
Will Szumski
775fac2b10 Fix an issue with prometheus scraping itself
Closes-Bug: #2043829
Change-Id: Ic4cbaf592a2699d9c0312c575f68613c8681239f
2023-11-17 18:25:12 +00:00
Will Szumski
dfce510c0f Fix grafana prometheus datasource
See:
https://grafana.com/docs/grafana/latest/administration/provisioning/

Closes-Bug: #2043828
Change-Id: I9ed07dc8c995adddf6d89838cd515af93d10bd00
2023-11-17 18:10:04 +00:00
Matt Anson
8000550e02 Set HAProxy server timeout for openstack exporter
Set the openstack exporter HAProxy backend server timeout to
``prometheus_openstack_exporter_timeout`` to ensure that scrapes
that take longer than haproxy_server_timeout don't timeout.

Closes-Bug: #2006051
Change-Id: I44841a6b6fa5bf659cace06295d18c093ad7f927
2023-11-17 14:41:52 +00:00
Zuul
48db509042 Merge "CI: bump upgrade jobs timeout to 3h (10800)" 2023-11-17 12:02:45 +00:00
Zuul
cab0296971 Merge "Enable 3.12 Required Feature Flags for RabbitMQ" 2023-11-17 11:47:02 +00:00
Michal Nasiadka
b390bba41a CI: bump upgrade jobs timeout to 3h (10800)
These jobs are timing out sometimes [1].

[1]: https://zuul.openstack.org/builds?job_name=kolla-ansible-rocky9-cephadm&job_name=kolla-ansible-rocky9-cephadm-upgrade&job_name=kolla-ansible-ubuntu-cephadm&job_name=kolla-ansible-ubuntu-cephadm-upgrade&job_name=kolla-ansible-debian-cephadm&job_name=kolla-ansible-debian-cephadm-upgrade&result=TIMED_OUT&skip=0

Change-Id: I047426e4df4856ea2a6ea5a014a7bcb1c9c98554
2023-11-17 07:06:13 +00:00
Dr. Jens Harbott
9675347fec Deprecate Masakari
Since the CI is failing and there are no contributors working on fixing
this, we are deprecating the service.

Also mention other deprecations in the README.

Change-Id: Ifff11645f6b4682810c042a0421d1eb569ab0ede
2023-11-16 18:45:15 +01:00
Zuul
08e2b734ba Merge "[doc] Fix the incorrect URL of 'Quick Start for development'" 2023-11-16 09:51:53 +00:00
Petr Slavchenkov
ef0f5a05c9 Fix proxysql get mariadb_backup_database_password
Implements: Kolla Ansible
Closes-Bug: #2043554
Change-Id: I5648a79b4aa1960f1984a5179e3dfc3f0982c709
2023-11-16 08:35:06 +00:00
Zuul
68ef87f844 Merge "ovn: Fix wording in limit check" 2023-11-15 15:52:05 +00:00
Zuul
4b35b9d9a9 Merge "Fix OpenStack exporter scrape with internal TLS & FQDN" 2023-11-15 15:10:48 +00:00
fzakfeld
85be68126e keystone: Add support for OIDC options
Introduce keystone_federation_oidc_additional_options variable

Change-Id: I39b9f35dab6f4e3ac2fcb505aabd2589e6e2ca69
2023-11-15 15:49:35 +01:00
Zuul
1a99b2858c Merge "CI: Log details about failed containers" 2023-11-15 14:41:47 +00:00
Zuul
e2f3ae5a3a Merge "Adds condition to handle QoS extension in sriov_agent.ini template" 2023-11-15 13:14:37 +00:00
Michal Nasiadka
cea076f379 Introduce oneshot docker_restart_policy
docker_restart_policy: no causes systemd units to not get created
and we use it in CI to disable restarts on services.

Introducing oneshot policy to not create systemd unit for oneshot
containers (those that are running bootstrap tasks, like db
bootstrap and don't need a systemd unit), but still create systemd
units for long lived containers but with Restart=No.

Change-Id: I9e0d656f19143ec2fcad7d6d345b2c9387551604
2023-11-14 15:17:50 +00:00
Zuul
e545515e50 Merge "CI: Add redis to octavia scenario in setup_gate" 2023-11-13 18:04:20 +00:00
Zuul
70307aa0ae Merge "CI: Fix tenks for newer libvirt" 2023-11-13 17:15:07 +00:00
Zuul
233b5c06f7 Merge "octavia-certificates: fix missing collection for ansible-core" 2023-11-13 17:15:04 +00:00
Zuul
04e1446bf5 Merge "Add fluent config for letsencrypt" 2023-11-13 15:24:41 +00:00
Michal Nasiadka
b9f0854c86 CI: Fix tenks for newer libvirt
Copy cat of I2cfd2667abb1ae8988b7a7fd9761b75c20a0eaa4

Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Change-Id: If4feec0a86f9a50ed43920ecf4d0da8875c71f4e
2023-11-13 14:18:32 +01:00
Michal Nasiadka
f3a6c77b18 octavia-certificates: fix missing collection for ansible-core
community.crypto collection was omitted in ansible-core implementation
patch
adding in trigger for requirements-core.yml to all optional jobs

Change-Id: Ib6bdea51280e171d42d6d37b0ab96c31697fddbe
2023-11-13 13:00:14 +00:00
Zuul
3e0014a7ea Merge "CI: Configure ephemeral disk using Kolla role" 2023-11-09 17:01:41 +00:00
Michal Nasiadka
ad5e8ffd33 CI: Add redis to octavia scenario in setup_gate
Octavia now requires redis - see [1].

[1]: Iec3c8a4b4e257557dc8ec995c41d0ad7e88e13e2

Change-Id: I5aa489209984974b2345b1f5f7608db022a1405e
2023-11-09 15:59:29 +00:00
Michal Arbet
5e54663e20 Fix kolla_docker module
Change-Id: I7df734cf15eba1af4da92f9c4ef12cc761442ca1
2023-11-09 11:47:32 +01:00
Zuul
e9dd15967b Merge "Add support for ansible-core" 2023-11-08 15:01:02 +00:00
Zuul
a599e91178 Merge "Set HORIZON_IMAGES_UPLOAD_MODE to direct by default" 2023-11-08 13:41:00 +00:00
Michal Nasiadka
bc203433f1 Add support for ansible-core
Collections version taken from official Ansible 7 package [1]
and limited to the same major version.

[1]: https://github.com/ansible-community/ansible-build-data/blob/main/7/ansible-7.7.0.yaml

Change-Id: I0f1ea9717397adc2d2c3215d74ec3759f351a57a
2023-11-08 09:52:20 +00:00
Boxiang Zhu
69d979c048 [CI] Add skyline scenario
Skyline is a new service for dashboard.
This patch adds a CI scenario which tests Skyline deployment.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/826948
Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/828464

Implements: blueprint skyline
Change-Id: I48488a24d6c8a03cd129929347b1bdac25f198b0
2023-11-08 09:28:53 +08:00