9561 Commits

Author SHA1 Message Date
Nick Jones
f704a78029 Add new option to perform an on-demand backup of MariaDB
blueprint database-backup-recovery

Introduce a new option, mariadb_backup, which takes a backup of all
databases hosted in MariaDB.

Backups are performed using XtraBackup, the output of which is saved to
a dedicated Docker volume on the target host (which defaults to the
first node in the MariaDB cluster).

It supports either full (the default) or incremental backups.

Change-Id: Ied224c0d19b8734aa72092aaddd530155999dbc3
2018-11-22 09:20:59 +00:00
Zuul
86f29f7c11 Merge "Load configfs kernel module for iscsid" 2018-11-21 16:08:57 +00:00
Zuul
9ca1039e26 Merge "Support Ironic Inspector dnsmasq PXE filter" 2018-11-21 15:10:44 +00:00
Zuul
bf15842e70 Merge "Add YAML format into docs for policy file" 2018-11-21 15:10:43 +00:00
Zuul
11dedb653a Merge "Set "no_log" for "databases user and setting permissions" tasks" 2018-11-21 15:10:41 +00:00
Zuul
62290431a1 Merge "Document glance service" 2018-11-21 15:10:40 +00:00
Zuul
2d3e47759c Merge "Add glance-cache support" 2018-11-21 15:10:39 +00:00
jacky06
377222bb00 Add YAML format into docs for policy file
kolla-ansible support yaml format for policy file[1] too, but the
docs missing it, this ps to add it.

[1]: https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L393
Closes-Bug: #1804455

Change-Id: I44eb1d64f9299ccaf99972c8b5354683a3501f6b
2018-11-21 08:34:12 -05:00
Eduardo Gonzalez
a86834e01b Document glance service
Add documentation about glance backends,
upgrades and futher configuration.

Change-Id: Ibb15804fa3f38abab855084dd7d7b83fd4a54b8f
2018-11-21 11:14:13 +00:00
Eduardo Gonzalez
cc9dae4dee Add glance-cache support
Glance cache is used to keep a locally cache image
in the glance_api service.
Is an usefull service when an image is commonly used
to speed times between pulling from storage backend
and send to nova.

Change-Id: I8e684cc10e4fee1cb52c17a126e3b11f69576cf6
2018-11-21 10:15:48 +01:00
Zuul
399f452ec7 Merge "Suppress log copy output in gates" 2018-11-20 18:21:42 +00:00
Mark Goddard
5753a569c7 Load configfs kernel module for iscsid
The configfs kernel module is not mounted by default in Ubuntu 16.04,
leading to the iscsid container failing to start because it bind mounts
/sys/kernel/config. The issue does not apply to Ubuntu 18.04, or other
distros (AFAIK), which load configfs by default.

This change loads the configfs module when the iscsid container is in
use.

Change-Id: I5b521ddca24b919658d2664ede2d878507d6d106
Closes-Bug: #1631072
2018-11-20 15:52:56 +00:00
Mark Goddard
4418c1641b Support Ironic Inspector dnsmasq PXE filter
The dnsmasq PXE filter [1] provides far better scalability than the
iptables filter typically used. Inspector manages files in a dhcp-hostsdir
directory that is watched by dnsmasq via inotify. Dnsmasq then either
whitelists or blacklists MAC addresses based on the contents of these
files.

This change adds a new variable, ironic_inspector_pxe_filter, that can
be used to configure the PXE filter for ironic inspector. Currently
supported values are 'iptables' and 'dnsmasq', with 'iptables' being the
default for backwards compatibility.

[1]
https://docs.openstack.org/ironic-inspector/latest/admin/dnsmasq-pxe-filter.html

Implements: blueprint ironic-inspector-dnsmasq-pxe-filter
Change-Id: I73cae9c33b49972342cf1984372a5c784df5cbc2
2018-11-20 14:01:15 +00:00
Eduardo Gonzalez
a7dbc39240 Suppress log copy output in gates
Change-Id: I01e58d3548d6adc4a2d6f1088773df7941da3865
2018-11-20 11:14:24 +00:00
Zuul
7598edca5b Merge "Fix "Error: Connection activation failed: Failed to find a compatible device for this connection"" 2018-11-20 10:41:15 +00:00
Zuul
445e4f7640 Merge "Support custom monasca-notification templates" 2018-11-20 09:41:21 +00:00
Dat Le
5bbecaa3ed Fix "Error: Connection activation failed: Failed to find a compatible device for this connection"
Change-Id: I7887ff3317f9eac068fee117b493db10b0e97862
2018-11-20 15:00:17 +07:00
Zuul
52319dabfb Merge "Set ramdisk logs path for ironic inspector" 2018-11-19 12:23:47 +00:00
Zuul
d0bb2fdcba Merge "Don't allocate pseudo-TTY when creating containers" 2018-11-19 12:18:15 +00:00
Christian Berendt
03788e17d4 Set "no_log" for "databases user and setting permissions" tasks
At the moment the "databases user and setting permissions" task for
designate and nova leaks the database_password because of the use
of with_items:

