10797 Commits

Author SHA1 Message Date
Zuul
5126087af5 Merge "CentOS 8: Support variable image tag suffix" 2020-01-21 09:29:58 +00:00
Zuul
91c3dfe91c Merge "Ansible lint: disable some checks" 2020-01-18 08:30:57 +00:00
Marcin Juszkiewicz
934fea1aac Ansible lint: disable some checks
204 for very long url which is hard to break safely
306 for "echo | docker" as echo should not fall

Change-Id: I14df39d611d39ad1f6184ab92d628cb010881fbb
2020-01-17 13:51:43 +00:00
Marcin Juszkiewicz
1453474c65 Ansible lint: Variables should have spaces before and after
Change-Id: I70f692f125739b5119c71a554a37b5c21d4164f6
2020-01-16 16:37:20 +01:00
Zuul
2c2eeb8159 Merge "Configure services to use Certificate Authority" 2020-01-15 22:16:30 +00:00
Zuul
7671384919 Merge "Ansible lint: task names - horizon" 2020-01-15 15:04:53 +00:00
Zuul
e5ba7adc5f Merge "External Ceph: copy also cinder keyring to nova services" 2020-01-15 13:22:05 +00:00
Michal Nasiadka
71d4c697cd External Ceph: copy also cinder keyring to nova services
Since [1] nova-compute uses rbd python library instead of libvirt to cleanup
volumes and get pool info - so it requires cinder keyring on filesystem.

In external ceph case it is often that nova key does not exist (is simply a copied
cinder key) and the rbd user is set to cinder - therefore the earlier mentioned
operations will fail due to a missing keyring on the filesystem.

[1]: https://review.opendev.org/#/c/668564/

Change-Id: Idef21dc5f7e9ff512bc8920630a3de61a1e69eee
Backport: train
Closes-Bug: #1859408
2020-01-14 15:59:07 +00:00
Michal Nasiadka
9385911398 Ansible lint: task names - horizon
Change-Id: I1f8d80d2c655f15b8591aea95af81263581ebaaf
2020-01-14 14:08:15 +01:00
Zuul
a4e7a13ac7 Merge "Ansible lint: use command module instead of shell" 2020-01-14 10:31:30 +00:00
Zuul
4afb1841cd Merge "Ansible lint: version constraints for pip and docker" 2020-01-14 10:31:29 +00:00
Zuul
b26ddaad17 Merge "Ansible lint: set -o pipefail when shell pipes used" 2020-01-14 10:31:27 +00:00
Zuul
3d40661630 Merge "Ansible lint: task names" 2020-01-14 10:31:13 +00:00
Zuul
2cc4f8325e Merge "Ansible lint: whitespace" 2020-01-14 10:31:12 +00:00
Zuul
3751dce25a Merge "Ansible lint: remove comparison with true or false" 2020-01-14 10:31:11 +00:00
Zuul
61266a63e3 Merge "Fix fernet-node-sync error catching" 2020-01-14 10:31:09 +00:00
James Kirsch
c15dc20341 Configure services to use Certificate Authority
Include a reference to the globally configured Certificate Authority to
all services. Services use the CA to verify HTTPs connections.

Change-Id: I38da931cdd7ff46cce1994763b5c713652b096cc
Partially-Implements: blueprint support-trusted-ca-certificate-file
2020-01-13 11:00:11 -08:00
Zuul
13d668d22c Merge "Fix Zun Docker runtime selection" 2020-01-13 14:14:33 +00:00
Michal Nasiadka
72afbcec4e Fix fernet-node-sync error catching
Backport: train stein rocky
Depends-On: https://review.opendev.org/701779
Related-Bug: #1859047
Change-Id: I09844e0807a93d9edd8d014276b0174d77a993a0
2020-01-13 12:42:56 +00:00
Zuul
734892ea45 Merge "Use distro_python_version in fernet-node-sync" 2020-01-13 11:36:02 +00:00
Mark Goddard
5fb10e08fe Ansible lint: use command module instead of shell
Change-Id: Ibf40216b847f103e383f19fe1ef608a75fcfd452
Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2020-01-13 10:45:10 +00:00
Mark Goddard
b0b0bd59cb Ansible lint: version constraints for pip and docker
Change-Id: Iede314c1a93b91bf14f0f8b9b8135f88a44e130c
Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2020-01-13 10:43:18 +00:00
Mark Goddard
10c1669364 Ansible lint: set -o pipefail when shell pipes used
Change-Id: I3d0047d24b6daf35f30bd3429428e83b448e6414
Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2020-01-13 10:43:18 +00:00
Mark Goddard
a6cb008c54 Ansible lint: task names
Change-Id: Iecbc2fe5fa3391dca5a3cc7e575314b95942114b
Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2020-01-13 10:38:12 +00:00
Mark Goddard
fe217e98c0 Ansible lint: whitespace
Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>

