5314 Commits

Author SHA1 Message Date
Zuul
f73f3e6d04 Merge "Add missing become to some VMWare tasks" 2020-06-10 18:30:03 +00:00
Zuul
4d84df8d7c Merge "Support customizing skydive.conf file" 2020-06-10 10:37:18 +00:00
Erol Guzoğlu
cb0715a04d Support customizing skydive.conf file
Provides mechanism to deploy custom skydive.conf files.

Change-Id: I3033b6268a2e955f3e86b1b7000db17c1bb18c47
2020-06-10 07:11:54 +00:00
Zuul
e74cada7c1 Merge "permission denied when enable_kolla_dev_mod" 2020-06-10 02:32:45 +00:00
Zuul
f27ec1a23d Merge "Remove the unnecessary task for octavia" 2020-06-09 20:27:58 +00:00
Zuul
0c58269bc1 Merge "Remove XenAPI integration" 2020-06-09 19:58:38 +00:00
gugug
a7c290765b Remove the unnecessary task for octavia
Since the Victoria released, the unnecessary task should be clean up.

Change-Id: Idd2a05ed0594dcca6fa9881dee63f5550cb6dc0e
2020-06-10 00:11:15 +08:00
Christian Berendt
60e03d7bf3 Remove XenAPI integration
Change-Id: Iea3f4f3d2e5c6040c1e0bc7bfae8719cc7d8ac55
2020-06-09 13:56:17 +02:00
Mark Goddard
b84d2f8b77 Fix handler notification for mariadb-clustercheck
This was missed in the original patch.

Change-Id: I991b0563560cf4a0b1feb718951ffdf21ab81856
2020-06-08 14:43:34 +01:00
Zuul
522bc17981 Merge "Fix bug in deploying monasca_agent_forwarder" 2020-06-08 11:42:25 +00:00
wu.chunyang
3e9a648601 permission denied when enable_kolla_dev_mod
non-root user has no permission to create directory under /opt
directory. use "become: true" to resolve it.

Change-Id: I155efc4b1e0691da0aaf6ef19ca709e9dc2d9168
2020-06-07 19:36:42 +08:00
x191859
640bbc38ab Add missing become to some VMWare tasks
Fixed on ``Copying VMware vCenter CA file`` and ``Copying over nsx.ini``.

Change-Id: If909f59e7e4b241594c6b2567784ecad23e74226
Closes-Bug: #1882252
2020-06-05 16:53:27 +00:00
xiaojueguan
36587e4614 Fix bug in deploying monasca_agent_forwarder
Change-Id: I8633f7d250f331ca96788d8f4796889c3c312406
Closes-Bug: #1882259
2020-06-05 23:28:28 +08:00
Zuul
6394ab660e Merge "barbican: Use python3 plugin in uwsgi config" 2020-06-05 10:13:33 +00:00
Mark Goddard
895c86a846 barbican: Use python3 plugin in uwsgi config
backport: ussuri, train

Without this the container returns an empty response.

Change-Id: Ic36845f3fc625c080c92904b58ace070dd24fbb2
Closes-Bug: #1881784
2020-06-04 12:20:32 +01:00
Hervé Beraud
f78e2d7e69 Stop to use the __future__ module.
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.

We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.

Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]