---snip---
TASK [nova : Creating Nova databases user and setting permissions] *********************************************************
ok: [x -> y] => (item={u'database_password': u'password', u'database_name': u'nova', u'database_username': u'nova'})
ok: [x -> y] => (item={u'database_password': u'password', u'database_name': u'nova_cell0', u'database_username': u'nova'})
ok: [x -> y] => (item={u'database_password': u'password', u'database_name': u'nova_api', u'database_username': u'nova_api'})
---snap---

Change-Id: I141e4153223c8772c82a31d81e58057ce266c0b9
Co-authored-by: Bernd Müller <mueller@b1-systems.de>
2018-11-19 11:10:41 +00:00
Zuul
b5cf164cfb Merge "add monitoring of zookeeper" 2018-11-19 03:59:51 +00:00
jacky06
1f30414807 Update the openstack_release
Change-Id: Ia1b29ca85e8ddb4d9bc740888d92bb2378a44fbf
Closes-Bug: #1803874
2018-11-18 09:07:57 -05:00
Zuul
8f3a5fdc41 Merge "Replacing the HTTP protocal with HTTPS" 2018-11-16 10:02:39 +00:00
zhouxinyong
a3da494883 Replacing the HTTP protocal with HTTPS
Change-Id: Ib0ef21f23a8b54d43278454bbd6ed6bde419c5f0
2018-11-15 13:09:23 +00:00
Zuul
b4f7375023 Merge "Disable ceph osd crush update on start in default" 2018-11-14 10:29:54 +00:00
Zuul
9346cd2381 Merge "Update docs for monasca-grafana" 2018-11-13 15:18:41 +00:00
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
pangliye
22d3857ce7 add monitoring of zookeeper
add monitoring of zookeeper

Change-Id: I1db23b67dd8f83f9341a376d9cd2d9a49abd4427
2018-11-13 03:46:20 +00:00
Zuul
cb77c20fb2 Merge "Add monitoring of redis" 2018-11-12 16:03:52 +00:00
Zuul
df636a756e Merge "Edit document for cinder guide" 2018-11-12 14:14:01 +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
Zuul
0ad1b64c6d Merge "Update min tox version to 2.0" 2018-11-12 13:43:13 +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
0bc44c9ae9 Merge "Refactor tests/templates/globals.yml" 2018-11-08 16:33:18 +00:00
Zuul
f1bcea7eab Merge "Collect StatsD metrics from Monasca services" 2018-11-08 10:50:34 +00:00
Eduardo Gonzalez
26af377a3b Refactor tests/templates/globals.yml
Improve where openstack services are deployed
to a variable, so we will avoid many conditions
when more CI jobs are added with different configs.
Heat is enabled by default in globals.yml, lets deploy it
at least.

Change-Id: If0f009cf434c3ed5874b3171d8c75911ef8e4be1
2018-11-08 10:15:38 +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
Zuul
23206de8ea Merge "Add action plugins and modules to coverage report" 2018-11-08 05:19:33 +00:00
Zuul
20cef90841 Merge "Add logs_dir to kolla-ansible CI jobs" 2018-11-08 05:19:32 +00:00
letrangg
1c99957794 Edit document for cinder guide
This comment is to remind those who use Kolla to deploy Cinder
of bug #1631072 (https://bugs.launchpad.net/kolla/+bug/1631072),
in which the folder /sys/kernel/config is either empty
or not created in several operating systems.

Related-Bug: #1631072
Change-Id: Ieef9a8292dbac32e8c11aa2916fce3a133732160
2018-11-08 02:11:10 +00:00
Zuul
0e7697505b Merge "Merge the merge_yaml and merge_config module into one" 2018-11-07 22:52:14 +00:00
Doug Szumski
8935f28eb3 Update docs for monasca-grafana
Since the monasca-grafana image was added, it is no longer
necessary to build the grafana image. The monasca-grafana
images will be built with the other monasca images.

Change-Id: I0f6bdb58e6d0abadf59155f01c9340110e9be9ce
2018-11-07 20:24:57 +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
Michal Nasiadka
9257c18469 Add logs_dir to kolla-ansible CI jobs
Change-Id: Ie3efb4d5de046ba90a72e2d722130a685c4fcabf
2018-11-07 20:30:18 +01:00
Doug Szumski
2e629ea866 Add Monasca quickstart guide
Add a quickstart guide to get users going with Monasca and fix a couple
of nits in the documentation.

Partially-Implements: blueprint monasca-roles
Change-Id: Ic4f95f04ce966fc38ecccfba59439b73ef22bcda
2018-11-07 18:16:50 +00:00
Zuul
05cf25ccea Merge "Add support for deploying Monasca Grafana" 2018-11-07 15:54:29 +00:00