Change-Id: I65d9604d8522f0a60fbfeea718a63866410768b6
2020-01-13 10:38:04 +00:00
Mark Goddard
9e3c774371 Ansible lint: remove comparison with true or false
Change-Id: I3caa4581ba276082e859f18aaa6638472f5fbe49
Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
2020-01-13 10:33:43 +00:00
Zuul
1a3bf97843 Merge "Use kolla_logs volume for Elasticsearch" 2020-01-10 23:29:12 +00:00
Radosław Piliszek
5e8431e0cc Fix Zun Docker runtime selection
Per [1] Docker uses API version 1.26 since daemon version 1.13.1.
Kolla Ansible forced a limit on the Docker API version reported
to Zun of 1.24 which was surprising users and preventing
usage of Docker runtime selection via Zun.
The default of Zun is 1.26 [2] which enables runtime selection.
Zun does not use this parameter for anything else atm.

[1] https://docs.docker.com/engine/api/v1.26/#section/Versioning
[2] https://review.opendev.org/490794

Change-Id: Ide6eb4c2b079cf35e633ad6a04db1587e40e7633
Closes-bug: #1859176
2020-01-10 21:06:15 +01:00
Michal Nasiadka
4072a3ebff Use distro_python_version in fernet-node-sync
Since Debian and Ubuntu are already on Python3 only and don't have unversioned
Python binaries (no /usr/bin/python) - we need to call the fetch-fernet-tokens
script using distro_python_version

Backport: train
Related-Bug: #1859047
Change-Id: I42378af9b25f14079fc57b4068ab25d5d4877362
2020-01-10 14:31:00 +00:00
Doug Szumski
1917d1a9f5 Use kolla_logs volume for Elasticsearch
This patch mounts the kolla_logs volume into the Elasticsearch
container so that logs are no longer written to the container
filesystem. It is up to the user to migrate any existing logs
into the kolla_logs volume, if they so desire.

Closes-Bug: #1859162
Change-Id: Ia1743e202e310fc88a61476c80eadf3855256c20
2020-01-10 13:08:09 +00:00
Mark Goddard
9755c924be CentOS 8: Support variable image tag suffix
For the CentOS 7 to 8 transition, we will have a period where both
CentOS 7 and 8 images are available. We differentiate these images via a
tag - the CentOS 8 images will have a tag of train-centos8 (or
master-centos8 temporarily).

To achieve this, and maintain backwards compatibility for the
openstack_release variable, we introduce a new 'openstack_tag' variable.
This variable is based on openstack_release, but has a suffix of
'openstack_tag_suffix', which is empty except on CentOS 8 where it has a
value of '-centos8'.

Change-Id: I12ce4661afb3c255136cdc1aabe7cbd25560d625
Partially-Implements: blueprint centos-rhel-8
2020-01-10 09:56:04 +00:00
Mark Goddard
7d611108ae Remove unnecessary group_by for openstack_release
This was used for release detection, but this was removed in
I5610cc7729e9311709147ba5532199a033dfd156.

Change-Id: Ife43b707b7f75e2cd8cbefac87a75cce6a5045d4
2020-01-09 17:21:07 +00:00
Michal Nasiadka
ac62b560ff Stop gzipping logs in get-logs.sh
As per [1] we should stop compressing the logs sent to swift in order
to get them back readable via a browser.

[1]: http://lists.openstack.org/pipermail/openstack-discuss/2020-January/011875.html

