11917 Commits

Author SHA1 Message Date
Zuul
cb6ffa25e8 Merge "Fix mariadb_recovery when mariadb container is missing" 2020-12-16 09:36:54 +00:00
Zuul
75b622aeab Merge "Do not start swift-object-updater on stop" 2020-12-16 09:36:42 +00:00
Zuul
35db7211fa Merge "Pin ansible in test-requirements" 2020-12-16 02:58:33 +00:00
Ghanshyam Mann
c7386a8168 Remove retired Searchlight support
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
2020-12-15 18:37:34 -06:00
Ghanshyam Mann
dafde93fe2 Remove retired Qinling support
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
2020-12-15 18:35:09 -06:00
Zuul
860c32de76 Merge "Revert "Performance: Use import_tasks in the main plays"" 2020-12-15 19:52:24 +00:00
Zuul
50d30a19fc Merge "[docs] Add python3-venv package to quickstart.rst" 2020-12-15 17:41:43 +00:00
Zuul
44a903a53f Merge "Monasca log-metrics - Drop "notice" and "note" loglevel metrics by default" 2020-12-14 16:55:56 +00:00
Mark Goddard
db4fc85c33 Revert "Performance: Use import_tasks in the main plays"
This reverts commit 9cae59be51e8d2d798830042a5fd448a4aa5e7dc.

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
2020-12-14 10:36:55 +00:00
Adrian Andreias
43a1e386e4 [docs] Add python3-venv package to quickstart.rst
Python virtual environment creation fails on a fresh system if
python3-venv is not installed (Debian/Ubuntu).

Installation instructions used to be in the Quick Start guide, but
were removed in kolla-ansible/+/735894

Change-Id: I867322ee43d509fe46b6afba9216586515fee0d5
2020-12-11 20:00:45 +00:00
likui
ea348eafe2 Pin ansible in test-requirements
so that it matches what is tested otherwise.

Change-Id: I4eef9f89f1cd262ca2a96c20079756f5f1499ad3
2020-12-11 19:55:05 +00:00
Zuul
1437ba2d1b Merge "Fix prechecks with Docker 20.10.0" 2020-12-11 11:20:27 +00:00
Radosław Piliszek
90d0900e82 [CI] Drop periodics
We agreed that, due to DockerHub pull limits, it is more
appropriate to spend pull credits on real reviews than these
extra periodic runs.
This also makes us more lightweight on CI in general.

Change-Id: I5c2ee0042e9e07108a8177983fbf5fc6bb8163f0
2020-12-10 21:21:07 +01:00
Pierre Riteau
39e75c3087 Fix failure during Monasca Grafana upgrade
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
2020-12-10 17:18:10 +01:00
Mark Goddard
f903d774af Fix mariadb_recovery when mariadb container is missing
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
2020-12-10 12:27:25 +00:00
Mark Goddard
b60b0d5878 Fix prechecks with Docker 20.10.0
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
2020-12-09 14:12:07 +00:00
douyali
7ac1643660 Edit ironic inspector pxe filter driver name none to noop
Change-Id: I94005edeb95282619770b3310af8e6c5811bf8d8
2020-12-08 07:32:32 +00:00
Radosław Piliszek
74ae14a07b Do not start swift-object-updater on stop
Change-Id: I7970c5b02f178fd8fb35c984117f6bc848353a5b
Closes-Bug: #1906944
2020-12-06 16:29:21 +01:00
Bartosz Bezak
3d955f3043 Monasca log-metrics - Drop "notice" and "note" loglevel metrics by default
Those loglevels can build up over time and create unnecessary high metrics cardinality.

Change-Id: Ib1a03772d0bd58758430b37b4f2f67126cf86fa3
Closes-bug: #1906796
2020-12-04 10:48:40 +01:00
Zuul
ace3562f2e Merge "RabbitMQ handler refactored to restart services in serial" 2020-12-01 14:28:46 +00:00
Radosław Piliszek
c00e7b2c95 [CI] Fix the NFV scenario
It seems Aodh started being required.

Change-Id: I01714cbea03bddb0e438aebb197a8a0b2bcdb5b3
Closes-Bug: #1906299
2020-11-30 20:09:15 +01:00
Zuul
1a50dc28f1 Merge "Fix stop containers task in Swift rolling restart" 2020-11-24 16:45:23 +00:00
Zuul
8e765f8007 Merge "docs: add scaffolding for redirects" 2020-11-24 15:52:13 +00:00
Zuul
6a0e7c2b9b Merge "Delete the default parameters of the gluster NFS driver" 2020-11-24 15:51:20 +00:00
Zuul
bcc29dfa91 Merge "Do not set 'always' tag where unnecessary" 2020-11-24 15:50:14 +00:00
Zuul
172bc6eccd Merge "Performance: Use import_tasks in the main plays" 2020-11-24 15:47:35 +00:00
Mark Goddard
9c8dd7240d docs: Add magnum guide
Currently just covers deployment of Magnum. Usage information may be
added in future.

