4180 Commits

Author SHA1 Message Date
Zuul
42ab513ec9 Merge "Automatically configure Monasca Grafana datasource" 2018-11-13 15:18:40 +00:00
Zuul
70dca02aa4 Merge "Freezer: Update freezer driver with elasticsearch" 2018-11-13 13:41:26 +00:00
Zuul
cb77c20fb2 Merge "Add monitoring of redis" 2018-11-12 16:03:52 +00:00
Zuul
d43aa867b5 Merge "Add missing pid mode check for Prometheus" 2018-11-12 14:14:00 +00:00
Zuul
8bbe9011e2 Merge "Don't set recurse on config folders" 2018-11-12 13:50:24 +00:00
Pierre Blanc
62222abc39 Freezer: Update freezer driver with elasticsearch
By default the driver used is elasticsearch in version 2
This change updates the driver with the good one.
It also updates backend with name used in the documentation.

Change-Id: I80f3020cb42903ae48ef65f52f67aae977c5a56b
2018-11-09 17:19:00 -05:00
Zuul
f1bcea7eab Merge "Collect StatsD metrics from Monasca services" 2018-11-08 10:50:34 +00:00
Zuul
813fc3df2f Merge "Configure coordination in default for cinder when redis is enabled" 2018-11-08 06:32:11 +00:00
pangliye
daf5a637a3 Add monitoring of redis
add monitoring of redis

Change-Id: Ic6becef0c528083d48458c8dcaa10a2ca6c238a9
2018-11-08 06:23:26 +00:00
Doug Szumski
75d095b64e Automatically configure Monasca Grafana datasource
In Kolla, an OpenStack project is created to store logs and metrics
harvested from the control plane by Monasca. This commit enables
the Monasca Datasource in the Grafana organisation which maps to
this OpenStack control plane project. What this means in practice
is that if a user logs into Monasca Grafana, and has access to the
the control plane project, they will immediately be able to create
dashboards using data from Monasca which has been gathered from the
control plane.

Support to enable creation of this datasource for other OpenStack
projects can be added in a separate commit.

Partially-Implements: blueprint monasca-grafana
Change-Id: I03e741ddb1c582b7280c64637ed3e3683df6419b
2018-11-07 20:24:41 +00:00
Doug Szumski
cfc86645c9 Collect StatsD metrics from Monasca services
Some Monasca services support sending StatsD metrics to
allow monitoring those services. This commit connects
these services to the StatsD service provided by the
Monasca Agent.

Partially-Implements: blueprint monasca-roles
Change-Id: I1da376384a31b89fea1b8a6f907aea35282909a4
2018-11-07 20:24:19 +00:00
Zuul
05cf25ccea Merge "Add support for deploying Monasca Grafana" 2018-11-07 15:54:29 +00:00
Zuul
dc8f284ba9 Merge "Support using external DBs in Monasca" 2018-11-07 15:54:28 +00:00
Zuul
f9ac54d9ad Merge "Add missing HAProxy port checks for Monasca" 2018-11-07 14:32:48 +00:00
Zuul
73b3cfbf37 Merge "Add missing project name for Monasca" 2018-11-07 14:26:43 +00:00
Zuul
1b300cccc3 Merge "Support external Keystone in Monasca" 2018-11-07 12:19:07 +00:00
Zuul
4f5c9085fd Merge "Monasca specific config for Fluentd" 2018-11-06 19:58:24 +00:00
Zuul
53cf3be701 Merge "Add initial documentation for Monasca" 2018-11-06 19:54:09 +00:00
Zuul
196e09e122 Merge "Support deploying the Monasca Agent" 2018-11-06 19:32:14 +00:00
Zuul
1cb23bd5f5 Merge "Remove deprecated compute groups" 2018-11-06 16:13:23 +00:00
Paul Bourke
cf609ba3cc Remove deprecated compute groups
The concept of splitting the compute group into external/internal just
to specify agent_mode for Neutron DVR was deemed to be heavy handed, and
depreacated in the Pike cycle.