Change-Id: I9b5afceb8a2792491a339bf87bcd9db1c10274e8
2020-01-09 09:20:43 +01:00
Zuul
c98f41ba68 Merge "CentOS 8 migration spec" 2020-01-08 18:19:11 +00:00
Zuul
7921080ada Merge "remove unused designate_pool_manager_database_password" 2020-01-08 18:02:48 +00:00
Zuul
6dde7ce833 Merge "Adds monasca-ui to horizon" 2020-01-08 16:27:10 +00:00
Zuul
03bd2e8fda Merge "Change Manila cephfs driver" 2020-01-08 15:36:41 +00:00
Zuul
82ee3e473c Merge "Configure Cinder to use lioadm on CentOS/RHEL 8" 2020-01-08 14:12:19 +00:00
Mark Goddard
350bb171ef Configure Cinder to use lioadm on CentOS/RHEL 8
In CentOS/RHEL 8 there is no scsi-target-utils package, nor is it
available in EPEL. It is removed from kolla in [1]. In RHEL 7 and beyond
the LIO kernel subsystem can be used instead of the tgtd daemon.

This change removes support for the SCSI target daemon on CentOS/RHEL 8.
The 'tgtd' image is no longer available for CentOS/RHEL 8.

[1] https://review.openstack.org/#/c/613815/5

Change-Id: I718fc16cde2dd177b2a1c2f79b932426034897fe
Related: blueprint centos-rhel-8
2020-01-08 10:39:54 +00:00
Michal Nasiadka
d512ba409d Change Manila cephfs driver
Currently used cephfs driver have been deprecated in Pike [1], change to use
the proper one.

[1]: https://opendev.org/openstack/manila/src/branch/master/releasenotes/notes/rename-cephfs-native-driver-3d9b4e3c6c78ee98.yaml

Closes-Bug: #1858773
Change-Id: I33bea1d0049accd48c61f85c1165bee1e1cf0c87
2020-01-08 11:00:20 +01:00
Viktor Michalek
a0084ae285 remove unused designate_pool_manager_database_password
Change-Id: Ie97d3ebbb73722d9b216dd5385255babafab352e
2020-01-07 18:47:28 +01:00
Zuul
adaaad52d6 Merge "Get rid of Python 2 support" 2020-01-07 14:31:46 +00:00
Zuul
6de50a11a0 Merge "Drop python 2 support from action plugins" 2020-01-07 14:31:45 +00:00
Zuul
492871550f Merge "CentOS 7 IPv6 doc changes" 2020-01-07 10:06:03 +00:00
Radosław Piliszek
8ac5ecb295 CentOS 7 IPv6 doc changes
It advertises C7 as an IPv6-compatible platform.
This is possible thanks to fixes in [1] and [2].

[1] https://review.opendev.org/699458
aka 7054b27dbb8bc893c50f66b492b7e14e5bc92237
[2] https://review.opendev.org/699172
aka 908bffcfc2950e271fee1af24fb174fa6bee4aff

Change-Id: Ia353a1663a16f48ac83e5ee9a2cf1d6e183ac3a3
Closes-bug: #1848444
Closes-bug: #1848452
Related-bug: #1856532
Related-bug: #1856725
2020-01-06 14:58:08 +01:00
Zuul
94def91405 Merge "Fix duplicated words issue like "are are out of"" 2020-01-06 12:25:39 +00:00
Zuul
077b577416 Merge "Fix MariaDB galera IPv6 deployment on CentOS 7" 2020-01-06 11:50:30 +00:00
Mark Goddard
73bdec833f CentOS 8 migration spec
Adds a specification covering the miration from CentOS 7 to 8.

Change-Id: Iaff5fc10eec3aa3f5068d78b121a6bc0f08cd61d
Related: blueprint centos-rhel-8
2020-01-06 11:26:12 +00:00
Zuul
9fe2093ed7 Merge "Docs: add new rules regarding release notes usage" 2020-01-06 10:30:05 +00:00
zhufl
1b90ed1c47 Fix duplicated words issue like "are are out of"
This is to fix the duplicated words issue like
"Other services that are are out of scope of this".

Change-Id: Ie4882dbb64d6e8774888b97895af20ba3855f0f8
2020-01-06 09:26:22 +00:00