[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328

Change-Id: I907008ff4102806a6f7c88572f89f3beb500d9d7
2020-06-02 20:21:41 +02:00
Zuul
6f829575c9 Merge "Custom haproxy script for monitoring galera" 2020-06-02 15:01:55 +00:00
Zuul
05a2421b32 Merge "Switch to Monasca API for logs" 2020-06-02 13:17:56 +00:00
James Kirsch
ac20f9bd79 Fix glance backend TLS configuration task
Fix glance configuration task to create the backend PEM only on hosts with
glance service enabled.

Change-Id: I641c51761a99828854aafcc1e7354d6932d86659
2020-05-28 14:54:08 +00:00
Doug Szumski
b39a0f805a Switch to Monasca API for logs
The Monasca Log API has been removed and in this change we switch
to using the unified API. If dedicated log APIs are required then
this can be supported through configuration. Out of the box the
Monasca API is used for both logs and metrics which is envisaged to
work for most use cases.

In order to use the unified API for logs, we need to disable the
legacy Kafka client. We also rename the Monasca API config file
to remove a warning about using the old style name.

Depends-On: https://review.opendev.org/#/c/728638
Change-Id: I9b6bf5b6690f4b4b3445e7d15a40e45dd42d2e84
2020-05-23 17:49:32 +01:00
Zuul
9b8b7bf9b4 Merge "Remove post_config from the Kibana role" 2020-05-23 13:38:19 +00:00
xiaojueguan
fbc47e60e1 Remove post_config from the Kibana role
Since at least Stein, there is no visible effect from these tasks.
The Kibana dashboard seems to be working exactly the same,
greeting user on the first use with "please configure my index".
I tested on both Ubuntu and CentOS.
In new E*K stack (Ussuri+, CentOS8+) it even causes play errors.

Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Change-Id: Iafc6986cce9cbaa0ea9e219ca85d7d01a61308cf
Closes-Bug: #1799689
2020-05-23 09:47:31 +02:00
Zuul
012c0b8e6a Merge "enable prometheus-openstack-exporter to use ca cert" 2020-05-22 19:15:10 +00:00
xiaojueguan
964ede7171 enable prometheus-openstack-exporter to use ca cert
you might refer to:
b0167b9412/openstack/clientconfig/results.go (L41)

Change-Id: Ia326360c412aad9ca4d1735cc6486aa2fce22c1a
Closes-Bug: #1850812
2020-05-21 12:58:15 +00:00
Michal Nasiadka
026f5cc48a Custom haproxy script for monitoring galera
Depends-On: https://review.opendev.org/710217/

Change-Id: I85652f23e487c40192106d23f2cdd45a3077deca
2020-05-20 13:02:44 +02:00
Zuul
7aef93a07a Merge "Fix cyborg api failed to load api-paste.ini file" 2020-05-19 12:06:20 +00:00
Zuul
6ae4bfb59b Merge "Modify api-paste.ini v1 to v2 for cyborg" 2020-05-18 20:45:32 +00:00
jacky06
d40c11b22a Modify api-paste.ini v1 to v2 for cyborg
bump api version to v2[1]

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

Change-Id: I799f126a30081a85da4f3c41ce705c3756bbe6ba
2020-05-18 23:41:02 +08:00
xiaojueguan
122d3e0100 Fix some error of j2 syntax
Change-Id: Ib0916626b969336ec4bb43028f95f901d5c8cb91
2020-05-18 11:34:16 +00:00
Michal Nasiadka
d8f31e0a5e CI: Add ansible-lint to tox
* Reworked tox pep8 into linters job, that runs:
  - pep8
  - bandit
  - bashate
  - doc8
  - yamllint
  - ansible-lint (validate-all-files.py + ansible-lint)

* Skip E701 - missing galaxy_info in meta and E602 see [1].
* Skip E301 and E503 - followup later in a separate change
* Added ansible-role-jobs to zuul.d/project.yaml which will run
  openstack-tox-linters job in check queue
* Fixed remaining style issue
* Made tox and docs reference the new env for linters
* Dropped pype environment (not supported)

[1]: https://github.com/ansible/ansible-lint/issues/457

Change-Id: I494b4b151804aac8173120e6c6e42bc2fdb00234
2020-05-17 17:02:38 +02:00
Zuul
f942e93d12 Merge "Deprecate rabbitmq_hipe_compile" 2020-05-17 12:47:35 +00:00
Zuul
bfcd2966fa Merge "multipath requires udev-rules in host" 2020-05-17 12:30:11 +00:00
Zuul
eeca3a9588 Merge "Fix Keystone Centos 8 mod_ssl" 2020-05-17 12:30:10 +00:00
Zuul
574f6c501b Merge "Fix Heat WSGI Logging" 2020-05-17 12:30:08 +00:00
Zuul
4b4662a611 Merge "Fix registration of Monasca Grafana datasource" 2020-05-17 12:26:58 +00:00
Zuul
c07ee9af4f Merge "Configure RabbitMQ user tags in nova-cell role" 2020-05-17 12:26:56 +00:00
Zuul
1fe174829d Merge "Fix deprecation warnings in fluentd" 2020-05-17 12:26:54 +00:00
Zuul
26536011d2 Merge "make murano work with endpoints with non-public CA" 2020-05-17 12:26:52 +00:00
xiaojueguan
1f3cb24aeb make murano work with endpoints with non-public CA
Change-Id: Ic0d0543b6ad93743eae2a144e8a3b07de54e6d96
Closes-Bug: #1878344
2020-05-17 10:28:47 +08:00
Zuul
50359204b4 Merge "Improve fernet_token_expiry precheck" 2020-05-16 09:34:45 +00:00
Will Szumski
810acea6b1 Improve fernet_token_expiry precheck
The pre-check was broken, see bug report for details.

Change-Id: I089f1e288bae6c093be66181c81a4373a6ef3de4
Closes-Bug: #1856021
2020-05-15 16:50:35 +00:00
Michal Nasiadka
3611f053ef Fix deprecation warnings in fluentd
Change-Id: I812665059783617d581d748e619b29426f89b353
2020-05-15 17:21:21 +02:00
Jeffrey Zhang
869e3f21c2 Configure RabbitMQ user tags in nova-cell role
The RabbitMQ 'openstack' user has the 'administrator' tag assigned via
the RabbitMQ definitions.json file.

Since the Train release, the nova-cell role also configures the RabbitMQ
user, but omits the tag. This causes the tag to be removed from the
user, which prevents it from accessing the management UI and API.

This change adds support for configuring user tags to the
service-rabbitmq role, and sets the administrator tag by default.

Change-Id: I7a5d6fe324dd133e0929804d431583e5b5c1853d
Closes-Bug: #1875786
2020-05-15 16:02:46 +01:00
Doug Szumski
776253c436 Fix registration of Monasca Grafana datasource
The refactor in change I500cc8800c412bc0e95edb15babad5c1189e6ee4
broke the task `Enable Monasca Grafana datasource for control
plane organisation`. This change fixes the brackets.

Change-Id: I9167a312be107fbfddfd07740f67845c2eaafc3d
Closes-Bug: 1878878
2020-05-15 10:16:22 +01:00
generalfuzz
67a31fd219 Fix Heat WSGI Logging
Fix Heat WSGI logging directives and correct access log name.

Change-Id: Iac09e481ae46934fc26300eba8c5d81ccd0504e8
Partially-Implements: blueprint add-ssl-internal-network
2020-05-14 21:32:42 +00:00
Zuul
cd9f7faa6c Merge "dpdk-vswitchd: some ovs tools require ovs daemons pidfiles" 2020-05-14 14:37:29 +00:00
zhouhenglc
d47ffc7947 dpdk-vswitchd: some ovs tools require ovs daemons pidfiles
Change-Id: I797bb5997e6a3391e82bff766c96f7855de4adc4
Closes-bug: #1878325
2020-05-14 18:43:59 +08:00
Zuul
d10c5ac15c Merge "Ansible lint related fixes" 2020-05-14 09:52:29 +00:00
generalfuzz
783bbfddcd Fix Keystone Centos 8 mod_ssl
Keystone was not loading the correct mod_ssl library in centos 8
deployment.

Change-Id: I604d675ba7ad28922f360fdc729746f99c1507b4
Partially-Implements: blueprint add-ssl-internal-network
2020-05-14 09:08:42 +00:00
Zuul
9540f22e24 Merge "Add support for encrypting Barbican API" 2020-05-13 16:36:27 +00:00