12006 Commits

Author SHA1 Message Date
Martin Chlumsky
400c5a9f18 Switch octavia-api to wsgi running under apache.
This change also adds support for Octavia backend TLS.

Closes-Bug: #1874228
Depends-On: https://review.opendev.org/c/openstack/kolla/+/779892
Change-Id: I5ff84aec4cdbc15f6a797391815243821dbdbd67
2021-03-24 20:55:20 -04:00
Zuul
d1e7964a8d Merge "Add missing octavia-driver-agent" 2021-03-24 19:12:02 +00:00
Zuul
8e9da5fa2d Merge "Follow up fixes for Monasca docs and formatting" 2021-03-24 19:03:42 +00:00
Zuul
ff2c29b21c Merge "Support bypassing Monasca Log API for control plane logs" 2021-03-24 19:03:19 +00:00
Zuul
d3a1a1a504 Merge "Support disabling Monasca alerting pipeline" 2021-03-24 19:02:54 +00:00
Zuul
f9a9a9f327 Merge "Disable Monasca Log Metrics service by default" 2021-03-24 18:32:17 +00:00
Zuul
6c18e5814e Merge "Remove Monasca Log Transformer" 2021-03-24 18:21:04 +00:00
Michal Nasiadka
7a066f7154 Add missing octavia-driver-agent
For using 3rd party Octavia providers (such as OVN provider) an
octavia-driver-agent container must be running to expose those providers to
use.

OVN CI job has been extended with deploying Octavia and testing OVN Load
Balancer.

Closes-Bug: #1903506
Depends-On: https://review.opendev.org/c/openstack/kolla/+/771191

Change-Id: Ibafa8b7307981f2a51e630cc113d18af6162171c
2021-03-24 16:36:44 +00:00
Zuul
cdffc4845f Merge "prometheus: Collect metrics from rabbitmq" 2021-03-24 10:23:09 +00:00
Zuul
1e984f56b6 Merge "Trivial fixes in grafana-guide doc." 2021-03-22 10:51:11 +00:00
Zuul
b93a040fdf Merge "[CI] Fix broken docker registry" 2021-03-19 20:31:51 +00:00
Zuul
7e67628b5f Merge "nova-cell: Stop printing ceph keys in output" 2021-03-19 15:52:45 +00:00
Michal Arbet
fa94cfd281 [CI] Fix broken docker registry
This patch fixes CI broken by the following patches:
- https://review.opendev.org/c/openstack/kolla-ansible/+/689870
- https://review.opendev.org/c/openstack/kolla-ansible/+/751795

Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@dell.com>
Change-Id: If26a9f9791ce9b7817bcd410ea045d3e3b04b651
2021-03-19 14:37:12 +00:00
Michał Nasiadka
6ef4d039e1 CI: Fix yamllint comments-indentation in .ansible-lint
Change-Id: Ie3ca5526e2af30db06631e7c215fe2db13c92f2f
2021-03-19 12:08:20 +01:00
Bartosz Bezak
733fb0e7b8 Trivial fixes in grafana-guide doc.
Change-Id: Ie888e84a3b6e27afc23f89f643fdaa58880aae6d
2021-03-18 15:11:56 +01:00
Zuul
8313d092d9 Merge "docs: fix registry mirror example" 2021-03-18 11:07:01 +00:00
Mark Goddard
608836d956 docs: fix registry mirror example
The docker configuration should be a URL, not a host:port.

