9731 Commits

Author SHA1 Message Date
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
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
6695c99cf9 Merge "Enable Kibana if Monasca enabled" 2018-11-07 14:26:44 +00:00
Zuul
73b3cfbf37 Merge "Add missing project name for Monasca" 2018-11-07 14:26:43 +00:00
Zuul
2ca61bcbe3 Merge "Add documentation for Monasca standalone deployment" 2018-11-07 13:35:38 +00:00
Zuul
1b300cccc3 Merge "Support external Keystone in Monasca" 2018-11-07 12:19:07 +00:00
Zuul
f114c2f839 Merge "Add cover job" 2018-11-07 11:18:14 +00:00
Zuul
75144c9476 Merge "Refactor CI testing scripts" 2018-11-07 10:13:32 +00:00
Mark Goddard
c9c7f3dc89 Add action plugins and modules to coverage report
Currently, the coverage report only includes the kolla_ansible python
module, which only includes the kolla-genpwd command, and that is not
tested.

Change-Id: I16f0e9e0f47914b7ce24bbb515d59e4750228821
2018-11-07 10:02:44 +00:00
Nguyen Hai Truong
f783505e6f Add cover job
Insert python coverage job for py-test.

Change-Id: Ic7940b6318de07fed64c9f63ea0db1f2b6fe8a3d
2018-11-06 20:37:27 -08:00
Zuul
77bcefdbac Merge "Support deploying storm worker and storm nimbus separately" 2018-11-06 20:21:33 +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
Eduardo Gonzalez
db4e25836d Deploy mistral-event-engine service
This PS adds deployment of mistral-event-engine service
within mistral role.

Change-Id: If187e1a49a321d1e85fb3cfff2ea037e567b30dc
2018-11-06 17:50:54 +00:00
Mark Goddard
f92de48c28 Refactor CI testing scripts
This change is intended to ease the addition of new test scenarios, by
splitting the existing setup_gate.sh script up into several smaller
scripts. We may wish to further break these scripts up in future,
depending on the requirements of new test jobs.

Change-Id: Ifa442ac79a54f749c56d20f5f7383c3852d95268
2018-11-06 16:43:19 +00:00
Zuul
f941d47dcb Merge "Don't use 'become' in CI tests" 2018-11-06 16:31:25 +00:00
Zuul
715e7ca424 Merge "Add python 3.6 unit test job" 2018-11-06 16:18:51 +00:00
Zuul
fa76221d21 Merge "Remove stestr from requirements.txt" 2018-11-06 16:13:24 +00:00
Zuul
1cb23bd5f5 Merge "Remove deprecated compute groups" 2018-11-06 16:13:23 +00:00
Doug Szumski
0cc175ac12 Support deploying storm worker and storm nimbus separately
This allows storm worker and nimbus services to be deployed on
separate hosts.

Change-Id: Icb990d289fbfb4d8f782c255fc50d092964384f7
2018-11-06 14:54:20 +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
Mark Goddard
7ebf548ff3 Set ramdisk logs path for ironic inspector
If the [processing] ramdisk_logs_dir option is set, logs returned by the
ironic inspection ramdisk following hardware inspection will be stored
at that location. This enables easier debugging if inspection fails.

Change-Id: I36bdf75c04b088b67b5f54fdf20251c10bdddb63
2018-11-06 11:22:55 +00:00
wanghui
476a88052a Remove stestr from requirements.txt
The stestr requirement has been added to test-requirements.txt

Change-Id: Id68e542ebc64a8d70e230b1c6a31f1df903fca62
2018-11-06 19:13:27 +08:00
Zuul
c9a4d749f4 Merge "Support merging nested yaml config" 2018-11-06 10:26:28 +00:00
Nguyen Hai Truong
aae1b1d0a0 Add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I51f9d000469a6d92f72cc2c732b8763f35cb0c2c
2018-11-06 01:56:15 -08:00
Doug Szumski
badb41a49c Support merging nested yaml config
Closes-Bug: 1786741
Change-Id: Ic217f3f8194cdcb5e28045e771a0160c1f12280e
2018-11-05 18:09:22 +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
Zuul
5f323afe9a Merge "Fix POST_FAILURE in CI when ARA DB doesn't exist" 2018-11-05 11:12:24 +00:00
Jeffrey Zhang
6db3f9f342 Disable ceph osd crush update on start in default
The buggy come from ceph changes[0], which is included since ceph osd
v11.0.0. The `osd crush update on start` logical is moved from
`ceph-osd-prestart.sh` to ceph-osd startup process. So ceph-osd will
create buckets by node hostname automatically. Whereas, kolla is
creating buckets by node ip

For the less confused and ceph upgrade impact, disable `osd crush update
on start` is a better choice

[0] a28b71e3c9

Change-Id: Ibbeac9505c9957319126267dbe6bd7a2cac11f0c
Closes-Bug: #1801662
2018-11-05 15:11:05 +08:00
Rabi Mishra
48bae90e8f Don't allocate pseudo-TTY when creating containers
With a pseudo terminal, service is not treated as a daemon
and signals would not work as expected.

Change-Id: I16aa29a7924df51659d973a81d8005ae3d86f57b
Related-Bug: #1799642
2018-11-03 22:35:20 +05:30
Jeffrey Zhang
6191c775c1 Ensure keystone endpoint is updatable
Change-Id: Ia4ec794bb2b18aca2592b62a35066c237192a0f3
2018-11-03 00:18:33 +00: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
c7aabfdfe8 Enable Kibana if Monasca enabled
Monasca uses Kibana for viewing and searching logs. A future commit
will add support for the Monasca Kibana plugin to provide tenant
scoped access to logs.

Partially-Implements: blueprint monasca-roles
Change-Id: I42b6a35f9a526ef41ff3d7cfac140fbc5596a524
2018-11-02 13:04:06 +00:00