Change-Id: I3c1594c73be8e6805f80d51aad2343c084650bc2
2020-11-23 13:51:31 +00:00
wu.chunyang
fffd40f15b Fix an Ansible warning
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
2020-11-23 12:10:54 +00:00
LinPeiWen
36c3e3c5ec Delete the default parameters of the gluster NFS driver
The two parameters "manila_glusterfs_volume_pattern"
and "manila_glusterfs_mount_point_base" do not require default

Change-Id: I58e7cdf1193900be54c136caabe6e41cedf5a932
2020-11-23 11:48:25 +00:00
Zuul
d6f3398538 Merge "Remove validate-install-command.sh" 2020-11-20 12:19:37 +00:00
Zuul
c9b29175ec Merge "Add service specific custom haproxy config override" 2020-11-20 12:09:41 +00:00
Zuul
49fe229091 Merge "Update docs for Ubuntu 20.04" 2020-11-20 11:07:07 +00:00
Mark Goddard
8e47f6b833 docs: improve external Ceph docs
* make each section independent
* move enable flags to specific sections
* move inventory changes to Cinder section
* move Nova config that is actually for Cinder volumes to Cinder section
* add an introduction about each integration

Change-Id: Ie8d82010bf8d5b8af2c039f285744e5ae67316dc
2020-11-20 08:52:10 +00:00
Mark Goddard
202b4af1e9 Remove validate-install-command.sh
This file is for kolla images.

Change-Id: I2c1a21790b65cf6537380d576c0abb4d16bd369b
2020-11-20 08:42:52 +00:00
likui
a62cce67e6 Update docs for Ubuntu 20.04
* Use 'apt install' command instead of legacy 'apt-get'

Change-Id: Idae8d325bce354fa3b4c5be412965122af8f1413
2020-11-20 08:40:36 +00:00
Victor Chembaev
4cc4ba59da RabbitMQ handler refactored to restart services in serial
Change-Id: I1ff4cbdf3f60cb7fd5fe5d3c5d498e05fe2df79a
Closes-Bug: #1904702
2020-11-19 20:11:58 +03:00
Zuul
e45cfec339 Merge "Fix kolla-ansible to work with pyenv-virtualenv" 2020-11-19 10:42:36 +00:00
wu.chunyang
be7d640c05 [CI] Add trove smoke test CI
Add trove smoke test.

Change-Id: I571d9663bcadb1ddc5a7ad86a2c478706e0705a9
2020-11-19 18:11:40 +08:00
Zuul
651d5e2db2 Merge "Add support for GlusterFS NFS Manila backend" 2020-11-18 21:44:06 +00:00
zengchen228
aaab1d1b68 Fix kolla-ansible to work with pyenv-virtualenv
One of the pyenv-virtualenv-set-up aliases depends on a symlink.
It seems pyenv runs the bash script from such a path and it fails
because of a failing comparison (VIRTUAL_ENV not detected).

The VIRTUAL_ENV is ensured to be fully resolved as well for safety.

This requires readlink from GNU coreutils but all supported platforms
have it by default.

Extra comments included, as well as simplification of directory
detection - readlink handles this (not that `bin` itself was
ever a symlink...).

Closes-Bug: #1903887
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Change-Id: I2fe6eb13ce7be68d346b1b3b7036859f34c896c4
2020-11-18 20:41:01 +00:00
Zuul
ec7257688b Merge "kibana: Remove 6.x migration from upgrade" 2020-11-18 16:32:59 +00:00
Zuul
4b3ef3f4ca Merge "Add override timeout for openstack exporter" 2020-11-16 13:27:51 +00:00
Zuul
6c2bb6b736 Merge "CI: add missing --fail argument to curl" 2020-11-14 22:44:54 +00:00
Mark Goddard
9444631078 CI: add missing --fail argument to curl
Change-Id: Ibd06726ac6edcb63a1d5d4f4148851876316dc5b
2020-11-13 17:08:44 +00:00
Alban Lecorps
99680b56ef Add override timeout for openstack exporter
Add scrape_timeout option in
prometheus_openstack_exporter job in order
to avoid timeout for large Openstack environment.

Change-Id: If96034e602bee3b3eea34a2656047355e1d17eec
Closes-Bug: #1903547
2020-11-11 11:14:46 +00:00
Zuul
6a3275b47d Merge "Upgrade from Victoria" 2020-11-10 15:23:12 +00:00
Isaac Prior
e66186f89a Add service specific custom haproxy config override
Change-Id: If6c50606fa3da353728ae4d916df20fcc95b8927
2020-11-10 12:01:43 +00:00
Radosław Piliszek
ce35b43ab9 Upgrade from Victoria
Now that it has its own branch and published images.

Depends-On: https://review.opendev.org/761822
Change-Id: I99924b52ee4e0aca1ca4c416190292e561b5c043
2020-11-10 11:01:44 +00:00
Zuul
7f980b4907 Merge "[CI] Set 0 swap size" 2020-11-09 15:34:28 +00:00
Zuul
1c03c230a3 Merge "ovn: Do not schedule SNAT routers on computes" 2020-11-09 15:24:43 +00:00