Now that Rocky has been released we can remove these completely for Stein.

Change-Id: I28a1eba7f40fee55a7ec41c27451e39e4d7fd8f0
2018-11-06 11:45:43 +00:00
Jeffrey Zhang
cf70bf23a5 Configure coordination in default for cinder when redis is enabled
Coordination is required for active-active cinder volume.

Change-Id: I9b26831fd951a24c483840a55824fae06ccbbf81
Closes-Bug: #1796615
2018-11-05 22:50:20 +08:00
Doug Szumski
712c89760c Add support for deploying Monasca Grafana
The Monasca Grafana fork allows users to log into Grafana with their
OpenStack user credentials and see metrics associated with their
OpenStack project. The long term goal is to enable Keystone support
in upstream Grafana, but this work seems to have stalled.

Partially-Implements: blueprint monasca-grafana
Change-Id: Icc04613b2571c094ae23b66d0bcc38b58c0ee4e1
2018-11-02 13:35:35 +00:00
Doug Szumski
6cbb5cbdb4 Support using external DBs in Monasca
This changes allows the user to configure a Monasca database
which may be different from the default database.

Partially-Implements: blueprint monasca-roles
Change-Id: Ia905190b8037ecb1782a758c0b65581fe9024bf6
2018-11-02 13:04:06 +00:00
Doug Szumski
195fec4d8d Add missing HAProxy port checks for Monasca
TrivialFix
Change-Id: Iaf216016a6acf0e9c87fdb6b8902416f4849efa3
2018-11-02 13:04:06 +00:00
Doug Szumski
843b7a3a9c Add missing project name for Monasca
Before this change the HAProxy configuration for Monasca printed:
  "Copying over haproxy haproxy config".
This change fixes the message.

TrivialFix
Change-Id: I2823775f6fa5b0be919b567f311c671f1469d19f
2018-11-02 13:04:06 +00:00
Doug Szumski
ab901a6d6d Support external Keystone in Monasca
Make it easy to override the Keystone endpoints to support deploying
stand-alone Monasca which can integrate with an externally provided
Keystone instance.

Partially-Implements: blueprint monasca-roles
Change-Id: I9ae3b243c792ef88075702b47b62f164a1705c2e
2018-11-02 13:04:05 +00:00
Doug Szumski
e9a196f787 Monasca specific config for Fluentd
This commit adds some filters which format logs so that they
can be correctly sent to the Monasca Log API by the Monasca
Fluentd plugin. In the future the Fluentd plugin could be
extended and this config could be removed.

Partially-Implements: blueprint monasca-roles
Change-Id: I87b6dfb3052d03f87349d30b66078c39d625195d
2018-11-02 13:04:05 +00:00
Doug Szumski
8cd2a793b4 Add initial documentation for Monasca
Partially-Implements: blueprint monasca-roles
Change-Id: I19db9396bb53b6db77cf97d7969ca24a55d8db0e
2018-11-02 13:04:05 +00:00
Doug Szumski
b7b45effed Support deploying the Monasca Agent
The Monasca Agent collects metrics and in this change is deployed
across the control plane. These metrics are collected into an OpenStack
project. It supports configuring a small number of plugins, which can
be extended in later commits. It also makes the Monasca Agent credentials
available to other roles, such as the common role to allow forwarding
logs to Monasca.

Partially-Implements: blueprint monasca-roles
Change-Id: I76b34fc5e1c76407a45fcf272268d5798b473ca2
2018-11-02 13:04:05 +00:00
Zuul
dd7303cc71 Merge "Apply Neutron rolling upgrade logic" 2018-11-02 08:22:56 +00:00
Zuul
29ad317faa Merge "Add Zun scenario job for ubuntu" 2018-11-01 10:42:25 +00:00
Zuul
952ca2dcc5 Merge "Make tunnel timeout for nova_serialconsole_proxy configurable" 2018-10-31 21:08:09 +00:00
Zuul
fcc79bd685 Merge "Load known, standard kernel modules from the host, not within containers" 2018-10-31 17:21:56 +00:00
Zuul
9a8d816a8a Merge "Add missing keystone_authtoken section for vitrage" 2018-10-31 15:50:14 +00:00
Will Szumski
28287826e8 Make tunnel timeout for nova_serialconsole_proxy configurable
Currently, the serial consoles as accessed through Horizon,
timeout after the haproxy_client_timeout (default: 1m) of
inactivity. This change allows you to set a larger timeout.