Closes-Bug: #1919932
Change-Id: I5025fdb7e48c79a107b45f1454f5d5e81367a2f9
2021-03-18 09:38:14 +00:00
Zuul
2ba4c88c8d Merge "Add support for custom grafana dashboards" 2021-03-17 16:48:48 +00:00
Zuul
e18ccdb972 Merge "Disable Docker iptables and bridge networking by default" 2021-03-17 16:48:18 +00:00
Zuul
ea2f0e6aa4 Merge "[docker] Added a new flag to disable default network" 2021-03-17 16:47:59 +00:00
Zuul
0bd235dffc Merge "don't use the same CIDR in octavia_amp_network_cidr and init-run-once" 2021-03-17 16:31:28 +00:00
Zuul
cc8f84a392 Merge "Set changed_when to false for group_by tasks" 2021-03-17 15:18:34 +00:00
Zuul
610dead041 Merge "Upgrade service configuration for ELK 7" 2021-03-17 15:03:58 +00:00
Bartosz Bezak
a9e30382fe Add support for custom grafana dashboards
Allow users to import custom grafana dashboards.
Dashboards as JSON files should be placed into
"{{ node_custom_config }}/grafana/dashboards/" folder.

Change-Id: Id0f83b8d08541b3b74649f097b10c9450201b426
2021-03-16 17:10:19 +01:00
Doug Szumski
c2e08be414 Upgrade service configuration for ELK 7
ELK 7 requires some minor changes from the existing ELK 6 config.

Depends-On: Icfa3db5788b25f70ee75411dbaf20d8d4a6a734b
Change-Id: I9815d202a77da0477aea43d714a5def8a24724fa
2021-03-16 10:03:53 +00:00
zhubingbing
f486e4930f prometheus: Collect metrics from rabbitmq
The rabbitmq_prometheus plugin is available in RabbitMQ 3.8.

https://www.rabbitmq.com/prometheus.html

Implements: blueprint rabbitmq-prometheus
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
Change-Id: I4d69a93a6c70db8d40626042cdbe773747b238ae
2021-03-15 10:30:08 +00:00
Michal Arbet
209dc1e9dc Set changed_when to false for group_by tasks
This trivial patch is just turning off ansible
changed report for group_by tasks as it could
be confusing for user.

Change-Id: I7512af573782359a6f01290a55291ac7eb0de867
2021-03-13 13:59:23 +00:00
Mark Goddard
aec027c435 Disable Docker iptables and bridge networking by default
In I165199fc98fb98f227f2a20284e1bab03ef65b5b and
Ic745300b27e50132d80d03787fa4abfada2d0173 we provided flags to disable
Docker's control of iptables and bridge networking respectively. The
original behaviour was maintained for backwards compatibility, to allow
the patches to be backported.

This patch changes the default behaviour to disable the manipulation of
iptables and disabling bridge networking.

Related-Bug: #1849275
Related-Bug: #1848249

Change-Id: I4e8206f13a847ff79e06c36d22068597458b6c3d
2021-03-11 18:03:31 +00:00
Dincer Celik
4053a0afdb [docker] Added a new flag to disable default network
Docker is using 172.17.0.0/16 by default for bridge networking on
docker0, and this might cause routing problems for operator networks.

This change introduces docker_disable_default_network to disable the
bridge networking by putting "bridge: none"[1] to daemon.json

Bridge networking does not work without iptables, so we set the default
for docker_disable_default_network to
docker_disable_default_iptables_rules.

For better defaults, this feature will be enabled by default in
Wallaby.

[1] https://docs.docker.com/engine/reference/commandline/dockerd/

Change-Id: Ic745300b27e50132d80d03787fa4abfada2d0173
Closes-Bug: #1848249
Related-Bug: #1849275
2021-03-11 18:03:28 +00:00
Zuul
067a752206 Merge "Bump up supported Ansible version to 2.10" 2021-03-11 12:30:29 +00:00
Mark Goddard
32f1b6cf56 ansible-lint: add unnamed-task to the skip list
The 5.0.3 release of ansible-lint makes the linters job fail, due to the
addition of an unnamed-task rule. We have quite a large number of
unnamed tasks, typically include_tasks or include_role. We may want to
address this at some point, but not right now.

