11834 Commits

Author SHA1 Message Date
Buddhika Sanjeewa
e9f4a5a38e Fixes solum_api Listening on 127.0.0.1
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
2021-01-05 09:31:29 +00:00
Zuul
074e576164 Merge "Fix Ceph links" 2021-01-04 10:28:13 +00:00
Zuul
65c4113751 Merge "Remove swift sanity check" 2021-01-02 20:33:38 +00:00
Zuul
045c2f1565 Merge "docs: add info on adding and removing hosts" 2020-12-29 16:09:32 +00:00
Zuul
80faa810c3 Merge "Remove Retired Karbor Support" 2020-12-29 09:29:11 +00:00
Sergei Chekanov
e71894b2fb Fix Ceph links
and drop the reference to ceph-deploy (seems abandoned).

Change-Id: I763317a6f8207357991c23fa5a2fc8cc6f8a17f4
2020-12-28 12:44:34 +00:00
Andrew Lukoshko
7c37922fa7 Use ansible_distribution_release instead of ansible_lsb.codename
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
2020-12-23 08:15:21 +00:00
Victor Morales
520abc8800 Fix api_adress_family typo
Change-Id: Id93e7a91253b46e42d4817785d42ccc52564c330
2020-12-22 18:15:48 -08:00
Kendall Nelson
25b9de91a2 Remove Retired Karbor Support
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
2020-12-22 09:50:49 +00:00
Zuul
4b51997e7b Merge "Drop lower-constraints" 2020-12-21 11:03:32 +00:00
Zuul
f30cf26271 Merge "Remove retired Searchlight support" 2020-12-19 03:36:07 +00:00
Zuul
525bbf3962 Merge "Remove retired Qinling support" 2020-12-18 23:21:57 +00:00
Radosław Piliszek
604d85b6d2 Drop lower-constraints
Per our PTG resolution [1] and general OpenStack resolution [2], lower-constraints
are not worth the extra work and confusion they introduce.
This patch drops them along with all mentions.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-October/018445.html
[2] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019521.html

Change-Id: I4c65a428facdf6d4ce28d97a868589aeae4c856e
2020-12-18 20:05:27 +01:00
Zuul
61a9cc3a78 Merge "[doc] Fix a typo in dpdk doc" 2020-12-16 20:20:06 +00:00
Zuul
dc98b49d94 Merge "Add support for using a tmpfs for Cinder image conversion" 2020-12-16 18:51:33 +00:00
Zuul
ea33a9cde0 Merge "Add support to kolla_docker for tmpfs mounts" 2020-12-16 18:51:19 +00:00
wu.chunyang
f1e7e652f5 [doc] Fix a typo in dpdk doc
docs site cann't render it correctly without the space.
see: https://docs.openstack.org/kolla-ansible/latest/reference/networking/dpdk.html
trivial fix

Change-Id: I3ebea8c1ab76f2aaac80f3e2f7a84cd69c018ae6
2020-12-16 22:22:30 +08:00
Mark Goddard
11a60a6568 Add support for using a tmpfs for Cinder image conversion
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
2020-12-16 10:02:48 +00:00
Mark Goddard
279264f4c9 Add support to kolla_docker for tmpfs mounts
Partial-Bug: #1897276

Change-Id: Ia06da456a7f26f0f2ceebc35eb88c0da0767e1c6
2020-12-16 10:02:03 +00:00
Zuul
0feaa2e63d Merge "CI: enable TLS in single node upgrade jobs" 2020-12-16 09:38:12 +00:00
Zuul
053ed57461 Merge "[CI] Add trove smoke test CI" 2020-12-16 09:38:02 +00:00
Zuul
f35f763068 Merge "Fix an Ansible warning" 2020-12-16 09:37:33 +00:00
Zuul
edb3bce7c5 Merge "docs: Add magnum guide" 2020-12-16 09:37:23 +00:00
Zuul
0445f41d3d Merge "Edit ironic inspector pxe filter driver name none to noop" 2020-12-16 09:37:08 +00:00
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
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
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