Change-Id: I2a9923cb69d5db976395146685aded83922c4120
Closes-Bug: #1800643
2018-10-31 09:40:53 +00:00
Duong Ha-Quang
ac5d5217fc Apply Neutron rolling upgrade logic
This patchset implements Neutron rolling upgrade logic as described
in [1].

Due to only neutron, vpnass and fwaas have supported for rolling upgrade
database migration, so I used the list "neutron_rolling_upgrade_services"
in neutron/default/main.yml for contain there services.

[1] https://docs.openstack.org/neutron/latest/contributor/internals/upgrade.html

Co-author: Ha Manh Dong <donghm@vn.fujitsu.com>
Change-Id: I2ed2f941d30d4df0d0f42c0d10e7ca03ec1c166a
Implements: blueprint apply-service-upgrade-procedure
2018-10-31 07:45:28 +00:00
Doug Szumski
9d8a5a1a8c Add missing pid mode check for Prometheus
Trivial-Fix
Change-Id: Iea123c32981309698bd644229dc1525fa671a487
2018-10-30 16:34:15 +00:00
Zuul
1731f81fa0 Merge "Forward system logs to Monasca Log API" 2018-10-30 13:41:31 +00:00
Zuul
f23f5ea5bb Merge "fixed memcached is not restarted when config changed" 2018-10-29 16:13:47 +00:00
Zuul
01d7884cd1 Merge "Allow the deployment group to be optional" 2018-10-29 16:04:18 +00:00
Doug Szumski
4896031757 Don't set recurse on config folders
A small number of services set the recurse flag when they create
their config directory. This can change permission of files within
the directory, which are later set back to the original state. The
side effect is that the service is then restarted, even though the
net change to the config files amounts to nothing. The expected
behaviour is that a service only restarts if the config *has*
changed. This patch fixes this issue.

Change-Id: Ib6f1ca7b416247f8d455fb25892f4a3b27de03ba
Closes-Bug: 1800480
2018-10-29 15:35:32 +00:00
Zuul
5868bb2a78 Merge "Add missing project_name variables" 2018-10-29 14:45:20 +00:00
Zuul
1549c85efd Merge "Fernet cron path" 2018-10-29 13:12:36 +00:00
Kien Nguyen
04c34235d9 Add missing keystone_authtoken section for vitrage
Vitrage config is missing keystone_authtoken, it leads to CRITICAL
bug when deploy [1]

[1] http://paste.openstack.org/show/733507/

Change-Id: Ia89befed16bef5dbf0f542ea1a843b6b448079e9
2018-10-29 14:27:45 +07:00
Pavel Glushchak
2fde95ca08 fixed memcached is not restarted when config changed
That's because instead of start_container we need to
use recreate_or_restart_container in handler.

Change-Id: I3bb0a4c38b9024b2e2e26bfc06cb143bb5d35317
Signed-off-by: Pavel Glushchak <pglushchak@virtuozzo.com>
2018-10-26 18:32:37 +03:00
Zuul
c0435b833a Merge "Generate Ceph configuration during upgrade" 2018-10-26 06:33:36 +00:00
Zuul
9389271a70 Merge "Fix template src of kibana configuration file" 2018-10-26 01:05:43 +00:00
Paul Bourke
a080bb1006 Allow the deployment group to be optional
This small change prevents the deployment group from being mandatory.

Change-Id: I5693fbad0d5677ae341121619b6ec2e8738cffb7
2018-10-25 16:10:26 +01:00
Zuul
4f02fdc0cf Merge "Use kibana instead of Kibana as project_name" 2018-10-25 12:09:02 +00:00