- Mar 04, 2021
-
-
Doug Szumski authored
In services which use the Apache HTTP server to service HTTP requests, there exists a TimeOut directive [1] which defaults to 60 seconds. APIs which come under heavy load, such as Cinder, can sometimes exceed this which results in a HTTP 504 Gateway timeout, or similar. However, the request can still be serviced without error. For example, if Nova calls the Cinder API to detach a volume, and this operation takes longer than the shortest of the two timeouts, Nova will emit a stack trace with a 504 Gateway timeout. At some time later, the request to detach the volume will succeed. The Nova and Cinder DBs then become out-of-sync with each other, and frequently DB surgery is required. Although strictly this category of bugs should be fixed in OpenStack services, it is not realistic to expect this to happen in the short term. Therefore, this change makes it easier to set the Apache HTTP timeout via a new variable. An example of a related bug is here: https://bugs.launchpad.net/nova/+bug/1888665 Whilst this timeout can currently be set by overriding the WSGI config for individual services, this change makes it much easier. Change-Id: Ie452516655cbd40d63bdad3635fd66693e40ce34 Closes-Bug: #1917648
-
- Feb 20, 2021
-
-
wu.chunyang authored
it was confused to customize opts in trove-conductor.conf or trove-taskmanager.conf now. if we want to customize a opts,The operator needs to know which service is using the configuration opts. actually trove uses trove.conf is enough for all services this change combines all trove config files. Change-Id: I5a630109e3c4b59bff216146a3ed64c6d47e247f
-
- Feb 16, 2021
-
-
Michał Nasiadka authored
It currently runs on hosts in ovn group, and in case that controllers are not network gateways - it fails on missing openvswitch. Change-Id: Ibbf683872337402b4e2a38323bb6a3f35ee4bed4
-
- Feb 15, 2021
-
-
Pedro Henrique authored
This pull request adds support for the OpenID Connect authentication flow in Keystone and enables both ID and access token authentication flows. The ID token configuration is designed to allow users to authenticate via Horizon using an identity federation; whereas the Access token is used to allow users to authenticate in the OpenStack CLI using a federated user. Without this PR, if one wants to configure OpenStack to use identity federation, he/she needs to do a lot of configurations in the keystone, Horizon, and register quite a good number of different parameters using the CLI such as mappings, identity providers, federated protocols, and so on. Therefore, with this PR, we propose a method for operators to introduce/present the IdP's metadata to Kolla-ansible, and based on the presented metadata, Kolla-ansible takes care of all of the configurations to prepare OpenStack to work in a federated environment. Implements: blueprint add-openid-support Co-Authored-By:
Jason Anderson <jasonanderson@uchicago.edu> Change-Id: I0203a3470d7f8f2a54d5e126d947f540d93b8210
-
- Feb 11, 2021
-
-
Giacomo Lanciano authored
- Increment retries: waiting 20 seconds (i.e., 10 retries) seem to be not enough for monasca-grafana to start on the first node. Increasing to 80 seconds (i.e., 40 retries) fixes the issue. - Prevent the check from running when kolla_action=config. In that case, the command would never succeed as the service is not deployed yet (similarly to https://review.opendev.org/c/openstack/kolla-ansible/+/771237). Closes-Bug: #1915060 Related-Bug: #1821285 Change-Id: I7b42c51a66caed0eccf118615d841dca97a7af9d
-
- Feb 03, 2021
-
-
Carsten Koester authored
If the Octavia/Amphora management network is created by Kolla, support setting the IP address family and IPv6 address/RA mode. Closes-Bug: 1913409 Change-Id: I9f2ef2196654c91596cb5c4b3c157bcee267226a
-
LinPeiWen authored
This change enables the use of Docker healthchecks for manila services. Implements: blueprint container-health-check Change-Id: I3a2239764b7e3d6db51e535404388a512aba7629
-
- Jan 29, 2021
-
-
fudunwei authored
Need to consider Negative seqno to compare in some cases, but the task does not support to do that, we need to make it work. 1.we use mariabackup to restore datas on control1, delete the mariadb data on control2 and control3, and then use cluster recovery, as a result that the seqno of the other two nodes will be '-1'. 2. add one more control node into our existing mariadb cluster, and then use cluster recovery, the seqno of the new node will be '-1'. Change-Id: Ic1ac8656f28c3835e091637014f075ac5479d390
-
- Jan 27, 2021
-
-
Piotr Parczewski authored
There are inconsitencies across the documentation and the source code files when it comes to project's name (Kolla Ansible vs. Kolla-Ansible). This commit aims at unifying it so that the naming becomes consistent everywhere. Change-Id: I903b2e08f5458b1a1abc4af3abefe20b66c23a54
-
Doug Szumski authored
There are a few issues fixed here: - The Barbican API service doesn't set a log file, so all the Barbican API service logs go to loadwsgi.py.log by default. - The logs in loadwsgi.py.log are not ingested properly by Fluentd. - uWSGI logs go to barbican-api.log. This would normally be used as the log file for the Barbican API service logs. This patch makes the following changes to address the above issues: - All uWSGI logs (from the Emperor and Vassals) go to barbican_api_uwsgi_access.log Although these logs aren't strictly all access logs, this follows the existing pattern for WSGI logs. - The Barbican API service logs are written to barbican-api.log instead of loadwsgi.py.log. This follows the pattern used by other OpenStack services. - Fluentd is configured to parse the Barbican API service logs as it would with other OpenStack Python services. Change-Id: I6d03fa8c81c52b6f061514a836bbd15bb6639aaf Closes-Bug: #1891343
-
zhouhenglc authored
--db-sock JSON-RPC socket name --db-nb-sock OVN_Northbound db socket --db-sb-sock OVN_Southbound db socket [1] so should use db-nb-sock and db-sb-sock Closes-bug: #1913031 [1] https://github.com/ovn-org/ovn/blob/master/utilities/ovn-ctl Change-Id: Ife38237a308c87465d5ac3faf7d8de93fd49de4e
-
- Jan 25, 2021
- Jan 18, 2021
-
-
Will Szumski authored
Prior to this change it was not possible to generate the config before deploying the services as you'd hit: RUNNING HANDLER [Waiting for grafana to start on first node] ************************* Monday 18 January 2021 15:06:35 +0000 (0:00:00.182) 0:04:39.213 ******** skipping: [sv-h22a8-u19] skipping: [sv-h22a5-u36] FAILED - RETRYING: Waiting for grafana to start on first node (10 retries left). This would never succeed as the service has not yet been deployed. TrivialFix Change-Id: I9437a049b24e5e613a7e66add481a8983b84867a
-
- Jan 12, 2021
-
-
Piotr Parczewski authored
It is now possible to deploy either 1.x or 2.x version of Prometheus. The new 2.x version introduces breaking changes in terms of storage format and command line options. Change-Id: I80cc6f1947f3740ef04b29839bfa655b14fae146 Co-Authored-By:
Radosław Piliszek <radoslaw.piliszek@gmail.com>
-
- Jan 11, 2021
-
-
Doug Szumski authored
With this patch, Monasca no longer relies on automatic topic creation in Kafka, and instead pre-creates all topics before bringing up the containers. If the topic already exists then it will not be changed, therefore existing users are not affected. This patch allows per topic customisations, such as increasing the number of partitions on particular topics and also works around a race condition in automatic topic creation where multiple instances of the same service could race to create a topic causing some of the services to restart and throw an error before resuming normal operation. Change-Id: Ib15c95bb72cf79e9e55945d757b248e06f5f4065
-
- Jan 09, 2021
-
-
wu.chunyang authored
kolla-ansible upgrade failed when octavia_auto_configure set to true. because upgrade action don't register the resources info. this change adds some tasks to query the resources info for upgrade action in octavia role. Change-Id: I4b0ac001b38bee81d983dd68534b9d0e78b4f6d7
-
- Jan 08, 2021
-
-
Victor Morales authored
The bootstrap process tries to removes existing apparmor profiles but doesn't consider the case where those are disabled. This change fixes the scenario where the libvirt profile exists but is disabled. Closes-Bug: 1909874 Change-Id: Ied0f2acc420bd5cf1e092c8aee358cba35bd8d5d
-
- Jan 07, 2021
-
-
wu.chunyang authored
This change enables the use of Docker healthchecks for cloudkitty services. Implements: blueprint container-health-check Change-Id: I19892035382ffff5200e88da53408a19e72c9d68
-
- Jan 05, 2021
-
-
Andrew Lukoshko authored
Adding docker apt gpg key requires gpupg to be installed. Task will fail on minimal Debian 10 install as gnupg absent. Change-Id: I979f88162ad8a206e413b37ac7fb09bcc912e016
-
Buddhika Sanjeewa authored
The default kolla-ansible deployment of solum_api do not provide a value for 'host' variable in [api] section of the solum.conf This causes the solum_api service to fallback to default host 127.0.0.1, making haproxy unable to provide services. This fix adds value for 'host' variable, so the solum_api service able to listen on provided ip, making it available to services like haproxy accessing the service remotely Closes-Bug: 1909986 Change-Id: I38a4ecab071306143952c8036830318c476797f2
-
- Jan 04, 2021
-
-
Christian Berendt authored
Signed-off-by:
Christian Berendt <berendt@betacloud-solutions.de> Change-Id: Ib0c96479c79ce3dfa7469a58b1ea8ca038defe1e
-
- Dec 25, 2020
-
-
wu.chunyang authored
This change fix ansible deploy ovs-dpdk failed and neutron_openvswitch_agent container can't start.. dpdk_tunnel is a role variable, but kolla_address gets vaule from hostvars. so we need remove this variable and it's friends to group/all.yaml neutron_openvswitch_agent connects to ovs-db with 127.0.0.1, but ovs-db listen on management interface. Closes-Bug: 1908850 Change-Id: I86a13d2476644bfa2545a6737752cda1ade34d23
-
- Dec 23, 2020
-
-
Andrew Lukoshko authored
ansible_lsb.codename fact needs lsb-release package installed but it absent in Debian 10 minimal install. It's better to use ansible_distribution_release fact which contain the same value and don't need extra packages. Change-Id: Ifda71047ab041b4b9838e3480d6a301a43c1c156
-
- Dec 22, 2020
-
-
Kendall Nelson authored
As announced on the openstack-discuss ML[1], Karbor is retiring this cycle (Wallaby). Needed-By: https://review.opendev.org/c/openstack/karbor/+/767032 [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html Change-Id: I222cf302e507f6a9de0347c79ec536aa7be22bb6
-
- Dec 21, 2020
-
-
Mark Goddard authored
Users running on a Bionic host will now fail in prechecks. Change-Id: Id4bb0000c36d1a32ef30b5af61c324da6068cd51
-
- Dec 16, 2020
-
-
Mark Goddard authored
This can improve performance of image format conversion and encryption, if sufficient memory is available on the cinder-volume host. Closes-Bug: #1897276 Change-Id: I4ca1c4db7b66fdfc6bb873aad2570234f3882d81
-
Mark Goddard authored
Partial-Bug: #1897276 Change-Id: Ia06da456a7f26f0f2ceebc35eb88c0da0767e1c6
-
Ghanshyam Mann authored
Searchlight project is retiring in Wallaby cycle[1]. This commit removes the ansible roles of Searchlight project before its code is removed. Needed-By: https://review.opendev.org/c/openstack/searchlight/+/764526 [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018637.html Change-Id: I85aab66376ea4f1376c2705066ba3c7e5645644f
-
Ghanshyam Mann authored
Qinling project is retiring in Wallaby cycle[1]. This commit removes the ansible roles of Qinling project before its code is removed. Needed-By: https://review.opendev.org/c/openstack/qinling/+/764521 [1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018638.html Change-Id: I6543bacff638b1649511f7e779807954c34ef570
-
- Dec 14, 2020
-
-
Mark Goddard authored
This reverts commit 9cae59be. Reason for revert: This patch was found to introduce issues with fluentd customisation. The underlying issue is not currently fully understood, but could be a sign of other obscure issues. Change-Id: Ia4859c23d85699621a3b734d6cedb70225576dfc Closes-Bug: #1906288
-
- Dec 10, 2020
-
-
Pierre Riteau authored
The task "Stopping all Monasca Grafana instances but the first node" can fail with: error while evaluating conditional (monasca_grafana_differs['result']): 'dict object' has no attribute 'result' This is fixed by running this task on the same set of hosts than the task defining monasca_grafana_differs, i.e. groups['monasca-grafana']. Change-Id: I6ad0256fb2a3cdc91dddf441e5e1c41f4ac69017 Closes-Bug: #1907689
-
Mark Goddard authored
Mariadb recovery fails if a cluster has previously been deployed, but any of the mariadb containers do not exist. Steps to reproduce ================== * Deploy a mariadb galera cluster * Remove the mariadb container from at least one host (docker rm -f mariadb) * Run kolla-ansible mariadb_recovery Expected results ================ The cluster is recovered, and a new container deployed where necessary. Actual results ============== The task 'Stop MariaDB containers' fails on any host where the container does not exist. Solution ======== This change fixes the issue by using the 'ignore_missing' flag for kolla_docker with the stop_container action. This means the task does not fail when the container does not exist. It is also necessary to swap some 'docker cp' commands for 'cp' on the host, using the path to the volume. Closes-Bug: #1907658 Change-Id: Ibd4a6adeb8443e12c45cbab65f501392ffb16fc7
-
- Dec 09, 2020
-
-
Mark Goddard authored
The 'prechecks : Checking Docker version' task previously failed with Docker 20.10.0. The regex used to parse the version was returning 0.10.0, which is not above the minimum. The previous version of 19.x would have been parsed as 9.x, which is above the minimum. This change fixes the issue by matching the beginning and end of the version using \b. Depends-On: https://review.opendev.org/766183 Change-Id: I2a23eea7effb5b9a5e73361bcd48bd2e16d1569c Closes-Bug: 1907436
-
- Dec 08, 2020
-
-
douyali authored
Change-Id: I94005edeb95282619770b3310af8e6c5811bf8d8
-
- Dec 06, 2020
-
-
Radosław Piliszek authored
Change-Id: I7970c5b02f178fd8fb35c984117f6bc848353a5b Closes-Bug: #1906944
-
- Dec 04, 2020
-
-
Bartosz Bezak authored
Those loglevels can build up over time and create unnecessary high metrics cardinality. Change-Id: Ib1a03772d0bd58758430b37b4f2f67126cf86fa3 Closes-bug: #1906796
-
- Nov 23, 2020
-
-
wu.chunyang authored
set_available_variables is being deprecated. Use "@available_variables.setter" instead. Refer to: https://fossies.org/linux/ansible/lib/ansible/template/__init__.py Change-Id: I874318f78043d21d2aeebe4e0c35a304b5c94029
-
LinPeiWen authored
The two parameters "manila_glusterfs_volume_pattern" and "manila_glusterfs_mount_point_base" do not require default Change-Id: I58e7cdf1193900be54c136caabe6e41cedf5a932
-
- Nov 19, 2020
-
-
Victor Chembaev authored
Change-Id: I1ff4cbdf3f60cb7fd5fe5d3c5d498e05fe2df79a Closes-Bug: #1904702
-