5807 Commits

Author SHA1 Message Date
Radosław Piliszek
d86f8ab9fe Fix issues with Prometheus config generation
related to newly introduced merge mechanism.
1) Per-host overrides cannot be run_once.
2) Since merge_yaml is silent about missing files, it ignored
   the fact that no proper file was given due to wrong variable
   being referenced (see the closed bug).

Change-Id: I6db4af4c6e3364838bdae510f300038b0c1560b0
Closes-Bug: #1882460
2020-06-15 10:41:57 +02:00
Zuul
03b6aaf3a7 Merge "fix deploy nova failed when use kolla_dev_mod" 2020-06-15 05:03:59 +00:00
wu.chunyang
40096b4868 fix deploy nova failed when use kolla_dev_mod
There's a logic error here, we call nova role from nova.yml file
under ansible folder. we should clone code before run
bootstrap_service task. if not, /opt/stack/nova which is empty
will mount to nova_api container.

Change-Id: Icc54c15080db9c2dc92709480e00b990e5a88662
2020-06-15 01:45:23 +00:00
gugug
2ebd62014e Remove nova-consoleauth task in U cycle
planned task removal

Change-Id: I613794667b8c08f524a69e7e3f447b2217efb3f7
2020-06-15 00:22:15 +00:00
Michal Arbet
f1addfa300 Fix group_vars and cinder template per documentation
When installing kolla with external ceph, ceph_cinder_user
var has to be set per documentation instead of ceph_cinder_volume_user.
This value is also rendered in example etc/kolla/globals.yml file.

This patch is fixing this bug or, let's say typo.

Change-Id: Id82b07867f4bc0e5d5e56363f0122014df6892bc
2020-06-11 22:37:44 +02:00
Zuul
4cb4481802 Merge "Support custom elasticsearch configuration files" 2020-06-11 09:19:15 +00:00
Zuul
f73f3e6d04 Merge "Add missing become to some VMWare tasks" 2020-06-10 18:30:03 +00:00
Christian Berendt
da64a36bc2 Support custom elasticsearch configuration files
Change-Id: Id43627c6b6d305d0efbdd27ac5a2efbd5bee9107
2020-06-10 14:50:25 +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
Zuul
f14e2b31ae Merge "Set previous release to Ussuri" 2020-06-09 17:38:59 +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
Zuul
ce1dc6da0a Merge "Add 'ovn' to list of valid values of neutron_plugin_agent" 2020-06-09 10:05:19 +00:00
Christian Berendt
78037f9582 Add 'ovn' to list of valid values of neutron_plugin_agent
Change-Id: I2f618d52b1f1c5a8803d0cd563de391de2d0f223
2020-06-08 21:12:28 +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
Zuul
cb156b9235 Merge "Use api_interface as migration_interface default value" 2020-06-04 12:11:23 +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
Jeffrey Zhang
4955a9c020 Use api_interface as migration_interface default value
normally, api_interface is treated as internal and security network plane,
use it as default migration_interface is more meaningful.

Change-Id: Ib9f4bcc19147a49dc09bd905dcd06be165a91b5e
2020-06-02 16:09:14 +08:00
Mark Goddard
ac9c74bda9 Set previous release to Ussuri
Now that the stable/ussuri branch has been cut, we can set the previous
release to Ussuri. This is done in kolla-ansible for rolling upgrades,
and in CI configuration for upgrade tests.

Change-Id: I36f252c77339a6b810413810efd6bb32e0b69e29
2020-05-29 17:28:57 +01: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
Radosław Piliszek
9e69d33c3f Make openstack_release more obvious
This is forwardport of [1].

[1] https://review.opendev.org/730496

Change-Id: I6523b915e0231c28b5cd91f821515f3d47309d66
2020-05-24 10:02:59 +02: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
fe54fdbc34 Merge "Enable W503 for flake8 check" 2020-05-17 14:07:15 +00: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