Change-Id: I4ee706fe2463d62e4e16412117d4373748ea43e3
2021-03-11 09:10:16 +00:00
Zuul
3c5e0f9f28 Merge "Reduce number of logs and disable ara HTML report" 2021-03-10 19:22:45 +00:00
Zuul
c2360f549e Merge "Introduce nova_libvirt_logging_debug" 2021-03-10 19:22:10 +00:00
Michał Nasiadka
191b46ef40 Reduce number of logs and disable ara HTML report
- Remove /var/log/kolla link to omit uploading the same logs twice
- Remove ARA HTML report (usually takes around 120MB) - can be easily
  generated from the sqlite db

Change-Id: I74cd6d1128689ab2c73f00ee08af3778d7d670a4
2021-03-10 15:16:05 +00:00
Michał Nasiadka
eabdf1e9f9 Introduce nova_libvirt_logging_debug
In order to disable libvirt debug in CI (which takes vast amount of storage)
this change introduces nova_libvirt_logging_debug and disables that in CI.

Change-Id: I90bfd1b300ad3202ea4d139fda6d6beb44c5820f
2021-03-10 15:15:29 +00:00
Maksim Malchuk
835920782f Correctly configure S3 Token Middleware for Swift
According the documentation [1] there need to configure auth_uri in the
[filter:s3token] section instead of www_authenticate_uri which cause an
error 'swift.common.wsgi.ConfigFileError: Invalid auth_uri; must
include scheme and host' during start the swift-proxy-server container.

1. https://docs.openstack.org/swift/ussuri/middleware.html#s3-token-middleware

Change-Id: I6b8f5807ebb746428a501dca13eae30763dede8d
Closes-Bug: 1862765
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
2021-03-10 13:03:35 +00:00
Zuul
02371e0c82 Merge "Use Docker healthchecks for trove services" 2021-03-10 10:05:37 +00:00
Zuul
343268f060 Merge "Use Docker healthchecks for octavia services" 2021-03-10 10:05:18 +00:00
Zuul
4aa44f2caa Merge "Use Docker healthchecks for ironic services" 2021-03-10 03:42:35 +00:00
Zuul
261cce4f45 Merge "Add missing elasticsearch cloudkitty storage and prometheus collector backend support." 2021-03-09 20:18:28 +00:00
Zuul
cc1dda3035 Merge "Add Neutron DHCP agent to OVN networking setup" 2021-03-09 20:15:28 +00:00
Zuul
f0e4b582f7 Merge "Use Docker healthchecks for aodh services" 2021-03-09 20:15:12 +00:00
Zuul
ca8ab179a1 Merge "Use Docker healthchecks for gnocchi services" 2021-03-09 19:28:43 +00:00
Zuul
8fc45da505 Merge "Use Docker healthchecks for designate services" 2021-03-09 19:08:29 +00:00
Zuul
d09647f853 Merge "Use User and Group variables instead of sudo" 2021-03-09 19:05:41 +00:00
Zuul
5ccd134cd1 Merge "Deprecate Prometheus 1.x" 2021-03-09 17:51:13 +00:00
Zuul
af5e4f3446 Merge "Rename eswitchd.conf -> eswitchd.conf.j2" 2021-03-09 12:35:55 +00:00
wuchunyang
13b6d692b0 Use User and Group variables instead of sudo
use User and Group in octavia-interface service.
this way looks more graceful

this change also fix the octavia-interface does not restart
when the octavia-interface.service changed.

Change-Id: I9d253d7519b1774985d165a080047fdbecd321b4
2021-03-09 17:25:58 +08:00
LinPeiWen
c3969c4a7d Use Docker healthchecks for aodh services
This change enables the use of Docker healthchecks for aodh services.
Implements: blueprint container-health-check

Change-Id: Ic477ac77f7ea5c50de473382fb1ec63d78043267
2021-03-08 14:29:52 +00:00
LinPeiWen
3e9ad63187 Use Docker healthchecks for gnocchi services
This change enables the use of Docker healthchecks for gnocchi services.
Implements: blueprint container-health-check

Change-Id: Ib1eb766d061c376c0bdd693dd6ea1e5b3e3fc02a
2021-03-08 14:27:33 +00:00